Compartir a través de


Saml2SecurityTokenHandler.CreateAdvice(SecurityTokenDescriptor) Method

Definition

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.

Applies to