com.microsoft.aad.adal
Copyright (c) Microsoft Corporation.
Provides the classes necessary to create a client for azure active directory to get tokens.
Classes
AuthenticationActivity |
Authentication Activity to launch WebView for authentication. |
|
AuthenticationCancelError |
Cancellation error. |
|
AuthenticationConstants |
AuthenticationConstants contains all the constant value the SDK is using. |
|
AuthenticationContext |
ADAL context to get access token, refresh token, and lookup from cache. |
|
AuthenticationException |
ADAL exception. |
|
AuthenticationParameters |
Matching to ADAL.NET It provides helper methods to get the authorization_endpoint from resource address. |
|
AuthenticationResult |
Result class to keep code, token and other info Serializable properties Mark temp properties as Transient if you dont want to keep them in serialization. |
|
CacheKey |
CacheKey will be the object for key. |
|
DateTimeAdapter | ||
DefaultTokenCacheStore |
Store/Retrieve TokenCacheItem from SharedPreferencesFileManager. SharedPreferencesFileManager saves items when it is committed in an atomic operation. |
|
FileTokenCacheStore |
Persisted cache that keeps cache in-memory until write operation. Filename should not be used on another instance of FileTokenCacheStore since read operations are not synced to file. |
|
IntuneAppProtectionPolicyRequiredException | ||
Logger |
Android log output can. If externalLogger is set, it will use that as well. Usage: Logger.v(tag, message, additionalMessage, errorCode) to log. Set custom logger: Logger.setExternalLogger(..); |
|
MemoryTokenCacheStore |
tokenCacheItem is not persisted. Memory cache does not keep static items. |
|
PackageHelper |
Gets information about calling activity. |
|
ResourceAuthenticationChallengeException |
ADAL exception for the case when server response doesn't have expected data e.g. missing header, wrong status code, invalid format |
|
StorageHelper |
Shared preferences store clear text. This class helps to encrypt/decrypt text to store. API SDK>= 18 has more security with AndroidKeyStore. Note: StorageHelper is designed for the ADAL internal encryption/decryption. Don't take dependency on it for external use. |
|
StringExtensions | ||
TokenCacheItem |
Extended result to store more info Queries will be performed over this item not the key. |
|
TokenCacheItemSerializationAdapater |
This TokenCacheItemAdapter class is a customized serializer for the family token cache item into GSON where we are trying to keep a lightweight form of tokenCacheItem by parsing the raw idToken, we can get all the claims in it, including userInfo, and tenantId. |
|
UsageAuthenticationException |
usage authentication error. |
|
UserInfo |
Contains information of a single user. |
|
WebviewHelper |
Wrapper class to handle internals for request intent and response for custom webview usage. |
|
AuthenticationConstants.AAD |
Represents the constants value for Active Directory. |
|
AuthenticationConstants.Broker |
Represents the constants for broker. |
|
AuthenticationConstants.Browser |
Holding all the constant value involved in the webview. |
|
AuthenticationConstants.Broker.CliTelemInfo |
Bundle identifiers for x-ms-clitelem info. |
|
AuthenticationConstants.OAuth2 |
Represents the constant value of oauth2 params. |
|
AuthenticationConstants.OAuth2ErrorCode |
Represents the oauth2 error code. |
|
WebviewHelper.PreKeyAuthInfo | ||
AuthenticationConstants.UIRequest |
Represents the request code. |
|
AuthenticationConstants.UIResponse |
Represents the response code. |
Interfaces
AuthenticationCallback<T> |
Callback to use with token request. User implements this callback to use result in their context. |
|
IDeviceCertificate |
Work place join related certificate is required to respond device challenge. |
|
IJWSBuilder |
Interface to construct jws message for responding certificate challenge. |
|
ITokenCacheStore |
Minimal interface needed by ADAL for cache. |
|
ITokenStoreQuery | ||
IWindowComponent |
Implement this interface to pass fragment. |
|
AuthenticationParameters.AuthenticationParamCallback |
Callback to use for async request. |
|
Logger.ILogger |
Interface for apps to configure the external logging. |
Enums
ADALError |
ADAL Error codes. |
AuthenticationSettings |
Settings to be used in AuthenticationContext. |
PromptBehavior |
Prompt Behaviors that sets the behavior for authentication activity launch. |
AuthenticationResult.AuthenticationStatus |
Status for authentication. |
Logger.LogLevel |
Enum class for LogLevel that the sdk recognizes. |
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for