Table of Contents

Interface IAuthFlow

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

Types of authentication flow.

public interface IAuthFlow

Examples

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

Remarks

Properties

AdminUserPassword

Enable admin based user password authentication flow.

bool? AdminUserPassword { get; }

Property Value

bool?

Remarks

Default: false

Custom

Enable custom authentication flow.

bool? Custom { get; }

Property Value

bool?

Remarks

Default: false

UserPassword

Enable auth using username & password.

bool? UserPassword { get; }

Property Value

bool?

Remarks

Default: false

UserSrp

Enable SRP based authentication.

bool? UserSrp { get; }

Property Value

bool?

Remarks

Default: false