@Configuration public static class OAuth2GranterAutoConfiguration.OAuth2GranterConfiguration extends Object
| 构造器和说明 |
|---|
OAuth2GranterConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.hswebframework.web.authorization.oauth2.server.support.code.AuthorizationCodeGranter |
authorizationCodeGranter() |
org.hswebframework.web.authorization.oauth2.server.support.client.ClientCredentialGranter |
clientCredentialGranter() |
org.hswebframework.web.authorization.oauth2.server.support.implicit.ImplicitGranter |
implicitGranter() |
org.hswebframework.web.authorization.oauth2.server.support.password.PasswordGranter |
passwordGranter() |
org.hswebframework.web.authorization.oauth2.server.support.refresh.RefreshTokenGranter |
refreshTokenGranter() |
@Bean @ConditionalOnMissingBean(value=org.hswebframework.web.authorization.oauth2.server.support.code.AuthorizationCodeGranter.class) public org.hswebframework.web.authorization.oauth2.server.support.code.AuthorizationCodeGranter authorizationCodeGranter()
@Bean @ConditionalOnMissingBean(value=org.hswebframework.web.authorization.oauth2.server.support.client.ClientCredentialGranter.class) public org.hswebframework.web.authorization.oauth2.server.support.client.ClientCredentialGranter clientCredentialGranter()
@Bean @ConditionalOnMissingBean(value=org.hswebframework.web.authorization.oauth2.server.support.password.PasswordGranter.class) public org.hswebframework.web.authorization.oauth2.server.support.password.PasswordGranter passwordGranter()
@Bean @ConditionalOnMissingBean(value=org.hswebframework.web.authorization.oauth2.server.support.implicit.ImplicitGranter.class) public org.hswebframework.web.authorization.oauth2.server.support.implicit.ImplicitGranter implicitGranter()
@Bean @ConditionalOnMissingBean(value=org.hswebframework.web.authorization.oauth2.server.support.refresh.RefreshTokenGranter.class) @ConfigurationProperties(prefix="hsweb.oauth2.server") public org.hswebframework.web.authorization.oauth2.server.support.refresh.RefreshTokenGranter refreshTokenGranter()
Copyright © 2016–2019. All rights reserved.