SamlSecurityTokenHandler.CreateToken(SecurityTokenDescriptor) Method

Definition

Creates a security token based on a token descriptor.

C#
public override System.IdentityModel.Tokens.SecurityToken CreateToken(System.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor);

Parameters

tokenDescriptor
SecurityTokenDescriptor

The token descriptor from which to create the security token.

Returns

A SecurityToken that represents the SAML 1.1 security token. (The token returned is actually an instance of SamlSecurityToken.)

Exceptions

tokenDescriptor is null.

Applies to

Продукт Версії
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1