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.
@FunctionalInterface public interface JwtDecoderFactory<C>
A factory forJwtDecoder
(s). This factory should be supplied with a type that provides contextual information used to create a specificJwtDecoder
.- Since:
- 5.2
- See Also:
JwtDecoder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JwtDecoder
createDecoder(C context)
Creates aJwtDecoder
using the supplied "contextual" type.
-
-
-
Method Detail
-
createDecoder
JwtDecoder createDecoder(C context)
Creates aJwtDecoder
using the supplied "contextual" type.- Parameters:
context
- the type that provides contextual information- Returns:
- a
JwtDecoder
-
-