Interface JwtDecoderFactory<C>
- Type Parameters:
C- The type that provides contextual information used to create a specificJwtDecoder.
- 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.
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 TypeMethodDescriptioncreateDecoder(C context) Creates aJwtDecoderusing the supplied "contextual" type.
-
Method Details
-
createDecoder
Creates aJwtDecoderusing the supplied "contextual" type.- Parameters:
context- the type that provides contextual information- Returns:
- a
JwtDecoder
-