Example usage for org.springframework.boot.autoconfigure.security.oauth2.resource UserInfoTokenServices setTokenType

List of usage examples for org.springframework.boot.autoconfigure.security.oauth2.resource UserInfoTokenServices setTokenType

Introduction

In this page you can find the example usage for org.springframework.boot.autoconfigure.security.oauth2.resource UserInfoTokenServices setTokenType.

Prototype

public void setTokenType(String tokenType) 

Source Link

Usage

From source file:com.orange.clara.tool.config.UserInfoTokenServicesConfiguration.java

@Bean
public UserInfoTokenServices userInfoTokenServices() {
    UserInfoTokenServices services = new SsoUserDetailsService(this.sso.getUserInfoUri(),
            this.sso.getClientId());
    services.setRestTemplate(this.restTemplate);
    services.setTokenType(this.sso.getTokenType());
    return services;
}