Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/security / / ParseTokenOptions
Interface: ParseTokenOptions
Defined in: packages/security/src/auth/token-format.ts:97
Options for parseToken(...).
Stable
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
acceptEnvironments? | readonly | readonly string[] | Override the accepted environments. Defaults to TOKEN_ENVIRONMENTS. An empty array is treated as "accept any non-empty lowercase ASCII label". | packages/security/src/auth/token-format.ts:105 |
acceptPrefix? | readonly | string | Override the accepted prefix. Defaults to DEFAULT_TOKEN_PREFIX. | packages/security/src/auth/token-format.ts:99 |