Top Constructors Methods
org.keycloak.jose

public Class JOSEParser

extends Object
Class Inheritance
Imports
java.io.IOException, com.fasterxml.jackson.databind.JsonNode, org.keycloak.common.util.Base64Url, org.keycloak.jose.jwe.JWE, org.keycloak.jose.jws.JWSInput, .JWSInputException, org.keycloak.util.JsonSerialization

Author
Pedro Igor

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static JOSE

Returns:

a JOSE
parse
(String
the encoded JWT
jwt
)

Parses the given encoded jwt and returns either a JWSInput or JWE depending on the JOSE header configuration.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

JOSEParserback to summary
public JOSEParser()

Method Detail

parseback to summary
public static JOSE parse(String jwt)

Parses the given encoded jwt and returns either a JWSInput or JWE depending on the JOSE header configuration.

Parameters
jwt:String

the encoded JWT

Returns:JOSE

a JOSE