SecurityTokenService.BeginRenew(ClaimsPrincipal, RequestSecurityToken, AsyncCallback, Object) Método
Definição
Quando substituído em uma classe derivada, inicia uma solicitação Renew do WS-Trust assíncrona.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
Parâmetros
- principal
- ClaimsPrincipal
Um ClaimsPrincipal que representa a identidade do solicitante do token.A ClaimsPrincipal that represents the identity of the token requestor.
- request
- RequestSecurityToken
Um RequestSecurityToken que representa a solicitação do token de segurança.A RequestSecurityToken that represents the security token request. Isso inclui a mensagem de solicitação, bem como outras informações relacionadas ao cliente, como o contexto de autorização.This includes the request message as well as other client related information such as authorization context.
- callback
- AsyncCallback
O delegado AsyncCallback que recebe a notificação da conclusão da operação de renovação assíncrona.The AsyncCallback delegate that receives notification of the completion of the asynchronous renew operation.
- state
- Object
Um objeto que contém informações de estado associadas à operação de renovação assíncrona.An object that contains state information associated with the asynchronous renew operation.
Retornos
Um IAsyncResult que faz referência à operação de renovação assíncrona.The IAsyncResult that references the asynchronous renew operation.
Comentários
A implementação padrão desse método gera um InvalidRequestException .The default implementation of this method throws an InvalidRequestException.