com.sap.cloud.security.token.TokenHeader Maven / Gradle / Ivy
The newest version!
/**
* SPDX-FileCopyrightText: 2018-2023 SAP SE or an SAP affiliate company and Cloud Security Client Java contributors
*
* SPDX-License-Identifier: Apache-2.0
*/
package com.sap.cloud.security.token;
/**
* Constants denoting Jwt header parameters. https://tools.ietf.org/html/rfc7515#section-4
*/
public final class TokenHeader {
private TokenHeader() {
throw new IllegalStateException("Utility class");
}
public static final String ALGORITHM = "alg"; // Algorithm Header Parameter
public static final String JWKS_URL = "jku"; // JWK Set URL Header Parameter
public static final String KEY_ID = "kid"; // Key ID Header Parameter
public static final String TYPE = "typ"; // Type Header Parameter
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy