CommonClientCredentialRequest type

CommonClientCredentialRequest

  • scopes - 应用程序请求访问的范围数组。
  • authority - 颁发机构 URL、MSAL 将从中获取令牌的安全令牌服务(STS)。
  • correlationId - 每个请求的唯一 GUID 集,用于跟踪用于遥测目的的请求端到端。
  • skipCache - 跳过令牌缓存查找并强制请求授权以获取新令牌。 默认值为 false。
  • preferredAzureRegionOptions - 用户的首选 Azure 区域的选项
  • tokenQueryParameters - 添加到 /token 调用的自定义查询参数的字符串映射
type CommonClientCredentialRequest = BaseAuthRequest & {
  azureRegion?: AzureRegion
  clientAssertion?: ClientAssertion
  skipCache?: boolean
}