All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.auth0.jwt.HeaderParams Maven / Gradle / Ivy

There is a newer version: 4.4.0
Show newest version
package com.auth0.jwt;

/**
 * Contains constants representing the JWT header parameter names.
 */
public final class HeaderParams {

    private HeaderParams() {}

    /**
     * The algorithm used to sign a JWT.
     */
    public static final String ALGORITHM = "alg";

    /**
     * The content type of the JWT.
     */
    public static final String CONTENT_TYPE = "cty";

    /**
     * The media type of the JWT.
     */
    public static final String TYPE = "typ";

    /**
     * The key ID of a JWT used to specify the key for signature validation.
     */
    public static final String KEY_ID = "kid";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy