Permalink
Cannot retrieve contributors at this time
20 lines (20 sloc)
1.01 KB
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
codeql-action/node_modules/@azure/ms-rest-js/es/lib/credentials/azureIdentityTokenCredentialAdapter.d.ts
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { ServiceClientCredentials } from "./serviceClientCredentials"; | |
import { WebResource } from "../webResource"; | |
import { TokenCredential } from "@azure/core-auth"; | |
import { TokenResponse } from "./tokenResponse"; | |
/** | |
* Resource manager endpoints to match in order to specify a valid scope to the AzureIdentityCredentialAdapter. | |
*/ | |
export declare const azureResourceManagerEndpoints: string[]; | |
/** | |
* This class provides a simple extension to use {@link TokenCredential} from `@azure/identity` library to | |
* use with legacy Azure SDKs that accept {@link ServiceClientCredentials} family of credentials for authentication. | |
*/ | |
export declare class AzureIdentityCredentialAdapter implements ServiceClientCredentials { | |
private azureTokenCredential; | |
private scopes; | |
constructor(azureTokenCredential: TokenCredential, scopes?: string | string[]); | |
getToken(): Promise<TokenResponse>; | |
signRequest(webResource: WebResource): Promise<WebResource>; | |
} | |
//# sourceMappingURL=azureIdentityTokenCredentialAdapter.d.ts.map |