Partage via


Saml2SecurityTokenHandler.CreateStatements(SecurityTokenDescriptor) Méthode

Définition

Crée des instructions SAML 2.0 à inclure dans l'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)

Paramètres

tokenDescriptor
SecurityTokenDescriptor

Descripteur de jeton à partir duquel créer les instructions.

Retours

Énumération de Saml2Statement qui contient les instructions.

Exceptions

tokenDescriptor a la valeur null.

Remarques

Les instructions ne sont pas requises dans une assertion SAML 2.0. Cette méthode peut retourner une collection vide.

S’applique à