xsuaaToken.hasLocalScope(scope) from
the com.sap.cloud.security.token package.xsuaaToken.hasScope(scope) from the
com.sap.cloud.security.token package.token.getAccessToken() from the
com.sap.cloud.security.token package.token.getClaimAsString(TokenClaims.XSUAA.CLIENT_ID) from
the com.sap.cloud.security.token package.XSUserInfoAdapter from the
com.sap.cloud.security.adapter.xs package.XSUserInfo.getHdbToken() instead.token.getClaimAsString(TokenClaims.EMAIL) from the
com.sap.cloud.security.token package.token.getClaimAsString(TokenClaims.FAMILY_NAME) from the
com.sap.cloud.security.token package. Only if it is not
an external attribute.token.getClaimAsString(TokenClaims.GIVEN_NAME) from the
com.sap.cloud.security.token package. Only if it is not
an external attribute.token.getGrantType() from the
com.sap.cloud.security.token package. This will give you
a GrantType enum entry on which you can call
toString to obtain the grant type as string, e.g.
"client_credentials".XSUserInfoAdapter from the
com.sap.cloud.security.adapter.xs package.XSUserInfo.getZoneId() or
XSUserInfo.getSubaccountId().token.getClaimAsString(attribute)
from the com.sap.cloud.security.token package.token.getClaimAsString(TokenClaims.USER_NAME) from the
com.sap.cloud.security.token package or with
token.getPrincipal().token.getClaimAsString(TokenClaims.XSUAA.ORIGIN) from the
com.sap.cloud.security.token package.XSUserInfoAdapter from the
com.sap.cloud.security.adapter.xs package.XSUserInfoAdapter from the
com.sap.cloud.security.adapter.xs package.XSUserInfo.getHdbToken() instead.token.getZoneId() from the
com.sap.cloud.security.token package.Copyright © 2021. All rights reserved.