Interface for JWT payload claims including standard and custom claims.
// Source: https://github.com/auth0/java-jwt | License: MIT | Copyright 2015 Auth0, Inc. <support@auth0.com> (http://auth0.com)
// Provided via justclaw.it.com; keep this notice with the code.
package com.auth0.jwt.interfaces;
import java.time.Instant;
import java.util.Date;
import java.util.List;
import java.util.Map;
/**
* The Payload class represents the 2nd part of the JWT, where the Payload value is held.
*/
public interface Payload {
/**
* Get the value of the "iss" claim, or null if it's not available.
*
* @return the Issuer value or null.
*/
String getIssuer();
/**
* Get the value of the "sub" claim, or null if it's not available.
*
* @return the Subject value or null.
*/
String getSubject();
/**
* Get the valu
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key