CognitoAuthConfig constructor

const CognitoAuthConfig({
  1. CognitoOAuthConfig? oAuth,
  2. AuthenticationFlowType? authenticationFlowType,
  3. List<SocialProvider>? socialProviders,
  4. List<CognitoUserAttributeKey>? usernameAttributes,
  5. List<CognitoUserAttributeKey>? signupAttributes,
  6. PasswordProtectionSettings? passwordProtectionSettings,
  7. MfaConfiguration? mfaConfiguration,
  8. List<MfaType>? mfaTypes,
  9. List<CognitoUserAttributeKey>? verificationMechanisms,
  10. @Deprecated('Use usernameAttributes instead') List<CognitoUserAttributeKey>? loginMechanism,
  11. @Deprecated('Use usernameAttributes instead') List<CognitoUserAttributeKey>? loginMechanisms,
})

Implementation

const CognitoAuthConfig({
  this.oAuth,
  this.authenticationFlowType,
  this.socialProviders,
  this.usernameAttributes,
  this.signupAttributes,
  this.passwordProtectionSettings,
  this.mfaConfiguration,
  this.mfaTypes,
  this.verificationMechanisms,
  @Deprecated('Use usernameAttributes instead') this.loginMechanism,
  @Deprecated('Use usernameAttributes instead') this.loginMechanisms,
});