mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
9 lines
395 B
TypeScript
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 }> {}
|