aboutsummaryrefslogtreecommitdiff
path: root/node_modules/typed-rest-client/handlers/bearertoken.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/typed-rest-client/handlers/bearertoken.d.ts')
-rw-r--r--node_modules/typed-rest-client/handlers/bearertoken.d.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/node_modules/typed-rest-client/handlers/bearertoken.d.ts b/node_modules/typed-rest-client/handlers/bearertoken.d.ts
new file mode 100644
index 0000000..c08496f
--- /dev/null
+++ b/node_modules/typed-rest-client/handlers/bearertoken.d.ts
@@ -0,0 +1,8 @@
+import ifm = require('../Interfaces');
+export declare class BearerCredentialHandler implements ifm.IRequestHandler {
+ token: string;
+ constructor(token: string);
+ prepareRequest(options: any): void;
+ canHandleAuthentication(response: ifm.IHttpClientResponse): boolean;
+ handleAuthentication(httpClient: ifm.IHttpClient, requestInfo: ifm.IRequestInfo, objs: any): Promise<ifm.IHttpClientResponse>;
+}