| Interface | Description |
|---|---|
| MsalRuntimeLibrary |
Uses Java Native Access (JNA) to call C++ functions from Java, and perform conversions between
Java classes and native types
In order for JNA to call the correct MSALRuntime API, the names and number of parameters in this
interface's methods must match those found in MSALRuntime's header files
As for data types, JNA should be able to convert any basic Java type (int, long, String, etc.),
and it offers a number of classes to mimic native types that have no clear Java equivalent
(LongByReference for long*, Pointer for void*, etc.)
|
| Class | Description |
|---|---|
| Account |
Represents an MSALRuntime account in a way that MSAL Java can use to create its own Account
object
|
| AccountHandle |
Represents an MSALRUNTIME_ACCOUNT_HANDLE
|
| AsyncHandle |
Represents an MSALRUNTIME_ASYNC_HANDLE
|
| AuthParameters |
Represents the auth parameters sent to MSALRuntime's SignIn and AcquireToken APIs
|
| AuthParameters.AuthParametersBuilder | |
| AuthParametersHandle |
Represents an MSALRUNTIME_AUTH_PARAMETERS_HANDLE
|
| AuthResult |
Contains all of the behavior needed to parse the result of calls to MSALRuntime's SignIn and
AcquireToken APIs, and to complete an associated AsyncHandler using that parsed result
|
| AuthResultHandle |
Represents an MSALRUNTIME_AUTH_RESULT_HANDLE
|
| Callbacks |
Class used to encapsulate the behavior of callback methods which are passed into various
MSALRuntime APIs, and are called by MSALRuntime when some result is ready to be parsed by the
interop
|
| Callbacks.LogCallback | |
| Callbacks.ReadAccountResultCallback | |
| Callbacks.SignOutResultCallback | |
| ErrorHandle |
Represents an MSALRUNTIME_ERROR_HANDLE
|
| LogCallbackHandle | |
| MsalRuntimeFuture |
Contains any functionality needed to allow callbacks sent to MSALRuntime to complete futures
|
| MsalRuntimeInterop |
A set of APIs intended to map more-or-less directly MSALRuntime's APIs, particularly those
related to signing in/signing out users, acquiring tokens, and getting account information
All of MsalRuntimeInterop's APIs are non-static, therefore an MsalRuntimeInterop instance
must be created before any calls to MSALRuntime are made
This class has a static block that will be called when the first MSALRuntimeInterop instance is
created, ensuring that any required initialization steps are performed before the first call to
any MSALRuntime API
|
| ReadAccountResult |
Contains all of the behavior needed to parse the result of calls to MSALRuntime's ReadAccount
APIs, and to complete an associated AsyncHandler using that parsed result
|
| ReadAccountResultHandle |
Represents an single MSALRUNTIME_READ_ACCOUNT_RESULT_HANDLE
|
| SignOutResult |
Contains all of the behavior needed to parse the result of calls to MSALRuntime's SignOut APIs,
and to complete an associated AsyncHandler using that parsed result
|
| SignOutResultHandle |
Represents an MSALRUNTIME_SIGNOUT_RESULT_HANDLE
|
| Enum | Description |
|---|---|
| MsalRuntimeResponseStatus |
Values here match those in MSALRuntime's MSALRuntimeTypes.MSALRUNTIME_RESPONSE_STATUS enum
|
| Exception | Description |
|---|---|
| MsalInteropException |
A simple class that can be used to create Exceptions with descriptive messages and our own error
codes
|
Copyright © 2023. All rights reserved.