AuthAccount class

Provider account metadata linked to an AuthUser.

Constructors

AuthAccount({required String providerId, required String providerAccountId, String? userId, String? accessToken, String? refreshToken, DateTime? expiresAt, Map<String, dynamic>? metadata})

Properties

accessToken String?
Access token for the account.
final
expiresAt DateTime?
Access token expiration timestamp.
final
hashCode int
The hash code for this object.
no setterinherited
metadata Map<String, dynamic>
Provider-specific metadata payload.
final
providerAccountId String
Provider account identifier.
final
providerId String
Provider identifier (e.g. github).
final
refreshToken String?
Refresh token for the account.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userId String?
Linked user identifier.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes the account payload.
toString() String
A string representation of this object.
inherited

Operators

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