Saml2SecurityTokenHandler.CreateStatements(SecurityTokenDescriptor) Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Crea las instrucciones SAML 2.0 que deben incluirse 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 a partir del que se van a crear las instrucciones.
Devoluciones
Una 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.