Skip to content

createShelfAuth

createShelfAuth(options): ShelfAuth

Defined in: packages/auth/src/engine.ts:783

Create the shelf auth engine over any DatabaseAdapter.

Returns the raw instance (mount auth.handler, call auth.api.*) plus the Auth singleton (check/destroySession, invites, descriptors).

ShelfAuthOptions

ShelfAuth