Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SecurityTokenService::GetProofToken Method (RequestSecurityToken^, Scope^)

.NET Framework (current version)
 

Gets the proof token to be included in the response (RSTR).

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

protected:
virtual ProofDescriptor^ GetProofToken(
	RequestSecurityToken^ request,
	Scope^ scope
)

Parameters

request
Type: System.IdentityModel.Protocols.WSTrust::RequestSecurityToken^

A RequestSecurityToken that represents the incoming token request (RST).

scope
Type: System.IdentityModel::Scope^

The Scope instance that encapsulates information about the relying party.

Return Value

Type: System.IdentityModel.Tokens::ProofDescriptor^

A ProofDescriptor that represents the newly created proof descriptor. The proof descriptor can be an asymmetric proof descriptor, a symmetric proof descriptor, or null in the bearer token case.

Exception Condition
ArgumentNullException

request is null.

-or-

scope is null.

This method is called from the default token issuance pipeline implemented in the Issue method.

The default implementation returns a proof descriptor or throws an appropriate exception.

.NET Framework
Available since 4.5
Return to top
Show:
© 2017 Microsoft