Skip to content

AuthorizeOptions

Defined in: src/server/http.ts:209

Options for authorize.

Type Parameter
Action extends string
Resource
Grant
Property Type Description Defined in
authorization AuthorizationProvider<Action, Resource> The host’s provider, consulted for host-authenticated principals only. src/server/http.ts:211
scope? (grant, action, resource) => boolean | Promise<boolean> Decide what a scoped grant may do. Without it, scoped principals are denied everything. src/server/http.ts:216