Skip to content

Commit

Permalink
Re-export TokenCredential and RequestOptionsBase
Browse files Browse the repository at this point in the history
  • Loading branch information
daviwil committed Jun 6, 2019
1 parent 5ea11cf commit fb0e570
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sdk/identity/identity/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ export { IdentityClientOptions } from "./client/identityClient";
export { EnvironmentCredential } from "./credentials/environmentCredential";
export { ClientSecretCredential } from "./credentials/clientSecretCredential";

export { TokenCredential, RequestOptionsBase, TransferProgressEvent } from "@azure/core-http";

export function getDefaultAzureCredential(): TokenCredential {
return new EnvironmentCredential();
}

0 comments on commit fb0e570

Please sign in to comment.