A callback that determines if a request is authorized or not.
(context: RequestContext<TContextData>,signedKey: CryptographicKey | null,signedKeyOwner: Actor | null,) => boolean | Promise<boolean>
A callback that determines if a request is authorized or not.
(context: RequestContext<TContextData>,signedKey: CryptographicKey | null,signedKeyOwner: Actor | null,) => boolean | Promise<boolean>
Add Package
deno add jsr:@fedify/fedify
Import symbol
import { type ObjectAuthorizePredicate } from "@fedify/fedify/federation";
---- OR ----
Import directly with a jsr specifier
import { type ObjectAuthorizePredicate } from "jsr:@fedify/fedify/federation";
Add Package
npx jsr add @fedify/fedify
Import symbol
import { type ObjectAuthorizePredicate } from "@fedify/fedify/federation";
Add Package
yarn dlx jsr add @fedify/fedify
Import symbol
import { type ObjectAuthorizePredicate } from "@fedify/fedify/federation";
Add Package
pnpm dlx jsr add @fedify/fedify
Import symbol
import { type ObjectAuthorizePredicate } from "@fedify/fedify/federation";
Add Package
bunx jsr add @fedify/fedify
Import symbol
import { type ObjectAuthorizePredicate } from "@fedify/fedify/federation";