type
AuthAPIKey
A persisted API-key digest and safe metadata.
Properties
| Property | Type | Description |
|---|---|---|
ID | string | The ID value. |
TokenHash | string | The TokenHash value. |
CollectionID | schema.StableID | The CollectionID value. |
UserID | string | The UserID value. |
Name | string | The Name value. |
CreatedAt | time.Time | The CreatedAt value. |
LastUsedAt | time.Time | The LastUsedAt value. |
ExpiresAt | time.Time | The ExpiresAt value. |
Full signature
type AuthAPIKey struct {
ID string
TokenHash string
CollectionID schema.StableID
UserID string
Name string
CreatedAt time.Time
LastUsedAt time.Time
ExpiresAt time.Time
}