Saml2SecurityTokenHandler.CreateAdvice(SecurityTokenDescriptor) Method

Definition

Creates a Saml2Advice object for the assertion.

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

Parameters

tokenDescriptor
SecurityTokenDescriptor

The token descriptor.

Returns

A Saml2Advice object. The default is null.

Remarks

By default, this method returns null.

Applies to