adapters — Code View¶
← Back to Container | ← Back to System
Component Information¶
| Field | Value |
|---|---|
| Component | adapters |
| Container | @chrislyons-dev/flarelette-jwt |
| Type | module |
| Description | Component inferred from directory: adapters |
| --- |
Code Structure¶
Class Diagram¶

Code Elements¶
3 code element(s)
#### Functions ##### `bindEnv()` Store both environment variables and service bindings globally | Field | Value | | --- | --- | | **Type** | `function` | | **Visibility** | `public` | | **Returns** | `void` || **Location** | `C:/Users/chris/git/flarelette-jwt-kit/packages/flarelette-jwt-ts/src/adapters/hono.ts:13` | **Parameters:** - `env`:import("C:/Users/chris/git/flarelette-jwt-kit/packages/flarelette-jwt-ts/src/types").WorkerEnv --- ##### `getServiceBinding()` Get service binding by name from global storage | Field | Value | | --- | --- | | **Type** | `function` | | **Visibility** | `private` | | **Returns** | `import("C:/Users/chris/git/flarelette-jwt-kit/packages/flarelette-jwt-ts/src/types").Fetcher` || **Location** | `C:/Users/chris/git/flarelette-jwt-kit/packages/flarelette-jwt-ts/src/adapters/hono.ts:35` | **Parameters:** - `name`: string --- ##### `makeKit()` Returns a namespaced kit whose calls use the provided env bag. Automatically injects JWKS service binding if configured. | Field | Value | | --- | --- | | **Type** | `function` | | **Visibility** | `public` | | **Returns** | `{ sign: typeof import("C:/Users/chris/git/flarelette-jwt-kit/packages/flarelette-jwt-ts/src/sign").sign; verify: (token: string, opts?: Partial<{ iss: string; aud: string; leeway: number; }>) => Promiseimport("C:/Users/chris/git/flarelette-jwt-kit/packages/flarelette-jwt-ts/src/types").WorkerEnv ---