SamlSecurityTokenHandler.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.
Override this method to provide a SamlAdvice to place in the Samltoken.
protected virtual Microsoft.IdentityModel.Tokens.Saml.SamlAdvice CreateAdvice (Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor);
abstract member CreateAdvice : Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor -> Microsoft.IdentityModel.Tokens.Saml.SamlAdvice
override this.CreateAdvice : Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor -> Microsoft.IdentityModel.Tokens.Saml.SamlAdvice
Protected Overridable Function CreateAdvice (tokenDescriptor As SecurityTokenDescriptor) As SamlAdvice
Parameters
- tokenDescriptor
- SecurityTokenDescriptor
Contains information about the token.
Returns
SamlAdvice, default is null.