Loading docs/index.md +1 −1 Original line number Diff line number Diff line Loading @@ -59,7 +59,7 @@ features: <a href="https://nodeinfo.diaspora.software/">NodeInfo</a> server link: /manual/nodeinfo.md - icon: 🤝 title: Interoparability title: Interoperability details: >- Special touch for interoperability with Mastodon and few other popular fediverse software Loading docs/manual/access-control.md +2 −2 Original line number Diff line number Diff line Loading @@ -52,7 +52,7 @@ federation }); ~~~~ The equivalet method is available for collections as well: The equivalent method is available for collections as well: ~~~~ typescript{8-10} import { federation } from "./your-federation.ts"; Loading @@ -74,7 +74,7 @@ If the predicate returns `false`, the request is rejected with a Fine-grained access control --------------------------- You may not want to block everything from an unauthroized user, but only filter You may not want to block everything from an unauthorized user, but only filter some resources. For example, you may want to show some private posts to a specific group of users. In such cases, you can use the `RequestContext.getSignedKeyOwner()` method to get the actor who signed Loading httpsig/mod.ts +1 −1 Original line number Diff line number Diff line Loading @@ -231,7 +231,7 @@ export async function doesActorOwnKey( * @param keyId The ID of the key to check, or the key itself. * @param documentLoader The document loader to use for fetching the key and its owner. * @returns The actor that owns the key, or `null` if the key has no known owner. * @sicne 0.7.0 * @since 0.7.0 */ export async function getKeyOwner( keyId: URL | CryptographicKey, Loading Loading
docs/index.md +1 −1 Original line number Diff line number Diff line Loading @@ -59,7 +59,7 @@ features: <a href="https://nodeinfo.diaspora.software/">NodeInfo</a> server link: /manual/nodeinfo.md - icon: 🤝 title: Interoparability title: Interoperability details: >- Special touch for interoperability with Mastodon and few other popular fediverse software Loading
docs/manual/access-control.md +2 −2 Original line number Diff line number Diff line Loading @@ -52,7 +52,7 @@ federation }); ~~~~ The equivalet method is available for collections as well: The equivalent method is available for collections as well: ~~~~ typescript{8-10} import { federation } from "./your-federation.ts"; Loading @@ -74,7 +74,7 @@ If the predicate returns `false`, the request is rejected with a Fine-grained access control --------------------------- You may not want to block everything from an unauthroized user, but only filter You may not want to block everything from an unauthorized user, but only filter some resources. For example, you may want to show some private posts to a specific group of users. In such cases, you can use the `RequestContext.getSignedKeyOwner()` method to get the actor who signed Loading
httpsig/mod.ts +1 −1 Original line number Diff line number Diff line Loading @@ -231,7 +231,7 @@ export async function doesActorOwnKey( * @param keyId The ID of the key to check, or the key itself. * @param documentLoader The document loader to use for fetching the key and its owner. * @returns The actor that owns the key, or `null` if the key has no known owner. * @sicne 0.7.0 * @since 0.7.0 */ export async function getKeyOwner( keyId: URL | CryptographicKey, Loading