SecurityTokenService::GetProofToken Method (RequestSecurityToken^, Scope^)
Gets the proof token to be included in the response (RSTR).
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.
Available since 4.5