Delegate AzureActiveDirectoryTokenProvider.AuthenticationCallback
- Namespace
- Microsoft.ServiceBus
- Assembly
- Microsoft.ServiceBus.dll
The authentication delegate to provide access token.
public delegate Task<string> AzureActiveDirectoryTokenProvider.AuthenticationCallback(string audience, string authority, object state)
Parameters
audience
stringThe service resource URI for token acquisition.
authority
stringAddress of the authority to issue token.
state
objectState to be delivered to callback.
Returns
Constructors
AuthenticationCallback(object, nint)
public AuthenticationCallback(object @object, nint method)
Parameters
Methods
BeginInvoke(string, string, object, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(string audience, string authority, object state, AsyncCallback callback, object @object)
Parameters
audience
stringauthority
stringstate
objectcallback
AsyncCallbackobject
object
Returns
EndInvoke(IAsyncResult)
public virtual Task<string> EndInvoke(IAsyncResult result)
Parameters
result
IAsyncResult
Returns
Invoke(string, string, object)
public virtual Task<string> Invoke(string audience, string authority, object state)