public class InitiateAuthRequest extends AmazonWebServiceRequest implements Serializable
Initiates the authentication flow.
| Constructor and Description |
|---|
InitiateAuthRequest() |
| Modifier and Type | Method and Description |
|---|---|
InitiateAuthRequest |
addAuthParametersEntry(String key,
String value)
The authentication parameters.
|
InitiateAuthRequest |
addClientMetadataEntry(String key,
String value)
The client app's metadata.
|
InitiateAuthRequest |
clearAuthParametersEntries()
Removes all the entries added into AuthParameters.
|
InitiateAuthRequest |
clearClientMetadataEntries()
Removes all the entries added into ClientMetadata.
|
boolean |
equals(Object obj) |
AnalyticsMetadataType |
getAnalyticsMetadata()
The pinpoint installation id.
|
String |
getAuthFlow()
The authentication flow.
|
Map<String,String> |
getAuthParameters()
The authentication parameters.
|
String |
getClientId()
The client ID.
|
Map<String,String> |
getClientMetadata()
The client app's metadata.
|
UserContextDataType |
getUserContextData()
Base64 encoded string for user context data collected for risk evaluation
|
int |
hashCode() |
void |
setAnalyticsMetadata(AnalyticsMetadataType analyticsMetadata)
The pinpoint installation id.
|
void |
setAuthFlow(AuthFlowType authFlow)
The authentication flow.
|
void |
setAuthFlow(String authFlow)
The authentication flow.
|
void |
setAuthParameters(Map<String,String> authParameters)
The authentication parameters.
|
void |
setClientId(String clientId)
The client ID.
|
void |
setClientMetadata(Map<String,String> clientMetadata)
The client app's metadata.
|
void |
setUserContextData(UserContextDataType userContextData)
Base64 encoded string for user context data collected for risk evaluation
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
InitiateAuthRequest |
withAnalyticsMetadata(AnalyticsMetadataType analyticsMetadata)
The pinpoint installation id.
|
InitiateAuthRequest |
withAuthFlow(AuthFlowType authFlow)
The authentication flow.
|
InitiateAuthRequest |
withAuthFlow(String authFlow)
The authentication flow.
|
InitiateAuthRequest |
withAuthParameters(Map<String,String> authParameters)
The authentication parameters.
|
InitiateAuthRequest |
withClientId(String clientId)
The client ID.
|
InitiateAuthRequest |
withClientMetadata(Map<String,String> clientMetadata)
The client app's metadata.
|
InitiateAuthRequest |
withUserContextData(UserContextDataType userContextData)
Base64 encoded string for user context data collected for risk evaluation
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getAuthFlow()
The authentication flow.
Constraints:
Allowed Values: USER_SRP_AUTH, REFRESH_TOKEN_AUTH, REFRESH_TOKEN,
CUSTOM_AUTH, ADMIN_NO_SRP_AUTH
The authentication flow.
AuthFlowTypepublic void setAuthFlow(String authFlow)
The authentication flow.
Constraints:
Allowed Values: USER_SRP_AUTH, REFRESH_TOKEN_AUTH, REFRESH_TOKEN,
CUSTOM_AUTH, ADMIN_NO_SRP_AUTH
authFlow - The authentication flow.
AuthFlowTypepublic InitiateAuthRequest withAuthFlow(String authFlow)
The authentication flow.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: USER_SRP_AUTH, REFRESH_TOKEN_AUTH, REFRESH_TOKEN,
CUSTOM_AUTH, ADMIN_NO_SRP_AUTH
authFlow - The authentication flow.
AuthFlowTypepublic void setAuthFlow(AuthFlowType authFlow)
The authentication flow.
Constraints:
Allowed Values: USER_SRP_AUTH, REFRESH_TOKEN_AUTH, REFRESH_TOKEN,
CUSTOM_AUTH, ADMIN_NO_SRP_AUTH
authFlow - The authentication flow.
AuthFlowTypepublic InitiateAuthRequest withAuthFlow(AuthFlowType authFlow)
The authentication flow.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: USER_SRP_AUTH, REFRESH_TOKEN_AUTH, REFRESH_TOKEN,
CUSTOM_AUTH, ADMIN_NO_SRP_AUTH
authFlow - The authentication flow.
AuthFlowTypepublic Map<String,String> getAuthParameters()
The authentication parameters.
The authentication parameters.
public void setAuthParameters(Map<String,String> authParameters)
The authentication parameters.
authParameters - The authentication parameters.
public InitiateAuthRequest withAuthParameters(Map<String,String> authParameters)
The authentication parameters.
Returns a reference to this object so that method calls can be chained together.
authParameters - The authentication parameters.
public InitiateAuthRequest addAuthParametersEntry(String key, String value)
The authentication parameters.
The method adds a new key-value pair into AuthParameters parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into AuthParameters.value - The corresponding value of the entry to be added into
AuthParameters.public InitiateAuthRequest clearAuthParametersEntries()
Returns a reference to this object so that method calls can be chained together.
public Map<String,String> getClientMetadata()
The client app's metadata.
The client app's metadata.
public void setClientMetadata(Map<String,String> clientMetadata)
The client app's metadata.
clientMetadata - The client app's metadata.
public InitiateAuthRequest withClientMetadata(Map<String,String> clientMetadata)
The client app's metadata.
Returns a reference to this object so that method calls can be chained together.
clientMetadata - The client app's metadata.
public InitiateAuthRequest addClientMetadataEntry(String key, String value)
The client app's metadata.
The method adds a new key-value pair into ClientMetadata parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into ClientMetadata.value - The corresponding value of the entry to be added into
ClientMetadata.public InitiateAuthRequest clearClientMetadataEntries()
Returns a reference to this object so that method calls can be chained together.
public String getClientId()
The client ID.
Constraints:
Length: 1 - 128
Pattern: [\w+]+
The client ID.
public void setClientId(String clientId)
The client ID.
Constraints:
Length: 1 - 128
Pattern: [\w+]+
clientId - The client ID.
public InitiateAuthRequest withClientId(String clientId)
The client ID.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+]+
clientId - The client ID.
public UserContextDataType getUserContextData()
Base64 encoded string for user context data collected for risk evaluation
Base64 encoded string for user context data collected for risk evaluation
public void setUserContextData(UserContextDataType userContextData)
Base64 encoded string for user context data collected for risk evaluation
userContextData - Base64 encoded string for user context data collected for risk evaluation
public InitiateAuthRequest withUserContextData(UserContextDataType userContextData)
Base64 encoded string for user context data collected for risk evaluation
Returns a reference to this object so that method calls can be chained together.
userContextData - Base64 encoded string for user context data collected for risk evaluation
public AnalyticsMetadataType getAnalyticsMetadata()
The pinpoint installation id.
The pinpoint installation id.
public void setAnalyticsMetadata(AnalyticsMetadataType analyticsMetadata)
The pinpoint installation id.
analyticsMetadata - The pinpoint installation id.
public InitiateAuthRequest withAnalyticsMetadata(AnalyticsMetadataType analyticsMetadata)
The pinpoint installation id.
Returns a reference to this object so that method calls can be chained together.
analyticsMetadata - The pinpoint installation id.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.