SecurityTokenProvider.EndGetToken(IAsyncResult) Method

Definition

Completes an asynchronous operation to get a security token.

public:
 System::IdentityModel::Tokens::SecurityToken ^ EndGetToken(IAsyncResult ^ result);
public System.IdentityModel.Tokens.SecurityToken EndGetToken (IAsyncResult result);
member this.EndGetToken : IAsyncResult -> System.IdentityModel.Tokens.SecurityToken
Public Function EndGetToken (result As IAsyncResult) As SecurityToken

Parameters

result
IAsyncResult

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

Returns

The SecurityToken that represents the security token.

Remarks

The EndGetToken method calls the EndGetTokenCore method.

Applies to