List of usage examples for org.springframework.security.oauth2.jwt NimbusJwtDecoderJwkSupport NimbusJwtDecoderJwkSupport
public NimbusJwtDecoderJwkSupport(String jwkSetUrl, String jwsAlgorithm)
From source file:org.springframework.cloud.gcp.autoconfigure.security.IapAuthenticationAutoConfiguration.java
@Bean @ConditionalOnMissingBean// ww w . ja va2s . c o m public JwtDecoder iapJwtDecoder(IapAuthenticationProperties properties, @Qualifier("iapJwtDelegatingValidator") DelegatingOAuth2TokenValidator<Jwt> validator) { NimbusJwtDecoderJwkSupport jwkSupport = new NimbusJwtDecoderJwkSupport(properties.getRegistry(), properties.getAlgorithm()); jwkSupport.setJwtValidator(validator); return jwkSupport; }