Graphorin API reference v0.7.0
Graphorin API reference / @graphorin/security / / TokenMetadata
Interface: TokenMetadata
Defined in: packages/security/src/auth/crud.ts:270
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:274 |
expiresAt? | readonly | string | packages/security/src/auth/crud.ts:275 |
id | readonly | string | packages/security/src/auth/crud.ts:271 |
label? | readonly | string | packages/security/src/auth/crud.ts:272 |
lastUsedAt? | readonly | string | packages/security/src/auth/crud.ts:277 |
revokedAt? | readonly | string | packages/security/src/auth/crud.ts:276 |
scopes | readonly | readonly string[] | packages/security/src/auth/crud.ts:273 |