Interface SpringAddonsJwtDecoderFactory

All Known Implementing Classes:
DefaultSpringAddonsJwtDecoderFactory

public interface SpringAddonsJwtDecoderFactory

Provides with a JwtDecoder (configured with the required validators). Both JWK-set and issuer URIs are optional, but at least one should be provided.

DefaultSpringAddonsJwtDecoderFactory, the default implementation uses OpenidProviderPropertiesResolver to resolve the matching OpenID Provider configuration properties and throws an exception if none are found (the token issuer is not trusted).

  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.security.oauth2.jwt.JwtDecoder
    create(Optional<URI> jwkSetUri, Optional<URI> issuer, Optional<String> audience)