Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/security / / TokenMetadata
Interface: TokenMetadata
Defined in: packages/security/src/auth/crud.ts:276
Public-safe metadata view of a token. The HMAC hash and pepper are never surfaced.
Stable
Properties
| Property | Modifier | Type | Defined in |
|---|---|---|---|
createdAt | readonly | string | packages/security/src/auth/crud.ts:280 |
expiresAt? | readonly | string | packages/security/src/auth/crud.ts:281 |
id | readonly | string | packages/security/src/auth/crud.ts:277 |
label? | readonly | string | packages/security/src/auth/crud.ts:278 |
lastUsedAt? | readonly | string | packages/security/src/auth/crud.ts:283 |
revokedAt? | readonly | string | packages/security/src/auth/crud.ts:282 |
scopes | readonly | readonly string[] | packages/security/src/auth/crud.ts:279 |