Dela via


OAuthTokenProvider.OnEndGetToken(IAsyncResult, DateTime) Method

Definition

Retrieves a token when the provider ends.

protected override System.IdentityModel.Tokens.SecurityToken OnEndGetToken (IAsyncResult result, out DateTime cacheUntil);
override this.OnEndGetToken : IAsyncResult * DateTime -> System.IdentityModel.Tokens.SecurityToken
Protected Overrides Function OnEndGetToken (result As IAsyncResult, ByRef cacheUntil As DateTime) As SecurityToken

Parameters

result
IAsyncResult

The result of the operation.

cacheUntil
DateTime

The duration for the provider to store data.

Returns

The retrieved token.

Applies to