Επεξεργασία

Κοινή χρήση μέσω


SecurityTokenService.BeginValidate Method

Definition

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

public:
 virtual IAsyncResult ^ BeginValidate(System::Security::Claims::ClaimsPrincipal ^ principal, System::IdentityModel::Protocols::WSTrust::RequestSecurityToken ^ request, AsyncCallback ^ callback, System::Object ^ state);
public virtual IAsyncResult BeginValidate (System.Security.Claims.ClaimsPrincipal principal, System.IdentityModel.Protocols.WSTrust.RequestSecurityToken request, AsyncCallback callback, object state);
abstract member BeginValidate : System.Security.Claims.ClaimsPrincipal * System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * AsyncCallback * obj -> IAsyncResult
override this.BeginValidate : System.Security.Claims.ClaimsPrincipal * System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * AsyncCallback * obj -> IAsyncResult
Public Overridable Function BeginValidate (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 validate operation.

state
Object

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

Returns

The IAsyncResult that references the asynchronous validate operation.

Remarks

The default implementation of this method throws an InvalidRequestException.

Applies to