CrossmintIdentityVerificationCredentials class final

Credentials for one verification session, read from an order's payment.preparation.kyc.

Constructors

CrossmintIdentityVerificationCredentials({required String inquiryId, String? sessionToken})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
inquiryId String
Provider-side inquiry identifier.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionToken String?
Optional provider session token.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
Serializes to the shape the hosted page's credentials query param expects. The provider discriminator is fixed: Persona is the only provider this SDK and the hosted page accept.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

tryFromJson(Object? value) CrossmintIdentityVerificationCredentials?
Parses an order's payment.preparation.kyc map. Returns null when the order does not need verification, names a provider this SDK does not know, or carries no usable inquiry id.