fix: add documentation for many classes where it was missing

This commit is contained in:
Joachim Van Herwegen
2020-06-24 16:27:38 +02:00
parent 39853b0bd0
commit fe11f4b1ce
18 changed files with 62 additions and 2 deletions

View File

@@ -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) {