@solid/community-server
Version:
Community Solid Server: an open and modular implementation of the Solid specifications
12 lines (11 loc) • 554 B
TypeScript
import type { HttpRequest } from '../server/HttpRequest';
import type { Credentials } from './Credentials';
import { CredentialsExtractor } from './CredentialsExtractor';
/**
* Credentials extractor which simply interprets the contents of the Authorization header as a WebID.
*/
export declare class UnsecureWebIdExtractor extends CredentialsExtractor {
protected readonly logger: import("global-logger-factory").Logger<unknown>;
canHandle({ headers }: HttpRequest): Promise<void>;
handle({ headers }: HttpRequest): Promise<Credentials>;
}