OAuthTokenProvider.OnBeginGetToken Method
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.
Retrieves a token when the provider begins.
protected override IAsyncResult OnBeginGetToken (string appliesTo, string action, TimeSpan timeout, AsyncCallback callback, object state);
override this.OnBeginGetToken : string * string * TimeSpan * AsyncCallback * obj -> IAsyncResult
Protected Overrides Function OnBeginGetToken (appliesTo As String, action As String, timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult
Parameters
- appliesTo
- String
The provider in which the token will be applied.
- action
- String
The action.
- timeout
- TimeSpan
The duration.
- callback
- AsyncCallback
The callback.
- state
- Object
The state of the operation.
Returns
The asynchronous result of the operation.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET