| Modifier and Type | Method and Description |
|---|---|
boolean |
XSUserInfo.checkLocalScope(String scope)
Check if a local scope is available in the authentication token
|
boolean |
XSUserInfo.checkScope(String scope)
Check if a scope is present in the authentication token
|
String |
XSUserInfo.getAdditionalAuthAttribute(String attributeName)
Return additional authentication attributes included by the OAuth client
component.
|
String[] |
XSUserInfo.getAttribute(String attributeName)
Return user attributes
|
String |
XSUserInfo.getClientId()
Return the client id of the authentication token
|
String |
XSUserInfo.getCloneServiceInstanceId()
In case of xsuaa broker plan tokens, it contains the service instance id
|
String |
XSUserInfo.getDBToken()
Deprecated.
|
String |
XSUserInfo.getEmail()
Return the email of the user
|
String |
XSUserInfo.getFamilyName()
Familiy name of the user.
|
String |
XSUserInfo.getGivenName()
Given name of the user.
|
String |
XSUserInfo.getGrantType()
OAuth Grant Type used for this token
|
String |
XSUserInfo.getHdbToken() |
String |
XSUserInfo.getIdentityZone()
Return identity zone
|
String |
XSUserInfo.getJsonValue(String attribute)
Deprecated.
|
String |
XSUserInfo.getLogonName()
User name used for authentication, e.g.
|
String |
XSUserInfo.getOrigin()
Return the user origin.
|
String |
XSUserInfo.getSubaccountId()
Return subaccount identifier
|
String |
XSUserInfo.getSubdomain()
Return the subdomain of this subaccount
|
String[] |
XSUserInfo.getSystemAttribute(String attributeName)
Deprecated.
|
String |
XSUserInfo.getToken(String namespace,
String name)
Deprecated.
|
boolean |
XSUserInfo.hasAttributes()
Check if the authentication token contains user attributes
|
boolean |
XSUserInfo.isInForeignMode()
Check if a token issued for another OAuth client has been forwarded to a
different client,
|
String |
XSUserInfo.requestToken(XSTokenRequest tokenRequest)
Exchange a token into a token from another service instance
|
String |
XSUserInfo.requestTokenForClient(String clientId,
String clientSecret,
String uaaUrl)
Deprecated.
|
Copyright © 2019. All rights reserved.