Modifier

Partager via


SecurityTokenProvider.EndGetTokenCore(IAsyncResult) Method

Definition

Completes an asynchronous operation to get a security token.

protected:
 virtual System::IdentityModel::Tokens::SecurityToken ^ EndGetTokenCore(IAsyncResult ^ result);
protected virtual System.IdentityModel.Tokens.SecurityToken EndGetTokenCore (IAsyncResult result);
abstract member EndGetTokenCore : IAsyncResult -> System.IdentityModel.Tokens.SecurityToken
override this.EndGetTokenCore : IAsyncResult -> System.IdentityModel.Tokens.SecurityToken
Protected Overridable Function EndGetTokenCore (result As IAsyncResult) As SecurityToken

Parameters

result
IAsyncResult

The IAsyncResult that is returned by a call to the BeginGetTokenCore(TimeSpan, AsyncCallback, Object) method.

Returns

The SecurityToken that represents the security token.

Remarks

When you inherit from the SecurityTokenProvider class you are not required to override the asynchronous methods, as the SecurityTokenProvider base class provides asynchronous support based upon the synchronous methods. Therefore, you are not required to override the EndGetTokenCore method, unless you must provide your own asynchronous implementation.

The EndGetToken method calls the EndGetTokenCore method.

Applies to