Redigera

Dela via


SamlSecurityTokenHandler.CreateSamlSubject(SecurityTokenDescriptor) Method

Definition

Creates a SAML 1.1 subject for the assertion.

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

Parameters

tokenDescriptor
SecurityTokenDescriptor

The security token descriptor from which to create the subject.

Returns

A SamlSubject that represents the subject of the assertion.

Exceptions

tokenDescriptor is null.

Applies to