AuthOptions<Scopes, Grants>
Configuration options for Auth
Type Parameters
| Type Parameter |
|---|
|
|
|
|
Properties
| Property | Type | Description |
|---|---|---|
|
|
Per-scope cache key overrides. Recommended for scopes whose argument isn't safely auto-serializable: serializable args (primitives, plain objects, arrays of those) are stringified automatically, and anything else falls back to reference identity — which may miss cache hits when callers construct equivalent-but-distinct values. | |
|
( |
Default authorization scopes for queries, mutations or subscriptions | |
|
Custom error resolver for authorization failures |