public class XSUserInfoAdapter extends Object implements XSUserInfo
| Constructor and Description |
|---|
XSUserInfoAdapter(AccessToken accessToken) |
XSUserInfoAdapter(Token accessToken) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkLocalScope(String scope) |
boolean |
checkScope(String scope) |
String |
getAdditionalAuthAttribute(String attributeName) |
String |
getAppToken() |
String[] |
getAttribute(String attributeName) |
String |
getClientId() |
String |
getCloneServiceInstanceId() |
String |
getDBToken() |
String |
getEmail() |
String |
getFamilyName() |
String |
getGivenName() |
String |
getGrantType() |
String |
getHdbToken() |
String |
getIdentityZone() |
String |
getJsonValue(String attribute) |
String |
getLogonName() |
String |
getOrigin() |
String |
getSubaccountId() |
String |
getSubdomain() |
String[] |
getSystemAttribute(String attributeName) |
String |
getToken(String namespace,
String name) |
boolean |
hasAttributes() |
boolean |
isInForeignMode()
Check if a token issued for another OAuth client has been forwarded to a
different client,
|
String |
requestToken(XSTokenRequest tokenRequest) |
String |
requestTokenForClient(String clientId,
String clientSecret,
String uaaUrl) |
public XSUserInfoAdapter(Token accessToken) throws XSUserInfoException
XSUserInfoExceptionpublic XSUserInfoAdapter(AccessToken accessToken) throws XSUserInfoException
XSUserInfoExceptionpublic String getLogonName() throws XSUserInfoException
getLogonName in interface XSUserInfoXSUserInfoExceptionpublic String getGivenName() throws XSUserInfoException
getGivenName in interface XSUserInfoXSUserInfoExceptionpublic String getFamilyName() throws XSUserInfoException
getFamilyName in interface XSUserInfoXSUserInfoExceptionpublic String getOrigin() throws XSUserInfoException
getOrigin in interface XSUserInfoXSUserInfoExceptionpublic String getIdentityZone() throws XSUserInfoException
getIdentityZone in interface XSUserInfoXSUserInfoExceptionpublic String getSubaccountId() throws XSUserInfoException
getSubaccountId in interface XSUserInfoXSUserInfoExceptionpublic String getSubdomain() throws XSUserInfoException
getSubdomain in interface XSUserInfoXSUserInfoExceptionpublic String getClientId() throws XSUserInfoException
getClientId in interface XSUserInfoXSUserInfoExceptionpublic String getJsonValue(String attribute) throws XSUserInfoException
getJsonValue in interface XSUserInfoXSUserInfoExceptionpublic String getEmail() throws XSUserInfoException
getEmail in interface XSUserInfoXSUserInfoExceptionpublic String getDBToken() throws XSUserInfoException
getDBToken in interface XSUserInfoXSUserInfoExceptionpublic String getHdbToken() throws XSUserInfoException
getHdbToken in interface XSUserInfoXSUserInfoExceptionpublic String getAppToken()
getAppToken in interface XSUserInfopublic String getToken(String namespace, String name) throws XSUserInfoException
getToken in interface XSUserInfoXSUserInfoExceptionpublic String[] getAttribute(String attributeName) throws XSUserInfoException
getAttribute in interface XSUserInfoXSUserInfoExceptionpublic boolean hasAttributes()
throws XSUserInfoException
hasAttributes in interface XSUserInfoXSUserInfoExceptionpublic String[] getSystemAttribute(String attributeName) throws XSUserInfoException
getSystemAttribute in interface XSUserInfoXSUserInfoExceptionpublic boolean checkScope(String scope) throws XSUserInfoException
checkScope in interface XSUserInfoXSUserInfoExceptionpublic boolean checkLocalScope(String scope) throws XSUserInfoException
checkLocalScope in interface XSUserInfoXSUserInfoExceptionpublic String getAdditionalAuthAttribute(String attributeName) throws XSUserInfoException
getAdditionalAuthAttribute in interface XSUserInfoXSUserInfoExceptionpublic String getCloneServiceInstanceId() throws XSUserInfoException
getCloneServiceInstanceId in interface XSUserInfoXSUserInfoExceptionpublic String getGrantType() throws XSUserInfoException
getGrantType in interface XSUserInfoXSUserInfoExceptionpublic boolean isInForeignMode()
isInForeignMode in interface XSUserInfopublic String requestTokenForClient(String clientId, String clientSecret, String uaaUrl)
requestTokenForClient in interface XSUserInfopublic String requestToken(XSTokenRequest tokenRequest) throws XSUserInfoException
requestToken in interface XSUserInfoXSUserInfoExceptionCopyright © 2020. All rights reserved.