Export (0) Print
Expand All

SecurityTokenService.GetProofToken Method

.NET Framework 4.5

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.

ExceptionCondition
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

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft