Class TokenCredentialDiagnosticsOptions
Exposes client options related to logging, telemetry, and distributed tracing.
public class TokenCredentialDiagnosticsOptions : DiagnosticsOptions
- Inheritance
-
TokenCredentialDiagnosticsOptions
Constructors
TokenCredentialDiagnosticsOptions()
public TokenCredentialDiagnosticsOptions()
Properties
IsAccountIdentifierLoggingEnabled
If true
, we try to log the account identifiers by parsing the received access token.
The account identifiers we try to log are:
- The Application or Client Identifier
- User Principal Name
- Tenant Identifier
- Object Identifier of the authenticated user or application
public bool IsAccountIdentifierLoggingEnabled { get; set; }