Muokkaa

Jaa


SecurityTokenService.BeginRenew Method

Definition

When overridden in a derived class, begins an asynchronous WS-Trust Renew request.

public:
 virtual IAsyncResult ^ BeginRenew(System::Security::Claims::ClaimsPrincipal ^ principal, System::IdentityModel::Protocols::WSTrust::RequestSecurityToken ^ request, AsyncCallback ^ callback, System::Object ^ state);
public virtual IAsyncResult BeginRenew (System.Security.Claims.ClaimsPrincipal principal, System.IdentityModel.Protocols.WSTrust.RequestSecurityToken request, AsyncCallback callback, object state);
abstract member BeginRenew : System.Security.Claims.ClaimsPrincipal * System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * AsyncCallback * obj -> IAsyncResult
override this.BeginRenew : System.Security.Claims.ClaimsPrincipal * System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * AsyncCallback * obj -> IAsyncResult
Public Overridable Function BeginRenew (principal As ClaimsPrincipal, request As RequestSecurityToken, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

principal
ClaimsPrincipal

A ClaimsPrincipal that represents the identity of the token requestor.

request
RequestSecurityToken

A RequestSecurityToken that represents the security token request. This includes the request message as well as other client related information such as authorization context.

callback
AsyncCallback

The AsyncCallback delegate that receives notification of the completion of the asynchronous renew operation.

state
Object

An object that contains state information associated with the asynchronous renew operation.

Returns

The IAsyncResult that references the asynchronous renew operation.

Remarks

The default implementation of this method throws an InvalidRequestException.

Applies to