MSALLogMaskingLevel

Objective-C

enum MSALLogMaskingLevel : NSInteger {}

Swift

enum MSALLogMaskingLevel : Int, @unchecked Sendable

Undocumented

  • MSAL will not return any messages with any user or organizational information. This includes EUII and EUPI. This is the default level.

    Declaration

    Objective-C

    MSALLogMaskingSettingsMaskAllPII

    Swift

    case settingsMaskAllPII = 0
  • MSAL logs will still include OII (organization identifiable information), and EUPI (end user pseudonymous identifiers), but MSAL will try to exclude and/or mask any EUII (end user identifiable information) like UPN, username, email from its logs.

    Declaration

    Objective-C

    MSALLogMaskingSettingsMaskEUIIOnly

    Swift

    case settingsMaskEUIIOnly = 1
  • MSAL logs will still include OII (organization identifiable information), EUPI (end user pseudonymous identifiers), and EUII (end user identifiable information) like UPN, username, email from its logs. MSAL will still hide all secrets like tokens from its logs

    Declaration

    Objective-C

    MSALLogMaskingSettingsMaskSecretsOnly

    Swift

    case settingsMaskSecretsOnly = 2