public class GlobalSignOutRequest extends AmazonWebServiceRequest implements Serializable
Signs out users from all devices. It also invalidates all refresh tokens issued to a user. The user's current access and Id tokens remain valid until their expiry. Access and Id tokens expire one hour after they are issued.
Constructor and Description |
---|
GlobalSignOutRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAccessToken()
The access token.
|
int |
hashCode() |
void |
setAccessToken(String accessToken)
The access token.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GlobalSignOutRequest |
withAccessToken(String accessToken)
The access token.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
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 GlobalSignOutRequest 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 String toString()
toString
in class Object
Object.toString()
Copyright © 2020. All rights reserved.