TokenProvider.OnEndGetToken(IAsyncResult, DateTime) Method

Definition

Executes upon calling the EndGetToken method.

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

Parameters

result
IAsyncResult

An IAsyncResult object that references the asynchronous operation to get a token.

cacheUntil
DateTime

When this method returns, contains the expiration date and time of the token information in the cache.

Returns

The SecurityToken object.

Applies to