SamlSecurityTokenHandler.CreateAdvice Method (SecurityTokenDescriptor)

.NET Framework (current version)
 

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

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

protected virtual SamlAdvice CreateAdvice(
	SecurityTokenDescriptor tokenDescriptor
)

Parameters

tokenDescriptor
Type: System.IdentityModel.Tokens.SecurityTokenDescriptor

The token descriptor.

Return Value

Type: System.IdentityModel.Tokens.SamlAdvice

A SamlAdvice object. The default is null.

By default, this method returns null.

.NET Framework
Available since 4.5
Return to top
Show: