| Modifier and Type | Method and Description |
|---|---|
XSTokenRequest |
XSTokenRequest.setAdditionalAuthorizationAttributes(Map<String,String> additionalAuthorizationAttributes)
Sets the requested additional authorization attributes list for this token
request.
|
XSTokenRequest |
XSTokenRequest.setClientId(String clientId)
Sets the OAuth 2.0 client ID to be used for authentication during the token
request
|
XSTokenRequest |
XSTokenRequest.setClientSecret(String clientSecret)
Sets the OAuth 2.0 client secret to be used for authentication during the
token request
|
XSTokenRequest |
XSTokenRequest.setTokenEndpoint(URI tokenEndpoint)
Set the token endpoint URI
|
XSTokenRequest |
XSTokenRequest.setType(int type)
Set the requested token type
|
| Modifier and Type | Method and Description |
|---|---|
String |
XSUserInfo.requestToken(XSTokenRequest tokenRequest)
Deprecated.
can be replaced with token flows from the token-client library.
For client credentials flow you can also use
XSUserInfo.requestTokenForClient(String, String, String). Will be
removed with version 3.0.0. |
Copyright © 2020. All rights reserved.