public class AuthenticationResultType extends Object implements Serializable
The authentication result.
| Constructor and Description |
|---|
AuthenticationResultType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAccessToken()
The access token.
|
Integer |
getExpiresIn()
The expiration period of the authentication result in seconds.
|
String |
getIdToken()
The ID token.
|
NewDeviceMetadataType |
getNewDeviceMetadata()
The new device metadata from an authentication result.
|
String |
getRefreshToken()
The refresh token.
|
String |
getTokenType()
The token type.
|
int |
hashCode() |
void |
setAccessToken(String accessToken)
The access token.
|
void |
setExpiresIn(Integer expiresIn)
The expiration period of the authentication result in seconds.
|
void |
setIdToken(String idToken)
The ID token.
|
void |
setNewDeviceMetadata(NewDeviceMetadataType newDeviceMetadata)
The new device metadata from an authentication result.
|
void |
setRefreshToken(String refreshToken)
The refresh token.
|
void |
setTokenType(String tokenType)
The token type.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AuthenticationResultType |
withAccessToken(String accessToken)
The access token.
|
AuthenticationResultType |
withExpiresIn(Integer expiresIn)
The expiration period of the authentication result in seconds.
|
AuthenticationResultType |
withIdToken(String idToken)
The ID token.
|
AuthenticationResultType |
withNewDeviceMetadata(NewDeviceMetadataType newDeviceMetadata)
The new device metadata from an authentication result.
|
AuthenticationResultType |
withRefreshToken(String refreshToken)
The refresh token.
|
AuthenticationResultType |
withTokenType(String tokenType)
The token type.
|
public String getAccessToken()
The access token.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
The access token.
public void setAccessToken(String accessToken)
The access token.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
accessToken - The access token.
public AuthenticationResultType withAccessToken(String accessToken)
The access token.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
accessToken - The access token.
public Integer getExpiresIn()
The expiration period of the authentication result in seconds.
The expiration period of the authentication result in seconds.
public void setExpiresIn(Integer expiresIn)
The expiration period of the authentication result in seconds.
expiresIn - The expiration period of the authentication result in seconds.
public AuthenticationResultType withExpiresIn(Integer expiresIn)
The expiration period of the authentication result in seconds.
Returns a reference to this object so that method calls can be chained together.
expiresIn - The expiration period of the authentication result in seconds.
public String getTokenType()
The token type.
The token type.
public void setTokenType(String tokenType)
The token type.
tokenType - The token type.
public AuthenticationResultType withTokenType(String tokenType)
The token type.
Returns a reference to this object so that method calls can be chained together.
tokenType - The token type.
public String getRefreshToken()
The refresh token.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
The refresh token.
public void setRefreshToken(String refreshToken)
The refresh token.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
refreshToken - The refresh token.
public AuthenticationResultType withRefreshToken(String refreshToken)
The refresh token.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
refreshToken - The refresh token.
public String getIdToken()
The ID token.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
The ID token.
public void setIdToken(String idToken)
The ID token.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
idToken - The ID token.
public AuthenticationResultType withIdToken(String idToken)
The ID token.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
idToken - The ID token.
public NewDeviceMetadataType getNewDeviceMetadata()
The new device metadata from an authentication result.
The new device metadata from an authentication result.
public void setNewDeviceMetadata(NewDeviceMetadataType newDeviceMetadata)
The new device metadata from an authentication result.
newDeviceMetadata - The new device metadata from an authentication result.
public AuthenticationResultType withNewDeviceMetadata(NewDeviceMetadataType newDeviceMetadata)
The new device metadata from an authentication result.
Returns a reference to this object so that method calls can be chained together.
newDeviceMetadata - The new device metadata from an authentication result.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.