Microsoft.​Identity​Model.​Clients.​Active​Directory Namespace

Contains classes and interfaces that support access to attributes of an Active Directory client.

Classes

AdalError

Error code returned as a property in AdalException

AdalException

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

AdalOption

Helper class to get ADAL EventSource

AdalServiceException

The exception type thrown when user returned by service does not match user in the request.

AdalSilentTokenAcquisitionException

The exception type thrown when a token cannot be acquired silently.

AdalUserMismatchException

The exception type thrown when user returned by service does not match user in the request.

AuthenticationContext

The AuthenticationContext class retrieves authentication tokens from Azure Active Directory and ADFS services.

AuthenticationContextIntegratedAuthExtensions

Extension class to support username/password flow.

AuthenticationParameters

Contains authentication parameters based on unauthorized response from resource server.

AuthenticationResult

Contains the results of one token acquisition operation.

ClientAssertion

Credential type containing an assertion of type "urn:ietf:params:oauth:token-type:jwt".

ClientAssertionCertificate

Containing certificate used to create client assertion.

ClientCredential

Credential including client id and secret.

DeviceCodeResult

This class represents the response from the service when requesting device code.

LoggerCallbackHandler

This class is responsible for managing the callback state and its execution.

PlatformParameters

Additional parameters used in acquiring user's authorization

SecureClientSecret

This class allows to pass client secret as a SecureString to the API.

TokenCache

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

TokenCacheItem

Token cache item

TokenCacheNotificationArgs

Contains parameters used by the ADAL call accessing the cache.

UserAssertion

Credential type containing an assertion representing user credential.

UserCredential

Credential used for integrated authentication on domain-joined machines.

UserIdentifier

Contains identifier for a user.

UserInfo

Contains information of a single user. This information is used for token cache lookup. Also if created with userId, userId is sent to the service when login_hint is accepted.

UserPasswordCredential

Credential used for username/password authentication.

Interfaces

IAdalLogCallback

Callback for capturing ADAL logs to custom logging schemes.

IClientAssertionCertificate

Interface for implementing certificate based operations

IPlatformParameters

Empty interface implemented in each supported platform.

ISecureClientSecret

Interface to allow for client secret to be passed in as a SecureString

Enums

LogLevel

ADAL Log Levels

PromptBehavior

Indicates whether AcquireToken should automatically prompt only if necessary or whether it should prompt regardless of whether there is a cached token.

UserIdentifierType

Indicates the type of UserIdentifier

Delegates

TokenCache.TokenCacheNotification

Notification for certain token cache interactions during token acquisition.