AuthResult class

Returned by AuthProvider after successful authentication or refresh.

Annotations

Constructors

AuthResult({required String accessToken, String? refreshToken, DateTime? expiresAt, required AuthUser user})
const

Properties

accessToken → String
Access token for API calls.
final
expiresAt → DateTime?
When the access token expires (null if unknown).
final
hashCode → int
The hash code for this object.
no setterinherited
refreshToken → String?
Refresh token (null if provider doesn't support refresh).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
user → AuthUser
Authenticated user profile.
final

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