Table of Contents

Class AuthFlow

Namespace
Amazon.CDK.AWS.Cognito
Assembly
Amazon.CDK.AWS.Cognito.dll

Types of authentication flow.

public class AuthFlow : IAuthFlow
Inheritance
AuthFlow
Implements
Inherited Members

Examples

var pool = new UserPool(this, "pool");
             pool.AddClient("app-client", new UserPoolClientOptions {
                 AuthFlows = new AuthFlow {
                     UserPassword = true,
                     UserSrp = true
                 }
             });

Remarks

Constructors

AuthFlow()

public AuthFlow()

Properties

AdminUserPassword

Enable admin based user password authentication flow.

public bool? AdminUserPassword { get; set; }

Property Value

bool?

Remarks

Default: false

Custom

Enable custom authentication flow.

public bool? Custom { get; set; }

Property Value

bool?

Remarks

Default: false

UserPassword

Enable auth using username & password.

public bool? UserPassword { get; set; }

Property Value

bool?

Remarks

Default: false

UserSrp

Enable SRP based authentication.

public bool? UserSrp { get; set; }

Property Value

bool?

Remarks

Default: false