Udostępnij za pośrednictwem


OAuthTokenProvider.OnBeginGetToken Method

Definition

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