SamlSecurityTokenHandler.CreateStatements(SecurityTokenDescriptor) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates SAML 1.1 statements to be included in the assertion.
protected:
virtual System::Collections::Generic::IEnumerable<System::IdentityModel::Tokens::SamlStatement ^> ^ CreateStatements(System::IdentityModel::Tokens::SecurityTokenDescriptor ^ tokenDescriptor);
protected virtual System.Collections.Generic.IEnumerable<System.IdentityModel.Tokens.SamlStatement> CreateStatements (System.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor);
abstract member CreateStatements : System.IdentityModel.Tokens.SecurityTokenDescriptor -> seq<System.IdentityModel.Tokens.SamlStatement>
override this.CreateStatements : System.IdentityModel.Tokens.SecurityTokenDescriptor -> seq<System.IdentityModel.Tokens.SamlStatement>
Protected Overridable Function CreateStatements (tokenDescriptor As SecurityTokenDescriptor) As IEnumerable(Of SamlStatement)
Parameters
- tokenDescriptor
- SecurityTokenDescriptor
The token descriptor from which to create the statements.
Returns
An enumeration of SamlStatement that contains the statements.
Exceptions
tokenDescriptor
is null
.
Remarks
Statements are not required in a SAML 1.1 assertion. This method may return an empty collection.
Applies to
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.