| Modifier and Type | Field and Description |
|---|---|
static JwkConverter<Jwk<?>> |
ANY |
static Class<Jwk<?>> |
JWK_CLASS |
static JwkConverter<PublicJwk<?>> |
PUBLIC_JWK |
static Class<PublicJwk<?>> |
PUBLIC_JWK_CLASS |
| Constructor and Description |
|---|
JwkConverter(Class<T> desiredType) |
JwkConverter(Class<T> desiredType,
Supplier<DynamicJwkBuilder<?,?>> supplier) |
JwkConverter(Supplier<DynamicJwkBuilder<?,?>> supplier) |
| Modifier and Type | Method and Description |
|---|---|
T |
applyFrom(Object o)
Converts the specified canonical (RFC-compliant data type) value to the preferred Java idiomatic type.
|
Object |
applyTo(T jwk)
Converts the specified (Java idiomatic type) value to the canonical RFC-required data type.
|
public static final JwkConverter<Jwk<?>> ANY
public static final JwkConverter<PublicJwk<?>> PUBLIC_JWK
public JwkConverter(Supplier<DynamicJwkBuilder<?,?>> supplier)
public JwkConverter(Class<T> desiredType, Supplier<DynamicJwkBuilder<?,?>> supplier)
public Object applyTo(T jwk)
ConverterCopyright © 2014–2024 jsonwebtoken.io. All rights reserved.