TOtpAuthBody class

Constructors

TOtpAuthBody({String? timestampMs, String? organizationId, required String otpId, required String otpCode, required String targetPublicKey, String? apiKeyName, String? expirationSeconds, bool? invalidateExisting})
const
TOtpAuthBody.fromJson(Map<String, dynamic> json)
factory

Properties

apiKeyName String?
Optional human-readable name for an API Key. If none provided, default to OTP Auth -
final
expirationSeconds String?
Expiration window (in seconds) indicating how long the API key is valid for. If not provided, a default of 15 minutes will be used.
final
hashCode int
The hash code for this object.
no setterinherited
invalidateExisting bool?
Invalidate all other previously generated OTP Auth API keys
final
organizationId String?
final
otpCode String
OTP sent out to a user's contact (email or SMS)
final
otpId String
ID representing the result of an init OTP activity.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetPublicKey String
Client-side public key generated by the user, to which the OTP bundle (credentials) will be encrypted.
final
timestampMs String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited