SecurityTokenService.GetProofToken(RequestSecurityToken, Scope) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the proof token to be included in the response (RSTR).
protected:
virtual System::IdentityModel::Tokens::ProofDescriptor ^ GetProofToken(System::IdentityModel::Protocols::WSTrust::RequestSecurityToken ^ request, System::IdentityModel::Scope ^ scope);
protected virtual System.IdentityModel.Tokens.ProofDescriptor GetProofToken (System.IdentityModel.Protocols.WSTrust.RequestSecurityToken request, System.IdentityModel.Scope scope);
abstract member GetProofToken : System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * System.IdentityModel.Scope -> System.IdentityModel.Tokens.ProofDescriptor
override this.GetProofToken : System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * System.IdentityModel.Scope -> System.IdentityModel.Tokens.ProofDescriptor
Protected Overridable Function GetProofToken (request As RequestSecurityToken, scope As Scope) As ProofDescriptor
Parameters
- request
- RequestSecurityToken
A RequestSecurityToken that represents the incoming token request (RST).
Returns
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.
Exceptions
Remarks
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.