ManagedIdentityRequestParams type
ManagedIdentityRequest
- claims - 一个字符串化声明请求,用于确定是否应跳过缓存
- forceRefresh - 强制托管标识请求跳过缓存并发出网络调用(如果为 true)
- resource - 请求访问受保护 API 的资源。 它应采用“ResourceIdUri”或“ResourceIdUri/.default”格式。 例如https://management.azure.net,或者,对于Microsoft Graph,
https://graph.microsoft.com/.default
type ManagedIdentityRequestParams = {
claims?: string
forceRefresh?: boolean
resource: string
}