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

com.sap.cloud.security.xsuaa.token.TokenClaims Maven / Gradle / Ivy

There is a newer version: 3.5.9
Show 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.xsuaa.token; public final class TokenClaims { private TokenClaims() { throw new IllegalStateException("Utility class"); } public static final String CLAIM_XS_USER_ATTRIBUTES = "xs.user.attributes"; public static final String CLAIM_SCOPES = "scope"; /** * @deprecated avoid using directly, make use of Token#getClientId() instead */ @Deprecated public static final String CLAIM_CLIENT_ID = "cid"; public static final String CLAIM_AUTHORIZATION_PARTY = "azp"; public static final String CLAIM_USER_NAME = "user_name"; public static final String CLAIM_GIVEN_NAME = "given_name"; public static final String CLAIM_FAMILY_NAME = "family_name"; public static final String CLAIM_EMAIL = "email"; public static final String CLAIM_ORIGIN = "origin"; public static final String CLAIM_GRANT_TYPE = "grant_type"; public static final String CLAIM_ZDN = "zdn"; public static final String CLAIM_ZONE_ID = "zid"; public static final String CLAIM_ISSUER = "iss"; public static final String CLAIM_JKU = "jku"; public static final String CLAIM_KID = "kid"; /** * IAS applications provide this attribute if the user was authenticated via an OIDC trust to an IAS tenant and if * the user actually has a user UUID. This is true if the user physically exists in the IAS user store and IAS is * not a pure proxy which simply forwards all information from the corporate IdP. */ public static final String SAP_GLOBAL_USER_ID = "user_uuid"; }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy