mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
10 lines
383 B
TypeScript
10 lines
383 B
TypeScript
import type { HttpRequest } from '../server/HttpRequest';
|
|
import { AsyncHandler } from '../util/AsyncHandler';
|
|
import type { Credentials } from './Credentials';
|
|
|
|
/**
|
|
* Responsible for extracting credentials from an incoming request.
|
|
* Will return `null` if no credentials were found.
|
|
*/
|
|
export abstract class CredentialsExtractor extends AsyncHandler<HttpRequest, Credentials> {}
|