package awscognito // Types of authentication flow. // // Example: // pool := cognito.NewUserPool(this, jsii.String("pool")) // pool.addClient(jsii.String("app-client"), &UserPoolClientOptions{ // AuthFlows: &AuthFlow{ // UserPassword: jsii.Boolean(true), // UserSrp: jsii.Boolean(true), // }, // }) // // See: https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-authentication-flow.html // type AuthFlow struct { // Enable admin based user password authentication flow. AdminUserPassword *bool `field:"optional" json:"adminUserPassword" yaml:"adminUserPassword"` // Enable custom authentication flow. Custom *bool `field:"optional" json:"custom" yaml:"custom"` // Enable auth using username & password. UserPassword *bool `field:"optional" json:"userPassword" yaml:"userPassword"` // Enable SRP based authentication. UserSrp *bool `field:"optional" json:"userSrp" yaml:"userSrp"` }