tokenClientCredentials.d.ts 418 B

12345678910
  1. import { ServiceClientCredentials } from "@azure/ms-rest-js";
  2. export interface TokenResponse {
  3. readonly tokenType: string;
  4. readonly accessToken: string;
  5. readonly [x: string]: any;
  6. }
  7. export interface TokenClientCredentials extends ServiceClientCredentials {
  8. getToken<TTokenResponse extends TokenResponse>(): Promise<TokenResponse | TTokenResponse>;
  9. }
  10. //# sourceMappingURL=tokenClientCredentials.d.ts.map