mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
fix: add documentation for many classes where it was missing
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
import { UnsupportedHttpError } from '../util/errors/UnsupportedHttpError';
|
||||
import { Authorizer, AuthorizerArgs } from './Authorizer';
|
||||
|
||||
/**
|
||||
* Authorizer which allows all access independent of the identifier and requested permissions.
|
||||
*/
|
||||
export class SimpleAuthorizer extends Authorizer {
|
||||
public async canHandle(input: AuthorizerArgs): Promise<void> {
|
||||
if (!input.identifier || !input.permissions) {
|
||||
|
||||
Reference in New Issue
Block a user