public class MsalRuntimeFuture extends CompletableFuture<Object>
These futures will be returned to the MSAL Java Brokers layer, and chained to a future that was created by MSAL Java and returned as part of an acquire token call
Once this future is completed in a callback, the future it was chained will convert the interop layer's result into an MSAL Java AuthenticationResult, and complete the future like a normal acquire token call
CompletableFuture.AsynchronousCompletionTask| Constructor and Description |
|---|
MsalRuntimeFuture(com.sun.jna.Callback callback) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelAsyncOperation()
Calls MSALRuntime's cancel API to cancel the related async operation, and releases the async
handle
|
acceptEither, acceptEitherAsync, acceptEitherAsync, allOf, anyOf, applyToEither, applyToEitherAsync, applyToEitherAsync, cancel, complete, completedFuture, completeExceptionally, exceptionally, get, get, getNow, getNumberOfDependents, handle, handleAsync, handleAsync, isCancelled, isCompletedExceptionally, isDone, join, obtrudeException, obtrudeValue, runAfterBoth, runAfterBothAsync, runAfterBothAsync, runAfterEither, runAfterEitherAsync, runAfterEitherAsync, runAsync, runAsync, supplyAsync, supplyAsync, thenAccept, thenAcceptAsync, thenAcceptAsync, thenAcceptBoth, thenAcceptBothAsync, thenAcceptBothAsync, thenApply, thenApplyAsync, thenApplyAsync, thenCombine, thenCombineAsync, thenCombineAsync, thenCompose, thenComposeAsync, thenComposeAsync, thenRun, thenRunAsync, thenRunAsync, toCompletableFuture, toString, whenComplete, whenCompleteAsync, whenCompleteAsyncCopyright © 2023. All rights reserved.