BeforeTokenAcquisitionForOnBehalfOfAsync Delegate
Definition
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.
Signature for token acquisition extensions that act on the request builder, for on-behalf-of flow (Async version).
public delegate System.Threading.Tasks.Task BeforeTokenAcquisitionForOnBehalfOfAsync(AcquireTokenOnBehalfOfParameterBuilder builder, AcquireTokenOptions? acquireTokenOptions, OnBehalfOfEventArgs eventArgs);
type BeforeTokenAcquisitionForOnBehalfOfAsync = delegate of AcquireTokenOnBehalfOfParameterBuilder * AcquireTokenOptions * OnBehalfOfEventArgs -> Task
Public Delegate Function BeforeTokenAcquisitionForOnBehalfOfAsync(builder As AcquireTokenOnBehalfOfParameterBuilder, acquireTokenOptions As AcquireTokenOptions, eventArgs As OnBehalfOfEventArgs) As Task
Parameters
Builder
- acquireTokenOptions
- AcquireTokenOptions
Token acquisition options for the request. Can be null.
- eventArgs
- OnBehalfOfEventArgs
Event arguments containing user claims and additional context information.