Microsoft.Identity.Client Namespace

Contains classes, structs, and interfaces that support access to attributes of a client.

Classes

AuthenticationResult

Contains the results of one token acquisition operation.

ClientApplicationBase
ClientAssertionCertificate

Containing certificate used to create client assertion.

ClientCredential

Meant to be used in confidential client applications. Allows developers to pass either client secret or client assertion certificate of their application.

ConfidentialClientApplication

Class to be used for confidential client applications like Web Apps/API.

Logger

MSAL Logger class that allows developers to configure log level, configure callbacks etc.

MsalClientException

This exception class represents errors that are local to the library or the device.

MsalException

The exception type thrown when an error occurs during token acquisition.

MsalServiceException

The exception type thrown when service returns and error response or other networking errors occur.

MsalUiRequiredException

This exception class is to inform developers that UI interaction is required for authentication to succeed.

PublicClientApplication

Class to be used for native applications (Desktop/UWP/iOS/Android).

Telemetry
TokenCache

Token cache class used by ConfidentialClientApplication and PublicClientApplication to store access and refresh tokens.

TokenCacheExtensions
TokenCacheNotificationArgs

Contains parameters used by the MSAL call accessing the cache.

UIParent
UserAssertion

Credential type containing an assertion representing user credential.

Structs

UIBehavior

Indicates how AcquireToken should prompt the user.

Interfaces

IClientApplicationBase

Component containing common validation methods

IConfidentialClientApplication

Component to be used for confidential client applications like Web Apps/API.

IPublicClientApplication

Component to be used for native applications (Desktop/UWP/iOS/Android).

IUser

Contains information of a single user. This information is used for token cache lookup and enforcing the user session on STS authorize endpont.

Enums

Logger.LogLevel

MSAL Log Levels

Delegates

LogCallback

Callback delegate that allows the developer to consume logs handle them in a custom manner.

Telemetry.Receiver
TokenCache.TokenCacheNotification

Notification for certain token cache interactions during token acquisition.