Askr
Generated API snapshot

@askrjs/auth

Exports from the declarations published in @askrjs/auth 0.0.3. Signatures are generated from the installed artifact.

  • @askrjs/auth0.0.3

Exports

This entrypoint publishes 19 exports. Use the anchored symbol rows for direct links. Type-only exports are labeled separately from runtime values.

allOftype

allOf: (...requirements: readonly AuthRequirement[]) => AuthRequirement

anyOftype

anyOf: (...requirements: readonly AuthRequirement[]) => AuthRequirement

createAuthtype

createAuth: <P extends Principal = Principal, S extends AuthSession = AuthSession>(options?: AuthOptions<P, S>) => AuthResolver<P, S>

requireRoletype

requireRole: (role: string) => AuthRequirement

requireScopetype

requireScope: (scope: string) => AuthRequirement