Saml2SecurityTokenHandler.CreateStatements(SecurityTokenDescriptor) Método

Definición

Crea instrucciones SAML 2.0 que se incluirán en la aserción.

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)

Parámetros

tokenDescriptor
SecurityTokenDescriptor

Descriptor de token desde el que se van a crear las instrucciones.

Devoluciones

Enumeración de Saml2Statement que contiene las instrucciones .

Excepciones

tokenDescriptor es null.

Comentarios

Las instrucciones no son necesarias en una aserción de SAML 2.0. Este método puede devolver una colección vacía.

Se aplica a