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 *  -> System.IdentityModel.Tokens.SecurityToken
Protected Overrides Function OnEndGetToken (result As IAsyncResult, ByRef cacheUntil As DateTime) As SecurityToken

Parameters

result
System.IAsyncResult

The result of the operation.

cacheUntil
System.DateTime

The duration for the provider to store data.

Returns

System.IdentityModel.Tokens.SecurityToken

The retrieved token.

Applies to