16 lines
740 B
TypeScript
16 lines
740 B
TypeScript
/*
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License.
|
|
*/
|
|
|
|
import { CommonClientCredentialRequest } from "@azure/msal-common/node";
|
|
import { ManagedIdentityRequestParams } from "./ManagedIdentityRequestParams.js";
|
|
|
|
/**
|
|
* ManagedIdentityRequest
|
|
* - forceRefresh - forces managed identity requests to skip the cache and make network calls if true
|
|
* - resource - resource requested to access the protected API. It should be of the form "{ResourceIdUri}" or {ResourceIdUri/.default}. For instance https://management.azure.net or, for Microsoft Graph, https://graph.microsoft.com/.default
|
|
*/
|
|
export type ManagedIdentityRequest = ManagedIdentityRequestParams &
|
|
CommonClientCredentialRequest;
|