mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
feat: add CompositeAsyncHandler to support multiple handlers
This commit is contained in:
@@ -7,7 +7,7 @@ import { ResourceIdentifier } from '../ldp/representation/ResourceIdentifier';
|
||||
* Verifies if the given credentials have access to the given permissions on the given resource.
|
||||
* An {@link Error} with the necessary explanation will be thrown when permissions are not granted.
|
||||
*/
|
||||
export type Authorizer = AsyncHandler<AuthorizerArgs>;
|
||||
export abstract class Authorizer extends AsyncHandler<AuthorizerArgs> {}
|
||||
|
||||
export interface AuthorizerArgs {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user