@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=FirebaseTokenValidator.class) @ConditionalOnProperty(value="spring.cloud.gcp.security.firebase.enabled", matchIfMissing=true) @AutoConfigureBefore(value=org.springframework.boot.autoconfigure.security.oauth2.resource.servlet.OAuth2ResourceServerAutoConfiguration.class) @AutoConfigureAfter(value=GcpContextAutoConfiguration.class) @EnableConfigurationProperties(value=FirebaseAuthenticationProperties.class) public class FirebaseAuthenticationAutoConfiguration extends Object
Constructor and Description |
---|
FirebaseAuthenticationAutoConfiguration(GcpProjectIdProvider gcpProjectIdProvider,
FirebaseAuthenticationProperties properties) |
Modifier and Type | Method and Description |
---|---|
org.springframework.security.oauth2.jwt.JwtDecoder |
firebaseAuthenticationJwtDecoder(org.springframework.security.oauth2.core.DelegatingOAuth2TokenValidator<org.springframework.security.oauth2.jwt.Jwt> firebaseJwtDelegatingValidator,
FirebaseAuthenticationProperties properties) |
org.springframework.security.oauth2.core.DelegatingOAuth2TokenValidator<org.springframework.security.oauth2.jwt.Jwt> |
firebaseJwtDelegatingValidator(org.springframework.security.oauth2.jwt.JwtIssuerValidator jwtIssuerValidator,
GcpProjectIdProvider gcpProjectIdProvider) |
org.springframework.security.oauth2.jwt.JwtIssuerValidator |
jwtIssuerValidator(GcpProjectIdProvider gcpProjectIdProvider) |
public FirebaseAuthenticationAutoConfiguration(GcpProjectIdProvider gcpProjectIdProvider, FirebaseAuthenticationProperties properties)
@Bean @ConditionalOnMissingBean(name="firebaseJwtDelegatingValidator") public org.springframework.security.oauth2.core.DelegatingOAuth2TokenValidator<org.springframework.security.oauth2.jwt.Jwt> firebaseJwtDelegatingValidator(org.springframework.security.oauth2.jwt.JwtIssuerValidator jwtIssuerValidator, GcpProjectIdProvider gcpProjectIdProvider)
@Bean @ConditionalOnMissingBean(name="firebaseAuthenticationJwtDecoder") public org.springframework.security.oauth2.jwt.JwtDecoder firebaseAuthenticationJwtDecoder(org.springframework.security.oauth2.core.DelegatingOAuth2TokenValidator<org.springframework.security.oauth2.jwt.Jwt> firebaseJwtDelegatingValidator, FirebaseAuthenticationProperties properties)
@Bean public org.springframework.security.oauth2.jwt.JwtIssuerValidator jwtIssuerValidator(GcpProjectIdProvider gcpProjectIdProvider)
Copyright © 2021. All rights reserved.