SecurityTokenService::BeginRenew Method (ClaimsPrincipal^, RequestSecurityToken^, AsyncCallback^, Object^)
When overridden in a derived class, begins an asynchronous WS-Trust Renew request.
Assembly: System.IdentityModel (in System.IdentityModel.dll)
public: virtual IAsyncResult^ BeginRenew( ClaimsPrincipal^ principal, RequestSecurityToken^ request, AsyncCallback^ callback, Object^ state )
Parameters
- principal
-
Type:
System.Security.Claims::ClaimsPrincipal^
A ClaimsPrincipal that represents the identity of the token requestor.
- request
-
Type:
System.IdentityModel.Protocols.WSTrust::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
-
Type:
System::AsyncCallback^
The AsyncCallback delegate that receives notification of the completion of the asynchronous renew operation.
- state
-
Type:
System::Object^
An object that contains state information associated with the asynchronous renew operation.
Return Value
Type: System::IAsyncResult^The IAsyncResult that references the asynchronous renew operation.
The default implementation of this method throws an InvalidRequestException.
Available since 4.5