SamlSecurityTokenHandler.CreateAdvice(SecurityTokenDescriptor) Method

Definition

When overridden in a derived class, creates a SamlAdvice object for the assertion.

protected:
 virtual System::IdentityModel::Tokens::SamlAdvice ^ CreateAdvice(System::IdentityModel::Tokens::SecurityTokenDescriptor ^ tokenDescriptor);
protected virtual System.IdentityModel.Tokens.SamlAdvice CreateAdvice (System.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor);
abstract member CreateAdvice : System.IdentityModel.Tokens.SecurityTokenDescriptor -> System.IdentityModel.Tokens.SamlAdvice
override this.CreateAdvice : System.IdentityModel.Tokens.SecurityTokenDescriptor -> System.IdentityModel.Tokens.SamlAdvice
Protected Overridable Function CreateAdvice (tokenDescriptor As SecurityTokenDescriptor) As SamlAdvice

Parameters

tokenDescriptor
SecurityTokenDescriptor

The token descriptor.

Returns

A SamlAdvice object. The default is null.

Remarks

By default, this method returns null.

Applies to