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[]) => AuthRequirementanyOftype
anyOf: (...requirements: readonly AuthRequirement[]) => AuthRequirementAuthContexttype
AuthContext: anyAuthDecisiontype
AuthDecision: anyAuthOptionstype
AuthOptions: anyAuthRequirementtype
AuthRequirement: anyAuthResolvertype
AuthResolver: anyAuthSessiontype
AuthSession: anyClaimtype
Claim: anycreateAuthtype
createAuth: <P extends Principal = Principal, S extends AuthSession = AuthSession>(options?: AuthOptions<P, S>) => AuthResolver<P, S>Principaltype
Principal: anyPrincipalStoretype
PrincipalStore: anyrequireAnonymoustype
requireAnonymous: () => AuthRequirementrequirePermissiontype
requirePermission: (permission: string) => AuthRequirementrequireRoletype
requireRole: (role: string) => AuthRequirementrequireScopetype
requireScope: (scope: string) => AuthRequirementrequireUsertype
requireUser: () => AuthRequirementSessionStoretype
SessionStore: anyTenantResolvertype
TenantResolver: any