@FunctionalInterface
public interface ReactiveJwtDecoder
Jwt.
JWTs may be represented using the JWS Compact Serialization format for a JSON Web Signature (JWS) structure or JWE Compact Serialization format for a JSON Web Encryption (JWE) structure. Therefore, implementors are responsible for verifying a JWS and/or decrypting a JWE.
Jwt,
JSON Web Token
(JWT),
JSON Web Signature
(JWS),
JSON Web Encryption
(JWE),
JWS
Compact Serialization,
JWE
Compact Serialization| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<Jwt> |
decode(java.lang.String token)
Decodes the JWT from it's compact claims representation format and returns a
Jwt. |
reactor.core.publisher.Mono<Jwt> decode(java.lang.String token) throws JwtException
Jwt.token - the JWT valueJwtJwtException - if an error occurs while attempting to decode the JWT