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

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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

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 validate operation.

state
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
Show: