Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/security / / VerifiedToken
Interface: VerifiedToken
Defined in: packages/security/src/auth/verify.ts:43
Result of a successful verifyToken(...) call. The shape is the minimum that callers (HTTP middleware, RPC handlers, CLI auth) need to make an authorization decision.
Stable
Properties
| Property | Modifier | Type | Defined in |
|---|---|---|---|
env | readonly | string | packages/security/src/auth/verify.ts:47 |
expiresAt? | readonly | number | packages/security/src/auth/verify.ts:48 |
label? | readonly | string | packages/security/src/auth/verify.ts:45 |
scopes | readonly | readonly ParsedScope[] | packages/security/src/auth/verify.ts:46 |
tokenId | readonly | string | packages/security/src/auth/verify.ts:44 |