type

APIKeyInfo

type APIKeyInfo struct { ID string Name string CreatedAt time.Time LastUsedAt time.Time ExpiresAt time.Time }

Safe metadata for an existing API key.

Source core/auth.go:68

IDstring
The stable revocable key identifier.
Namestring
The author-facing key label.
CreatedAttime.Time
When the key was created.
LastUsedAttime.Time
When the key was last accepted.
ExpiresAttime.Time
When the key expires, or the zero time when it does not.