UNPKG

@azure/ms-rest-nodeauth

Version:

Azure Authentication library in node.js with type definitions.

10 lines 418 B
import { ServiceClientCredentials } from "@azure/ms-rest-js"; export interface TokenResponse { readonly tokenType: string; readonly accessToken: string; readonly [x: string]: any; } export interface TokenClientCredentials extends ServiceClientCredentials { getToken<TTokenResponse extends TokenResponse>(): Promise<TokenResponse | TTokenResponse>; } //# sourceMappingURL=tokenClientCredentials.d.ts.map