次の方法で共有


Saml2SecurityTokenHandler.CreateSubject(SecurityTokenDescriptor) Method

Definition

Creates a SAML2 subject of the assertion.

protected virtual Microsoft.IdentityModel.Tokens.Saml2.Saml2Subject CreateSubject (Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor);
abstract member CreateSubject : Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor -> Microsoft.IdentityModel.Tokens.Saml2.Saml2Subject
override this.CreateSubject : Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor -> Microsoft.IdentityModel.Tokens.Saml2.Saml2Subject
Protected Overridable Function CreateSubject (tokenDescriptor As SecurityTokenDescriptor) As Saml2Subject

Parameters

tokenDescriptor
SecurityTokenDescriptor

The security token descriptor to create the subject.

Returns

A Saml2Subject.

Exceptions

Thrown when 'tokenDescriptor' is null.

Applies to