AuthDeviceAuthorizationIssuanceLease class final

One secret-free, bounded claim on an approved authorization.

leaseDigest is a digest of a process-local random value. Neither the raw lease value nor issued access or refresh tokens cross this store boundary.

Constructors

AuthDeviceAuthorizationIssuanceLease({required AuthDeviceAuthorization authorization, required String leaseDigest, required DateTime expiresAt})
Creates a secret-free claim on an approved authorization.
const

Properties

authorization AuthDeviceAuthorization
Approved authorization held by this lease.
final
expiresAt DateTime
Deadline after which another caller may recover the lease.
final
hashCode int
The hash code for this object.
no setterinherited
leaseDigest String
Store-side digest identifying the lease owner.
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