v1InitOtpAuthIntentV2 class
Constructors
-
v1InitOtpAuthIntentV2({required String otpType, required String contact, num? otpLength, v1EmailCustomizationParams? emailCustomization, v1SmsCustomizationParams? smsCustomization, String? userIdentifier, String? sendFromEmailAddress, bool? alphanumeric, String? sendFromEmailSenderName, String? replyToEmailAddress})
-
const
-
v1InitOtpAuthIntentV2.fromJson(Map<String, dynamic> json)
-
factory
Properties
-
alphanumeric
→ bool?
-
Optional flag to specify if the OTP code should be alphanumeric (Crockford’s Base32). Default = true
final
-
contact
→ String
-
Email or phone number to send the OTP code to
final
-
emailCustomization
→ v1EmailCustomizationParams?
-
Optional parameters for customizing emails. If not provided, the default email will be used.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
otpLength
→ num?
-
Optional length of the OTP code. Default = 9
final
-
otpType
→ String
-
Enum to specifiy whether to send OTP via SMS or email
final
-
replyToEmailAddress
→ String?
-
Optional custom email address to use as reply-to
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
sendFromEmailAddress
→ String?
-
Optional custom email address from which to send the OTP email
final
-
sendFromEmailSenderName
→ String?
-
Optional custom sender name for use with sendFromEmailAddress; if left empty, will default to 'Notifications'
final
-
smsCustomization
→ v1SmsCustomizationParams?
-
Optional parameters for customizing SMS message. If not provided, the default sms message will be used.
final
-
userIdentifier
→ String?
-
Optional client-generated user identifier to enable per-user rate limiting for SMS auth. We recommend using a hash of the client-side IP address.
final