Compartilhar via


SamlSecurityTokenHandler.CreateAdvice(SecurityTokenDescriptor) Method

Definition

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.

Applies to