AppTokenProviderParameters type

IAppTokenProvider 擴充性輸入物件。 MSAL 會建立這個物件,可用來協助建立 AppTokenProviderResult。

  • correlationId-與請求相關的關聯 Id。
  • tenantId - 必須提供令牌的租戶 ID
  • 範圍 - 必須提供令牌的範圍
  • 主張 - 標記必須滿足的任何額外要求
type AppTokenProviderParameters = {
  claims?: string
  correlationId?: string
  scopes: string[]
  tenantId: string
}