Class OAuthAutoConfiguration
java.lang.Object
com.github.catomat0.oauthhelper.oauth.autoconfigure.OAuthAutoConfiguration
@AutoConfiguration(after=org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration.class)
@ConditionalOnClass(org.springframework.web.client.RestClient.class)
@EnableConfigurationProperties(OahProperties.class)
public class OAuthAutoConfiguration
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionoauthAuthorizeUrlBuilder(OahProperties properties) oauthLoginService(OahTokenClient tokenClient, OahUserInfoClient userInfoClient) org.springframework.web.client.RestClientoauthRestClient(OahProperties properties) oauthTokenClient(org.springframework.web.client.RestClient oauthRestClient, OahProperties properties) oauthUserInfoClient(org.springframework.web.client.RestClient oauthRestClient, OahProperties properties)
-
Constructor Details
-
OAuthAutoConfiguration
public OAuthAutoConfiguration()
-
-
Method Details
-
oauthRestClient
@Bean("oauthRestClient") @ConditionalOnMissingBean(name="oauthRestClient") public org.springframework.web.client.RestClient oauthRestClient(OahProperties properties) -
oauthTokenClient
@Bean @ConditionalOnMissingBean public OahTokenClient oauthTokenClient(org.springframework.web.client.RestClient oauthRestClient, OahProperties properties) -
oauthUserInfoClient
@Bean @ConditionalOnMissingBean public OahUserInfoClient oauthUserInfoClient(org.springframework.web.client.RestClient oauthRestClient, OahProperties properties) -
oauthLoginService
@Bean @ConditionalOnMissingBean public OahLoginService oauthLoginService(OahTokenClient tokenClient, OahUserInfoClient userInfoClient) -
oauthAuthorizeUrlBuilder
@Bean @ConditionalOnMissingBean public OahAuthorizeUrlBuilder oauthAuthorizeUrlBuilder(OahProperties properties)
-