Język

Saml2SecurityTokenHandler.CreateStatements Metoda

Definicja

Przeciążenia

Nazwisko Opis
CreateStatements(SecurityTokenDescriptor)

Tworzy element IEnumerable<T> , Saml2Statement który ma zostać uwzględniony w asercji.

CreateStatements(SecurityTokenDescriptor, AuthenticationInformation)

Tworzy element IEnumerable<T> , Saml2Statement który ma zostać uwzględniony w asercji.

CreateStatements(SecurityTokenDescriptor)

Tworzy element IEnumerable<T> , Saml2Statement który ma zostać uwzględniony w asercji.

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

Parametry

tokenDescriptor
SecurityTokenDescriptor

Element SecurityTokenDescriptor zawierający informacje dotyczące tworzenia obiektu Saml2Statement.

Zwraca

Wyliczenie saml2Statements.

Wyjątki

jeśli tokenDescriptor ma wartość null.

Uwagi

Instrukcje nie są wymagane w asercji SAML2. Ta metoda może zwrócić pustą kolekcję.

Dotyczy

CreateStatements(SecurityTokenDescriptor, AuthenticationInformation)

Tworzy element IEnumerable<T> , Saml2Statement który ma zostać uwzględniony w asercji.

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

Parametry

tokenDescriptor
SecurityTokenDescriptor

Element SecurityTokenDescriptor zawierający informacje dotyczące tworzenia obiektu Saml2Statement.

authenticationInformation
AuthenticationInformation

dodatkowe informacje używane podczas tworzenia obiektu Saml2AuthenticationStatement.

Zwraca

Wyliczenie saml2Statements.

Wyjątki

jeśli tokenDescriptor ma wartość null.

Uwagi

Instrukcje nie są wymagane w asercji SAML2. Ta metoda może zwrócić pustą kolekcję.

Dotyczy