Struct aws_sdk_cognitoidentityprovider::operation::respond_to_auth_challenge::RespondToAuthChallengeOutput
source · #[non_exhaustive]pub struct RespondToAuthChallengeOutput {
pub challenge_name: Option<ChallengeNameType>,
pub session: Option<String>,
pub challenge_parameters: Option<HashMap<String, String>>,
pub authentication_result: Option<AuthenticationResultType>,
/* private fields */
}Expand description
The response to respond to the authentication challenge.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.challenge_name: Option<ChallengeNameType>The challenge name. For more information, see InitiateAuth.
session: Option<String>The session that should be passed both ways in challenge-response calls to the service. If the caller must pass another challenge, they return a session with other challenge parameters. This session should be passed as it is to the next RespondToAuthChallenge API call.
challenge_parameters: Option<HashMap<String, String>>The challenge parameters. For more information, see InitiateAuth.
authentication_result: Option<AuthenticationResultType>The result returned by the server in response to the request to respond to the authentication challenge.
Implementations§
source§impl RespondToAuthChallengeOutput
impl RespondToAuthChallengeOutput
sourcepub fn challenge_name(&self) -> Option<&ChallengeNameType>
pub fn challenge_name(&self) -> Option<&ChallengeNameType>
The challenge name. For more information, see InitiateAuth.
sourcepub fn session(&self) -> Option<&str>
pub fn session(&self) -> Option<&str>
The session that should be passed both ways in challenge-response calls to the service. If the caller must pass another challenge, they return a session with other challenge parameters. This session should be passed as it is to the next RespondToAuthChallenge API call.
sourcepub fn challenge_parameters(&self) -> Option<&HashMap<String, String>>
pub fn challenge_parameters(&self) -> Option<&HashMap<String, String>>
The challenge parameters. For more information, see InitiateAuth.
sourcepub fn authentication_result(&self) -> Option<&AuthenticationResultType>
pub fn authentication_result(&self) -> Option<&AuthenticationResultType>
The result returned by the server in response to the request to respond to the authentication challenge.
source§impl RespondToAuthChallengeOutput
impl RespondToAuthChallengeOutput
sourcepub fn builder() -> RespondToAuthChallengeOutputBuilder
pub fn builder() -> RespondToAuthChallengeOutputBuilder
Creates a new builder-style object to manufacture RespondToAuthChallengeOutput.
Trait Implementations§
source§impl Clone for RespondToAuthChallengeOutput
impl Clone for RespondToAuthChallengeOutput
source§fn clone(&self) -> RespondToAuthChallengeOutput
fn clone(&self) -> RespondToAuthChallengeOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RespondToAuthChallengeOutput
impl Debug for RespondToAuthChallengeOutput
source§impl PartialEq for RespondToAuthChallengeOutput
impl PartialEq for RespondToAuthChallengeOutput
source§fn eq(&self, other: &RespondToAuthChallengeOutput) -> bool
fn eq(&self, other: &RespondToAuthChallengeOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for RespondToAuthChallengeOutput
impl RequestId for RespondToAuthChallengeOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.