Class DPoPProofJwtDecoderFactory
java.lang.Object
org.springframework.security.oauth2.jwt.DPoPProofJwtDecoderFactory
- All Implemented Interfaces:
JwtDecoderFactory<DPoPProofContext>
public final class DPoPProofJwtDecoderFactory
extends Object
implements JwtDecoderFactory<DPoPProofContext>
- Since:
- 6.5
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Function<DPoPProofContext,
OAuth2TokenValidator<Jwt>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateDecoder
(DPoPProofContext dPoPProofContext) Creates aJwtDecoder
using the supplied "contextual" type.void
setJwtValidatorFactory
(Function<DPoPProofContext, OAuth2TokenValidator<Jwt>> jwtValidatorFactory)
-
Field Details
-
DEFAULT_JWT_VALIDATOR_FACTORY
public static final Function<DPoPProofContext,OAuth2TokenValidator<Jwt>> DEFAULT_JWT_VALIDATOR_FACTORY
-
-
Constructor Details
-
DPoPProofJwtDecoderFactory
public DPoPProofJwtDecoderFactory()
-
-
Method Details
-
createDecoder
Description copied from interface:JwtDecoderFactory
Creates aJwtDecoder
using the supplied "contextual" type.- Specified by:
createDecoder
in interfaceJwtDecoderFactory<DPoPProofContext>
- Parameters:
dPoPProofContext
- the type that provides contextual information- Returns:
- a
JwtDecoder
-
setJwtValidatorFactory
public void setJwtValidatorFactory(Function<DPoPProofContext, OAuth2TokenValidator<Jwt>> jwtValidatorFactory)
-