本文整理汇总了Java中org.springframework.boot.autoconfigure.security.oauth2.OAuth2ClientProperties类的典型用法代码示例。如果您正苦于以下问题:Java OAuth2ClientProperties类的具体用法?Java OAuth2ClientProperties怎么用?Java OAuth2ClientProperties使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
OAuth2ClientProperties类属于org.springframework.boot.autoconfigure.security.oauth2包,在下文中一共展示了OAuth2ClientProperties类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: AuthServerConfiguration
import org.springframework.boot.autoconfigure.security.oauth2.OAuth2ClientProperties; //导入依赖的package包/类
public AuthServerConfiguration(AuthenticationManager authenticationManager,
CertProperties certProperties,
OAuth2ClientProperties oAuth2ClientProperties,
TokenProperties tokenProperties,
ResourceLoader resourceLoader) {
this.authenticationManager = authenticationManager;
this.certProperties = certProperties;
this.oAuth2ClientProperties = oAuth2ClientProperties;
this.tokenProperties = tokenProperties;
this.resourceLoader = resourceLoader;
}
开发者ID:SopraSteriaGroup,项目名称:initiatives_backend_auth,代码行数:12,代码来源:AuthServerConfiguration.java
示例2: ClientDetailsLogger
import org.springframework.boot.autoconfigure.security.oauth2.OAuth2ClientProperties; //导入依赖的package包/类
protected ClientDetailsLogger(OAuth2ClientProperties credentials) {
this.credentials = credentials;
}
开发者ID:spring-projects,项目名称:spring-security-oauth2-boot,代码行数:4,代码来源:OAuth2AuthorizationServerConfiguration.java
示例3: BaseClientDetailsConfiguration
import org.springframework.boot.autoconfigure.security.oauth2.OAuth2ClientProperties; //导入依赖的package包/类
protected BaseClientDetailsConfiguration(OAuth2ClientProperties client) {
this.client = client;
}
开发者ID:spring-projects,项目名称:spring-security-oauth2-boot,代码行数:4,代码来源:OAuth2AuthorizationServerConfiguration.java
示例4: ResourceServerPropertiesConfiguration
import org.springframework.boot.autoconfigure.security.oauth2.OAuth2ClientProperties; //导入依赖的package包/类
public ResourceServerPropertiesConfiguration(OAuth2ClientProperties credentials) {
this.credentials = credentials;
}
开发者ID:spring-projects,项目名称:spring-security-oauth2-boot,代码行数:4,代码来源:ResourceServerTokenServicesConfigurationTests.java
示例5: TokenService
import org.springframework.boot.autoconfigure.security.oauth2.OAuth2ClientProperties; //导入依赖的package包/类
public TokenService(OAuth2ClientProperties oAuth2ClientProperties, SSOProperties ssoProperties) {
this.oAuth2ClientProperties = oAuth2ClientProperties;
this.ssoProperties = ssoProperties;
}
开发者ID:SopraSteriaGroup,项目名称:initiatives_backend_auth,代码行数:5,代码来源:TokenService.java
示例6: JwtOAuth2AutoConfiguration
import org.springframework.boot.autoconfigure.security.oauth2.OAuth2ClientProperties; //导入依赖的package包/类
public JwtOAuth2AutoConfiguration(ObjectProvider<Clock> clock, OAuth2ClientProperties credentials) {
Clock injectedClock = clock.getIfAvailable();
this.clock = injectedClock != null ? injectedClock : Clock.systemDefaultZone();
this.credentials = credentials;
}
开发者ID:unbroken-dome,项目名称:jsonwebtoken,代码行数:6,代码来源:JwtOAuth2AutoConfiguration.java
注:本文中的org.springframework.boot.autoconfigure.security.oauth2.OAuth2ClientProperties类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论