Class FirebaseAuthenticationAutoConfiguration
java.lang.Object
com.google.cloud.spring.autoconfigure.security.FirebaseAuthenticationAutoConfiguration
@AutoConfiguration
@ConditionalOnClass(FirebaseTokenValidator.class)
@ConditionalOnProperty(value="spring.cloud.gcp.security.firebase.enabled",
matchIfMissing=true)
@AutoConfigureBefore(org.springframework.boot.autoconfigure.security.oauth2.resource.servlet.OAuth2ResourceServerAutoConfiguration.class)
@AutoConfigureAfter(GcpContextAutoConfiguration.class)
@EnableConfigurationProperties(FirebaseAuthenticationProperties.class)
public class FirebaseAuthenticationAutoConfiguration
extends Object
- Since:
- 1.2.2
-
Constructor Summary
ConstructorDescriptionFirebaseAuthenticationAutoConfiguration
(GcpProjectIdProvider gcpProjectIdProvider, FirebaseAuthenticationProperties properties) -
Method Summary
Modifier and TypeMethodDescriptionorg.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)
-
Constructor Details
-
FirebaseAuthenticationAutoConfiguration
public FirebaseAuthenticationAutoConfiguration(GcpProjectIdProvider gcpProjectIdProvider, FirebaseAuthenticationProperties properties)
-
-
Method Details
-
firebaseJwtDelegatingValidator
@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) -
firebaseAuthenticationJwtDecoder
@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) -
jwtIssuerValidator
@Bean public org.springframework.security.oauth2.jwt.JwtIssuerValidator jwtIssuerValidator(GcpProjectIdProvider gcpProjectIdProvider)
-