public final class IssuerExtractor extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getIssuer(String encodedJwt)
Returns Json Web Token Issuer claim value.
|
public static String getIssuer(String encodedJwt) throws org.jose4j.jwt.consumer.InvalidJwtException, org.jose4j.jwt.MalformedClaimException
encodedJwt
- CompactSerialized Json Web Token.org.jose4j.jwt.consumer.InvalidJwtException
- if encoded JWT is invalidorg.jose4j.jwt.MalformedClaimException
- if a problem arose processing token claims.