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]