Interface IAuthFlow
Types of authentication flow.
Namespace: Amazon.CDK.AWS.Cognito
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IAuthFlow
Syntax (vb)
Public Interface IAuthFlow
Remarks
ExampleMetadata: infused
Examples
var pool = new UserPool(this, "pool");
pool.AddClient("app-client", new UserPoolClientOptions {
AuthFlows = new AuthFlow {
UserPassword = true,
UserSrp = true
}
});
Synopsis
Properties
AdminUserPassword | Enable admin based user password authentication flow. |
Custom | Enable custom authentication flow. |
UserPassword | Enable auth using username & password. |
UserSrp | Enable SRP based authentication. |
Properties
AdminUserPassword
Enable admin based user password authentication flow.
virtual Nullable<bool> AdminUserPassword { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: false
Custom
Enable custom authentication flow.
virtual Nullable<bool> Custom { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: false
UserPassword
Enable auth using username & password.
virtual Nullable<bool> UserPassword { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: false
UserSrp
Enable SRP based authentication.
virtual Nullable<bool> UserSrp { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: false