type
AuthToken
A persisted one-way digest of a single-use recovery secret.
Properties
| Property | Type | Description |
|---|---|---|
TokenHash | string | The TokenHash value. |
Purpose | AuthTokenPurpose | The Purpose value. |
CollectionID | schema.StableID | The CollectionID value. |
UserID | string | The UserID value. |
ExpiresAt | time.Time | The ExpiresAt value. |
CreatedAt | time.Time | The CreatedAt value. |
Full signature
type AuthToken struct {
TokenHash string
Purpose AuthTokenPurpose
CollectionID schema.StableID
UserID string
ExpiresAt time.Time
CreatedAt time.Time
}