AuthFlow

class aws_cdk.aws_cognito.AuthFlow(*, admin_user_password=None, custom=None, refresh_token=None, user_password=None, user_srp=None)

Bases: object

__init__(*, admin_user_password=None, custom=None, refresh_token=None, user_password=None, user_srp=None)

Types of authentication flow.

Parameters
  • admin_user_password (Optional[bool]) – Enable admin based user password authentication flow. Default: false

  • custom (Optional[bool]) – Enable custom authentication flow. Default: false

  • refresh_token (Optional[bool]) – Enable authflow to refresh tokens. Default: false

  • user_password (Optional[bool]) – Enable auth using username & password. Default: false

  • user_srp (Optional[bool]) – Enable SRP based authentication. Default: false

see :see: https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-authentication-flow.html stability :stability: experimental

Attributes

admin_user_password

Enable admin based user password authentication flow.

default :default: false

stability :stability: experimental

Return type

Optional[bool]

custom

Enable custom authentication flow.

default :default: false

stability :stability: experimental

Return type

Optional[bool]

refresh_token

Enable authflow to refresh tokens.

default :default: false

stability :stability: experimental

Return type

Optional[bool]

user_password

Enable auth using username & password.

default :default: false

stability :stability: experimental

Return type

Optional[bool]

user_srp

Enable SRP based authentication.

default :default: false

stability :stability: experimental

Return type

Optional[bool]