diff options
author | Jakob Odersky <jakob@odersky.com> | 2019-09-22 20:27:41 -0400 |
---|---|---|
committer | Jakob Odersky <jakob@odersky.com> | 2019-09-22 22:04:57 -0400 |
commit | cbd98bd0f31142ba17138f3bba9941a705fe5109 (patch) | |
tree | 3daef11e2fdde33b68de18e1729c46a217a9c01d /node_modules/typed-rest-client/handlers/bearertoken.d.ts | |
download | setup-mill-cbd98bd0f31142ba17138f3bba9941a705fe5109.tar.gz setup-mill-cbd98bd0f31142ba17138f3bba9941a705fe5109.tar.bz2 setup-mill-cbd98bd0f31142ba17138f3bba9941a705fe5109.zip |
Initial commitv0.1.0
Diffstat (limited to 'node_modules/typed-rest-client/handlers/bearertoken.d.ts')
-rw-r--r-- | node_modules/typed-rest-client/handlers/bearertoken.d.ts | 8 |
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>; +} |