Add dependency on @actions/cache
This commit is contained in:
parent
9990b406c2
commit
38c2c091e8
1693 changed files with 204435 additions and 23 deletions
20
node_modules/@azure/ms-rest-js/es/lib/credentials/azureIdentityTokenCredentialAdapter.d.ts
generated
vendored
Normal file
20
node_modules/@azure/ms-rest-js/es/lib/credentials/azureIdentityTokenCredentialAdapter.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue