Properties
Optional loginWith
loginWith?: { email?: boolean; oauth?: OAuthConfig; phone?: boolean; username?: boolean; } Type declaration
Optional email?: boolean
Optional phone?: boolean
Optional username?: boolean
Optional mfa
Type declaration
Optional smsEnabled?: boolean
Optional totpEnabled?: boolean
Optional passwordFormat
passwordFormat?: {
minLength?: number;
requireLowercase?: boolean;
requireNumbers?: boolean;
requireSpecialCharacters?: boolean;
requireUppercase?: boolean;
}
Type declaration
Optional minLength?: number
Optional requireLowercase?: boolean
Optional requireNumbers?: boolean
Optional requireSpecialCharacters?: boolean
Optional requireUppercase?: boolean
Optional passwordless
passwordless?: { emailOtpEnabled?: boolean; preferredChallenge?: PreferredChallenge; smsOtpEnabled?: boolean; webAuthn?: { relyingPartyId?: string; userVerification?: string; }; } Type declaration
Optional emailOtpEnabled?: boolean
Optional smsOtpEnabled?: boolean
Optional webAuthn?: {
relyingPartyId?: string;
userVerification?: string;
}
Optional relyingPartyId?: string
Optional userVerification?: string
Optional signUpVerificationMethod
signUpVerificationMethod?: "link" | "code"
userPoolClientId
userPoolClientId: string
Optional userPoolEndpoint
userPoolEndpoint?: string
userPoolId
userPoolId: string
Use this field to specify a custom endpoint for the Amazon Cognito user pool. Ensure this endpoint is correct and valid.