type
AuthAPIKey
type AuthAPIKey struct {
ID string
TokenHash string
CollectionID schema.StableID
UserID string
Name string
CreatedAt time.Time
LastUsedAt time.Time
ExpiresAt time.Time
}A persisted API-key digest and safe metadata.
IDstring- The ID value.
TokenHashstring- The TokenHash value.
CollectionIDschema.StableID- The CollectionID value.
UserIDstring- The UserID value.
Namestring- The Name value.
CreatedAttime.Time- The CreatedAt value.
LastUsedAttime.Time- The LastUsedAt value.
ExpiresAttime.Time- The ExpiresAt value.