Class LinkSocialAccountRequest
Represents a request to update user attributes.
Inherited Members
Namespace: Innovt.Cloud.AWS.Cognito.Model
Assembly: Innovt.Cloud.AWS.Cognito.dll
Syntax
public class LinkSocialAccountRequest : RequestBase, IRequestBase, IValidatableObject
Constructors
| Edit this page View SourceLinkSocialAccountRequest()
Declaration
public LinkSocialAccountRequest()
LinkSocialAccountRequest(string, string)
Declaration
public LinkSocialAccountRequest(string email, string userName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | ||
| string | userName |
Properties
| Edit this page View SourceThe email of the user to link the account.
Declaration
[Required]
public string Email { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UserName
Declaration
[Required]
public 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. |