Breyta

Deila með


Saml2SecurityTokenHandler.CreateStatements(SecurityTokenDescriptor) Method

Definition

Creates SAML 2.0 statements to be included in the assertion.

protected:
 virtual System::Collections::Generic::IEnumerable<System::IdentityModel::Tokens::Saml2Statement ^> ^ CreateStatements(System::IdentityModel::Tokens::SecurityTokenDescriptor ^ tokenDescriptor);
protected virtual System.Collections.Generic.IEnumerable<System.IdentityModel.Tokens.Saml2Statement> CreateStatements (System.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor);
abstract member CreateStatements : System.IdentityModel.Tokens.SecurityTokenDescriptor -> seq<System.IdentityModel.Tokens.Saml2Statement>
override this.CreateStatements : System.IdentityModel.Tokens.SecurityTokenDescriptor -> seq<System.IdentityModel.Tokens.Saml2Statement>
Protected Overridable Function CreateStatements (tokenDescriptor As SecurityTokenDescriptor) As IEnumerable(Of Saml2Statement)

Parameters

tokenDescriptor
SecurityTokenDescriptor

The token descriptor from which to create the statements.

Returns

An enumeration of Saml2Statement that contains the statements.

Exceptions

tokenDescriptor is null.

Remarks

Statements are not required in a SAML 2.0 assertion. This method may return an empty collection.

Applies to