Class SocialSignInRequest
Represents a request for social sign-in using an OAuth code and redirect URI.
Inherited Members
Namespace: Innovt.Cloud.AWS.Cognito.Model
Assembly: Innovt.Cloud.AWS.Cognito.dll
Syntax
public class SocialSignInRequest : RequestBase, IRequestBase, IValidatableObject
Properties
| Edit this page View SourceCode
Gets or sets the OAuth code obtained from the social authentication provider.
Declaration
[Required]
public virtual string Code { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RedirectUri
Gets or sets the redirect URI to which the user is redirected after social authentication.
Declaration
[Required]
public virtual string RedirectUri { 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. |