Interface JwtDecoderFactory<C>

Type Parameters:
C - The type that provides contextual information used to create a specific JwtDecoder.
All Known Implementing Classes:
OidcIdTokenDecoderFactory
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface 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:
  • Method Summary

    Modifier and Type
    Method
    Description
    createDecoder(C context)
    Creates a JwtDecoder using the supplied "contextual" type.
  • Method Details

    • createDecoder

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