Class RespondToAuthChallengeRequest
Represents a request for responding to an authentication challenge.
Inherited Members
Namespace: Innovt.Cloud.AWS.Cognito.Model
Assembly: Innovt.Cloud.AWS.Cognito.dll
Syntax
public class RespondToAuthChallengeRequest : RequestBase, IRequestBase, IValidatableObject
Properties
| Edit this page View SourceChallengeName
Gets or sets the name of the challenge.
Declaration
[Required]
public virtual string ChallengeName { get; set; }
Property Value
Type | Description |
---|---|
string |
ConfirmationCode
Gets or sets the confirmation code used to respond to the challenge.
Declaration
public virtual string ConfirmationCode { get; set; }
Property Value
Type | Description |
---|---|
string |
Password
Gets or sets the user's password used to respond to the challenge.
Declaration
public virtual string Password { get; set; }
Property Value
Type | Description |
---|---|
string |
Session
Gets or sets the session token associated with the authentication challenge.
Declaration
[Required]
public virtual string Session { get; set; }
Property Value
Type | Description |
---|---|
string |
UserName
Gets or sets the user's username.
Declaration
[Required]
public virtual string UserName { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
| Edit this page View SourceValidate(ValidationContext)
Validates the request object.
Declaration
public override IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
Parameters
Type | Name | Description |
---|---|---|
ValidationContext | validationContext | The validation context. |
Returns
Type | Description |
---|---|
IEnumerable<ValidationResult> | A collection of validation results. |