ruchy-syntax-tools
Version:
Comprehensive syntax highlighting and language support for the Ruchy programming language
11 lines (10 loc) • 521 B
TypeScript
import ifm = require('../Interfaces');
export declare class BearerCredentialHandler implements ifm.IRequestHandler {
token: string;
allowCrossOriginAuthentication: boolean;
origin: string;
constructor(token: string, allowCrossOriginAuthentication?: boolean);
prepareRequest(options: any): void;
canHandleAuthentication(response: ifm.IHttpClientResponse): boolean;
handleAuthentication(httpClient: ifm.IHttpClient, requestInfo: ifm.IRequestInfo, objs: any): Promise<ifm.IHttpClientResponse>;
}