Interface JwtDecoderFactory<C>

  • Type Parameters:
    C - The type that provides contextual information used to create a specific JwtDecoder.
    All Known Implementing Classes:
    OidcIdTokenDecoderFactory

    public interface JwtDecoderFactory<C>
    A factory for JwtDecoder(s). This factory should be supplied with a type that provides contextual information used to create a specific JwtDecoder.
    Since:
    5.2
    See Also:
    JwtDecoder
    • Method Detail

      • createDecoder

        JwtDecoder createDecoder​(C context)
        Creates a JwtDecoder using the supplied "contextual" type.
        Parameters:
        context - the type that provides contextual information
        Returns:
        a JwtDecoder