SecurityTokenService.BeginValidate Method (ClaimsPrincipal, RequestSecurityToken, AsyncCallback, Object)

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

Namespace:   System.IdentityModel
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

Public Overridable Function BeginValidate (
	principal As ClaimsPrincipal,
	request As RequestSecurityToken,
	callback As AsyncCallback,
	state As Object
) As IAsyncResult


Type: System.Security.Claims.ClaimsPrincipal

A ClaimsPrincipal that represents the identity of the token requestor.

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.

Type: System.AsyncCallback

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

Type: System.Object

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

Return Value

Type: System.IAsyncResult

The IAsyncResult that references the asynchronous validate operation.

The default implementation of this method throws an InvalidRequestException.

.NET Framework
Available since 4.5
Return to top