Share via


OnBehalfOfCredentialAuthConfig type

Warning

This API is now deprecated.

This package will be deprecated by 2026-07. Please use Microsoft 365 Agents SDK instead.

Authentication configuration for OnBehalfOfCredential used in node environment

type OnBehalfOfCredentialAuthConfig = {
  authorityHost: string
  clientId: string
  tenantId: string
} & (
  | { certificateContent?: never; clientSecret: string }
  | { certificateContent: string; clientSecret?: never }
)