Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

validatePermissions

See if the stored UCANs in a repository conform to the given Permissions.

This returns the last encountered valid UCAN.

function validatePermissions(repo: Repository<Ucan.Ucan>, { app, fs, raw }: Permissions.Permissions): Maybe<Ucan.Ucan>;
§
validatePermissions(repo: Repository<Ucan.Ucan>, { app, fs, raw }: Permissions.Permissions): Maybe<Ucan.Ucan>
[src]