SamlSecurityTokenHandler.CreateStatements Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Generuje wyliczenie samlStatements z klasy SecurityTokenDescriptor. Generowane są tylko stany SamlAttributeStatements i SamlAuthenticationStatements. Zastąp tę metodę, aby dostosować tworzenie instrukcji.
Wywołania w kolejności (wszystkie są wirtualne): 1. CreateSamlSubject 2. CreateAttributeStatements 3. CreateAuthenticationStatements 4. CreateAuthorizationDecisionStatement
protected virtual System.Collections.Generic.ICollection<Microsoft.IdentityModel.Tokens.Saml.SamlStatement> CreateStatements(Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor, Microsoft.IdentityModel.Tokens.Saml.AuthenticationInformation authenticationInformation);
abstract member CreateStatements : Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor * Microsoft.IdentityModel.Tokens.Saml.AuthenticationInformation -> System.Collections.Generic.ICollection<Microsoft.IdentityModel.Tokens.Saml.SamlStatement>
override this.CreateStatements : Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor * Microsoft.IdentityModel.Tokens.Saml.AuthenticationInformation -> System.Collections.Generic.ICollection<Microsoft.IdentityModel.Tokens.Saml.SamlStatement>
Protected Overridable Function CreateStatements (tokenDescriptor As SecurityTokenDescriptor, authenticationInformation As AuthenticationInformation) As ICollection(Of SamlStatement)
Parametry
- tokenDescriptor
- SecurityTokenDescriptor
Klasy SecurityTokenDescriptor używane do tworzenia instrukcji.
- authenticationInformation
- AuthenticationInformation
dodatkowe informacje dotyczące tworzenia obiektu SamlAuthenticationStatement.
Zwraca
Wyliczenie samlStatement.
Wyjątki
jeśli tokenDescriptor ma wartość null.