ManagedIdentityRequestParams type

管理身份請求

  • 理賠 - 一種嚴格的理賠請求,用來判斷是否應該跳過快取
  • forceRefresh - 如果為真,則強制受管理身份請求跳過快取並進行網路呼叫
  • 資源 - 請求存取受保護 API 的資源。 它應該是「ResourceIdUri」或「ResourceIdUri/.default」這樣的格式。 例如https://management.azure.net,對於 Microsoft Graph 來說,https://graph.microsoft.com/.default
type ManagedIdentityRequestParams = {
  claims?: string
  forceRefresh?: boolean
  resource: string
}