v1OtpLoginIntent class

Constructors

v1OtpLoginIntent({required String verificationToken, required String publicKey, String? expirationSeconds, bool? invalidateExisting, v1ClientSignature? clientSignature})
const
v1OtpLoginIntent.fromJson(Map<String, dynamic> json)
factory

Properties

clientSignature → v1ClientSignature?
Optional signature proving authorization for this login. The signature is over the verification token ID and the public key. Only required if a public key was provided during the verification step.
final
expirationSeconds → String?
Expiration window (in seconds) indicating how long the Session 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 Login API keys
final
publicKey → String
Client-side public key generated by the user, which will be conditionally added to org data based on the validity of the verification token
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
verificationToken → String
Signed JWT containing a unique id, expiry, verification type, contact
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