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 aJwtDecoderusing the supplied "contextual" type.voidsetJwtValidatorFactory(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:JwtDecoderFactoryCreates aJwtDecoderusing the supplied "contextual" type.- Specified by:
createDecoderin interfaceJwtDecoderFactory<DPoPProofContext>- Parameters:
dPoPProofContext- the type that provides contextual information- Returns:
- a
JwtDecoder
-
setJwtValidatorFactory
public void setJwtValidatorFactory(Function<DPoPProofContext, OAuth2TokenValidator<Jwt>> jwtValidatorFactory)
-