public class CreateAccessTokenRequest extends Object
| Constructor and Description |
|---|
CreateAccessTokenRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateAccessTokenRequest |
clientId(String clientId) |
CreateAccessTokenRequest |
clientSecret(String clientSecret) |
CreateAccessTokenRequest |
code(String code) |
boolean |
equals(Object o) |
String |
getClientId()
Indicate the client making the request for creating access token
|
String |
getClientSecret()
Guid, generated internally during Confidential client registration, required for Confidential client
|
String |
getCode()
Active Authentication code, required if grant_type is authorization_code
|
String |
getGrantType()
Possible values - authorization_code if creating access_token by authorization_code, refresh_token if creating access_token by refresh_token
|
String |
getRefreshToken()
Should be active refresh_token, required if grantType is refresh_token
|
CreateAccessTokenRequest |
grantType(String grantType) |
int |
hashCode() |
CreateAccessTokenRequest |
refreshToken(String refreshToken) |
void |
setClientId(String clientId) |
void |
setClientSecret(String clientSecret) |
void |
setCode(String code) |
void |
setGrantType(String grantType) |
void |
setRefreshToken(String refreshToken) |
String |
toString() |
public CreateAccessTokenRequest grantType(String grantType)
public String getGrantType()
public void setGrantType(String grantType)
public CreateAccessTokenRequest code(String code)
public String getCode()
public void setCode(String code)
public CreateAccessTokenRequest clientId(String clientId)
public String getClientId()
public void setClientId(String clientId)
public CreateAccessTokenRequest clientSecret(String clientSecret)
public String getClientSecret()
public void setClientSecret(String clientSecret)
public CreateAccessTokenRequest refreshToken(String refreshToken)
public String getRefreshToken()
public void setRefreshToken(String refreshToken)
Copyright © 2022. All rights reserved.