Files
CommunitySolidServer/src/identity/interaction/util/OwnershipValidator.ts
Joachim Van Herwegen 6bfe1bdccc feat: Change OwnershipValidator to create own token
It also no longer checks the issuer triple
since that is independent of ownership.
2021-06-01 15:38:55 +02:00

9 lines
395 B
TypeScript

import { AsyncHandler } from '../../../util/handlers/AsyncHandler';
/**
* A class that validates if a someone owns a WebId.
* Will throw an error if the WebId is not valid or ownership could not be validated.
* The error message should contain a description of what is wrong and how it can be resolved.
*/
export abstract class OwnershipValidator extends AsyncHandler<{ webId: string }> {}