public class ObtainTokenRequest extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ObtainTokenRequest.Builder
Class to build instances of
ObtainTokenRequest. |
| Constructor and Description |
|---|
ObtainTokenRequest(String clientId,
String clientSecret,
String grantType,
String code,
String redirectUri,
String refreshToken,
String migrationToken,
List<String> scopes,
Boolean shortLived)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getClientId()
Getter for ClientId.
|
String |
getClientSecret()
Getter for ClientSecret.
|
String |
getCode()
Getter for Code.
|
String |
getGrantType()
Getter for GrantType.
|
String |
getMigrationToken()
Getter for MigrationToken.
|
String |
getRedirectUri()
Getter for RedirectUri.
|
String |
getRefreshToken()
Getter for RefreshToken.
|
List<String> |
getScopes()
Getter for Scopes.
|
Boolean |
getShortLived()
Getter for ShortLived.
|
int |
hashCode() |
ObtainTokenRequest.Builder |
toBuilder()
Builds a new
ObtainTokenRequest.Builder object. |
String |
toString()
Converts this ObtainTokenRequest into string format.
|
public ObtainTokenRequest(String clientId, String clientSecret, String grantType, String code, String redirectUri, String refreshToken, String migrationToken, List<String> scopes, Boolean shortLived)
clientId - String value for clientId.clientSecret - String value for clientSecret.grantType - String value for grantType.code - String value for code.redirectUri - String value for redirectUri.refreshToken - String value for refreshToken.migrationToken - String value for migrationToken.scopes - List of String value for scopes.shortLived - Boolean value for shortLived.public String getClientId()
public String getClientSecret()
public String getCode()
public String getRedirectUri()
public String getGrantType()
public String getRefreshToken()
public String getMigrationToken()
public List<String> getScopes()
public Boolean getShortLived()
public String toString()
public ObtainTokenRequest.Builder toBuilder()
ObtainTokenRequest.Builder object.
Creates the instance with the state of the current model.ObtainTokenRequest.Builder objectCopyright © 2022. All rights reserved.