ProxyTOtpLoginBody class

Constructors

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

Properties

clientSignature String?
Optional signature associated with the public key passed into the verification step. This must be a hex-encoded ECDSA signature over the verification token. Only required if a public key was provided during the verification step.
final
hashCode int
The hash code for this object.
no setterinherited
invalidateExisting bool?
Invalidate all other previously generated Login API keys
final
organizationId String?
Unique identifier for a given Organization. If provided, this organization id will be used directly. If omitted, uses the verification token to look up the verified sub-organization based on the contact and verification type.
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. Verification status of a user is updated when the token is consumed (in OTP_LOGIN requests)
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