jwt/RegisteredClaims.java

java-jwt · lib/src/main/java/com/auth0/jwt/RegisteredClaims.java · java · MIT
auth

Constants for standard JWT claim names used in token validation and parsing.

// 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;

/**
 * Contains constants representing the name of the Registered Claim Names as defined in Section 4.1 of
 * <a href="https://datatracker.ietf.org/doc/html/rfc7519#section-4.1">RFC 7529</a>
 */
public final class RegisteredClaims {

    private RegisteredClaims() {
    }

    /**
     * The "iss" (issuer) claim identifies the principal that issued the JWT.
     * Refer RFC 7529 <a href="https://datatracker.ietf.org/doc/html/rfc7519#section-4.1.1">Section 4.1.1</a>
     */
    public static final String ISSUER = "iss";

    /**
     * The "sub" (subject) claim identifies the p

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key