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 Details

  • 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)