@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTokenResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
CreateTokenResult() |
| Modifier and Type | Method and Description |
|---|---|
CreateTokenResult |
clone() |
boolean |
equals(Object obj) |
String |
getAccessToken()
An opaque token to access Amazon Web Services SSO resources assigned to a user.
|
Integer |
getExpiresIn()
Indicates the time in seconds when an access token will expire.
|
String |
getIdToken()
Currently,
idToken is not yet implemented and is not supported. |
String |
getRefreshToken()
Currently,
refreshToken is not yet implemented and is not supported. |
String |
getTokenType()
Used to notify the client that the returned token is an access token.
|
int |
hashCode() |
void |
setAccessToken(String accessToken)
An opaque token to access Amazon Web Services SSO resources assigned to a user.
|
void |
setExpiresIn(Integer expiresIn)
Indicates the time in seconds when an access token will expire.
|
void |
setIdToken(String idToken)
Currently,
idToken is not yet implemented and is not supported. |
void |
setRefreshToken(String refreshToken)
Currently,
refreshToken is not yet implemented and is not supported. |
void |
setTokenType(String tokenType)
Used to notify the client that the returned token is an access token.
|
String |
toString()
Returns a string representation of this object.
|
CreateTokenResult |
withAccessToken(String accessToken)
An opaque token to access Amazon Web Services SSO resources assigned to a user.
|
CreateTokenResult |
withExpiresIn(Integer expiresIn)
Indicates the time in seconds when an access token will expire.
|
CreateTokenResult |
withIdToken(String idToken)
Currently,
idToken is not yet implemented and is not supported. |
CreateTokenResult |
withRefreshToken(String refreshToken)
Currently,
refreshToken is not yet implemented and is not supported. |
CreateTokenResult |
withTokenType(String tokenType)
Used to notify the client that the returned token is an access token.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setAccessToken(String accessToken)
An opaque token to access Amazon Web Services SSO resources assigned to a user.
accessToken - An opaque token to access Amazon Web Services SSO resources assigned to a user.public String getAccessToken()
An opaque token to access Amazon Web Services SSO resources assigned to a user.
public CreateTokenResult withAccessToken(String accessToken)
An opaque token to access Amazon Web Services SSO resources assigned to a user.
accessToken - An opaque token to access Amazon Web Services SSO resources assigned to a user.public void setTokenType(String tokenType)
Used to notify the client that the returned token is an access token. The supported type is
BearerToken.
tokenType - Used to notify the client that the returned token is an access token. The supported type is
BearerToken.public String getTokenType()
Used to notify the client that the returned token is an access token. The supported type is
BearerToken.
BearerToken.public CreateTokenResult withTokenType(String tokenType)
Used to notify the client that the returned token is an access token. The supported type is
BearerToken.
tokenType - Used to notify the client that the returned token is an access token. The supported type is
BearerToken.public void setExpiresIn(Integer expiresIn)
Indicates the time in seconds when an access token will expire.
expiresIn - Indicates the time in seconds when an access token will expire.public Integer getExpiresIn()
Indicates the time in seconds when an access token will expire.
public CreateTokenResult withExpiresIn(Integer expiresIn)
Indicates the time in seconds when an access token will expire.
expiresIn - Indicates the time in seconds when an access token will expire.public void setRefreshToken(String refreshToken)
Currently, refreshToken is not yet implemented and is not supported. For more information about the
features and limitations of the current Amazon Web Services SSO OIDC implementation, see Considerations for
Using this Guide in the Amazon Web Services SSO OIDC
API Reference.
A token that, if present, can be used to refresh a previously issued access token that might have expired.
refreshToken - Currently, refreshToken is not yet implemented and is not supported. For more information
about the features and limitations of the current Amazon Web Services SSO OIDC implementation, see
Considerations for Using this Guide in the Amazon Web Services
SSO OIDC API Reference.
A token that, if present, can be used to refresh a previously issued access token that might have expired.
public String getRefreshToken()
Currently, refreshToken is not yet implemented and is not supported. For more information about the
features and limitations of the current Amazon Web Services SSO OIDC implementation, see Considerations for
Using this Guide in the Amazon Web Services SSO OIDC
API Reference.
A token that, if present, can be used to refresh a previously issued access token that might have expired.
refreshToken is not yet implemented and is not supported. For more information
about the features and limitations of the current Amazon Web Services SSO OIDC implementation, see
Considerations for Using this Guide in the Amazon Web Services
SSO OIDC API Reference.
A token that, if present, can be used to refresh a previously issued access token that might have expired.
public CreateTokenResult withRefreshToken(String refreshToken)
Currently, refreshToken is not yet implemented and is not supported. For more information about the
features and limitations of the current Amazon Web Services SSO OIDC implementation, see Considerations for
Using this Guide in the Amazon Web Services SSO OIDC
API Reference.
A token that, if present, can be used to refresh a previously issued access token that might have expired.
refreshToken - Currently, refreshToken is not yet implemented and is not supported. For more information
about the features and limitations of the current Amazon Web Services SSO OIDC implementation, see
Considerations for Using this Guide in the Amazon Web Services
SSO OIDC API Reference.
A token that, if present, can be used to refresh a previously issued access token that might have expired.
public void setIdToken(String idToken)
Currently, idToken is not yet implemented and is not supported. For more information about the
features and limitations of the current Amazon Web Services SSO OIDC implementation, see Considerations for
Using this Guide in the Amazon Web Services SSO OIDC
API Reference.
The identifier of the user that associated with the access token, if present.
idToken - Currently, idToken is not yet implemented and is not supported. For more information about
the features and limitations of the current Amazon Web Services SSO OIDC implementation, see
Considerations for Using this Guide in the Amazon Web Services
SSO OIDC API Reference.
The identifier of the user that associated with the access token, if present.
public String getIdToken()
Currently, idToken is not yet implemented and is not supported. For more information about the
features and limitations of the current Amazon Web Services SSO OIDC implementation, see Considerations for
Using this Guide in the Amazon Web Services SSO OIDC
API Reference.
The identifier of the user that associated with the access token, if present.
idToken is not yet implemented and is not supported. For more information about
the features and limitations of the current Amazon Web Services SSO OIDC implementation, see
Considerations for Using this Guide in the Amazon Web Services
SSO OIDC API Reference.
The identifier of the user that associated with the access token, if present.
public CreateTokenResult withIdToken(String idToken)
Currently, idToken is not yet implemented and is not supported. For more information about the
features and limitations of the current Amazon Web Services SSO OIDC implementation, see Considerations for
Using this Guide in the Amazon Web Services SSO OIDC
API Reference.
The identifier of the user that associated with the access token, if present.
idToken - Currently, idToken is not yet implemented and is not supported. For more information about
the features and limitations of the current Amazon Web Services SSO OIDC implementation, see
Considerations for Using this Guide in the Amazon Web Services
SSO OIDC API Reference.
The identifier of the user that associated with the access token, if present.
public String toString()
toString in class ObjectObject.toString()public CreateTokenResult clone()
Copyright © 2022. All rights reserved.