public class GetOpenIdTokenRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
identityId
A unique identifier in the format REGION:GUID.
|
private java.util.Map<java.lang.String,java.lang.String> |
logins
A set of optional name-value pairs that map provider names to provider
tokens.
|
NOOP
Constructor and Description |
---|
GetOpenIdTokenRequest() |
Modifier and Type | Method and Description |
---|---|
GetOpenIdTokenRequest |
addLoginsEntry(java.lang.String key,
java.lang.String value) |
GetOpenIdTokenRequest |
clearLoginsEntries()
Removes all the entries added into Logins.
|
GetOpenIdTokenRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getIdentityId()
A unique identifier in the format REGION:GUID.
|
java.util.Map<java.lang.String,java.lang.String> |
getLogins()
A set of optional name-value pairs that map provider names to provider
tokens.
|
int |
hashCode() |
void |
setIdentityId(java.lang.String identityId)
A unique identifier in the format REGION:GUID.
|
void |
setLogins(java.util.Map<java.lang.String,java.lang.String> logins)
A set of optional name-value pairs that map provider names to provider
tokens.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetOpenIdTokenRequest |
withIdentityId(java.lang.String identityId)
A unique identifier in the format REGION:GUID.
|
GetOpenIdTokenRequest |
withLogins(java.util.Map<java.lang.String,java.lang.String> logins)
A set of optional name-value pairs that map provider names to provider
tokens.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String identityId
private java.util.Map<java.lang.String,java.lang.String> logins
A set of optional name-value pairs that map provider names to provider
tokens. When using graph.facebook.com and www.amazon.com, supply the
access_token returned from the provider's authflow. For
accounts.google.com, an Amazon Cognito Identity Provider, or any other
OpenId Connect provider, always include the id_token
.
public void setIdentityId(java.lang.String identityId)
identityId
- A unique identifier in the format REGION:GUID.public java.lang.String getIdentityId()
public GetOpenIdTokenRequest withIdentityId(java.lang.String identityId)
identityId
- A unique identifier in the format REGION:GUID.public java.util.Map<java.lang.String,java.lang.String> getLogins()
A set of optional name-value pairs that map provider names to provider
tokens. When using graph.facebook.com and www.amazon.com, supply the
access_token returned from the provider's authflow. For
accounts.google.com, an Amazon Cognito Identity Provider, or any other
OpenId Connect provider, always include the id_token
.
id_token
.public void setLogins(java.util.Map<java.lang.String,java.lang.String> logins)
A set of optional name-value pairs that map provider names to provider
tokens. When using graph.facebook.com and www.amazon.com, supply the
access_token returned from the provider's authflow. For
accounts.google.com, an Amazon Cognito Identity Provider, or any other
OpenId Connect provider, always include the id_token
.
logins
- A set of optional name-value pairs that map provider names to
provider tokens. When using graph.facebook.com and www.amazon.com,
supply the access_token returned from the provider's authflow. For
accounts.google.com, an Amazon Cognito Identity Provider, or any
other OpenId Connect provider, always include the
id_token
.public GetOpenIdTokenRequest withLogins(java.util.Map<java.lang.String,java.lang.String> logins)
A set of optional name-value pairs that map provider names to provider
tokens. When using graph.facebook.com and www.amazon.com, supply the
access_token returned from the provider's authflow. For
accounts.google.com, an Amazon Cognito Identity Provider, or any other
OpenId Connect provider, always include the id_token
.
logins
- A set of optional name-value pairs that map provider names to
provider tokens. When using graph.facebook.com and www.amazon.com,
supply the access_token returned from the provider's authflow. For
accounts.google.com, an Amazon Cognito Identity Provider, or any
other OpenId Connect provider, always include the
id_token
.public GetOpenIdTokenRequest addLoginsEntry(java.lang.String key, java.lang.String value)
public GetOpenIdTokenRequest clearLoginsEntries()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public GetOpenIdTokenRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()