Microsoft.IdentityModel.Clients.ActiveDirectory Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains classes and interfaces that support access to attributes of an Active Directory client.
Classes
AdalClaimChallengeException |
The exception type thrown when a claims challenge error occurs during token acquisition. |
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 |
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. |
Interfaces
IAdalLogCallback |
Callback for capturing ADAL logs to custom logging schemes. |
IClientAssertionCertificate |
Interface for implementing certificate based operations |
IHttpClientFactory |
Factory responsible for creating HttpClient(s); .Net recommends to use a single instance of HttpClient |
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
LogCallback |
Callback delegate that allows the developer to consume logs handle them in a custom manner. |
TokenCache.TokenCacheNotification |
Notification for certain token cache interactions during token acquisition. |