@inrupt/solid-client
Version:
Make your web apps work with Solid Pods.
17 lines (16 loc) • 619 B
TypeScript
import type { AccessModes, ThingPersisted } from "../../interfaces";
/**
* ```{note}
* The ACP specification is a draft. As such, this function is experimental and
* subject to change, even in a non-major release.
* See also: https://solid.github.io/authorization-panel/acp-specification/
* ```
*
* Policies allow or deny access modes over resources and their associated
* access control resource.
*
* @param policy The Policy Thing which denies retrieved access modes.
* @returns Policy URL array.
* @since 1.16.1
*/
export declare function getDenyModes<T extends ThingPersisted>(policy: T): AccessModes;