feat: centralize application framework primitives
This commit is contained in:
1 parent
96e082b943
commit
a3ddd39b7b
73 files changed
+1429
-84
No files matched your search
@@ -157,8 +157,11 @@ export {
|
||||
guardPermission,
|
||||
filterCan,
|
||||
AUTHZ_LOCALS_KEY,
|
||||
getRequestAuthorization,
|
||||
} from "./middleware.ts";
|
||||
export type { GuardOptions } from "./middleware.ts";
|
||||
export type { GuardOptions, AuthorizationResponses, RequestAuthorization } from "./middleware.ts";
|
||||
export { defineAuthorizedHandler, defineOwnedResource } from "./resource.ts";
|
||||
export type { AuthorizedHandlerOptions, OwnedResourceDefinition } from "./resource.ts";
|
||||
export type {
|
||||
AuthzScope,
|
||||
AuthzCatalog,
|
||||
@@ -169,3 +172,7 @@ export type {
|
||||
} from "./types.ts";
|
||||
export type { AuthorizeDecisionOptions } from "./advanced.ts";
|
||||
export { generatePermissionTypes } from "./codegen.ts";
|
||||
export { authzPlugin } from "./plugin.ts";
|
||||
export type { AuthzConfig } from "./plugin.ts";
|
||||
export { assignDefaultAuthzRoles, setDefaultAuthzRoles } from "./defaults.ts";
|
||||
export type { AuthzIdentityEvent } from "./defaults.ts";
|
||||
Reference in new issue
Block a user