AuthPhoneNumberCodeDelivery<TContext> class final

The one boundary where the raw verification code is exposed.

Delivery providers should enqueue or send the code without logging it. Serverless implementations can schedule durable background work through context and return once that work has been accepted.

Constructors

AuthPhoneNumberCodeDelivery({required TContext context, required String phoneNumber, required String code, required DateTime expiresAt})
Creates a delivery request containing the raw verification code.
const

Properties

code String
Raw code to deliver through the trusted channel.
final
context → TContext
Application context associated with the request.
final
expiresAt DateTime
Time at which the code expires.
final
hashCode int
The hash code for this object.
no setterinherited
phoneNumber String
Canonical phone number receiving the code.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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