Saml2SecurityTokenHandler.CreateAdvice(SecurityTokenDescriptor) 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.
Creates the advice for the assertion.
protected virtual Microsoft.IdentityModel.Tokens.Saml2.Saml2Advice CreateAdvice (Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor);
abstract member CreateAdvice : Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor -> Microsoft.IdentityModel.Tokens.Saml2.Saml2Advice
override this.CreateAdvice : Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor -> Microsoft.IdentityModel.Tokens.Saml2.Saml2Advice
Protected Overridable Function CreateAdvice (tokenDescriptor As SecurityTokenDescriptor) As Saml2Advice
Parameters
- tokenDescriptor
- SecurityTokenDescriptor
The token descriptor.
Returns
A Saml2Advice object, default is null.
Remarks
By default, this method returns null.