SamlAssertion Konstruktory
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.
Inicjuje nowe wystąpienie klasy SamlAssertion.
Przeciążenia
| SamlAssertion() |
Inicjuje nowe wystąpienie klasy SamlAssertion. |
| SamlAssertion(String, String, DateTime, SamlConditions, SamlAdvice, IEnumerable<SamlStatement>) |
Inicjuje nowe wystąpienie klasy przy użyciu określonego identyfikatora asercji SAML, wystawcy asercji, daty i czasu wydania potwierdzenia, zestawu warunków przetwarzania, dodatkowych informacji i kolekcji instrukcji SamlAssertion SAML. |
SamlAssertion()
Inicjuje nowe wystąpienie klasy SamlAssertion.
public:
SamlAssertion();
public SamlAssertion ();
Public Sub New ()
Dotyczy
SamlAssertion(String, String, DateTime, SamlConditions, SamlAdvice, IEnumerable<SamlStatement>)
Inicjuje nowe wystąpienie klasy przy użyciu określonego identyfikatora asercji SAML, wystawcy asercji, daty i czasu wydania potwierdzenia, zestawu warunków przetwarzania, dodatkowych informacji i kolekcji instrukcji SamlAssertion SAML.
public:
SamlAssertion(System::String ^ assertionId, System::String ^ issuer, DateTime issueInstant, System::IdentityModel::Tokens::SamlConditions ^ samlConditions, System::IdentityModel::Tokens::SamlAdvice ^ samlAdvice, System::Collections::Generic::IEnumerable<System::IdentityModel::Tokens::SamlStatement ^> ^ samlStatements);
public:
SamlAssertion(System::String ^ assertionId, System::String ^ issuer, DateTime issueInstant, System::IdentityModel::Tokens::SamlConditions ^ conditions, System::IdentityModel::Tokens::SamlAdvice ^ advice, System::Collections::Generic::IEnumerable<System::IdentityModel::Tokens::SamlStatement ^> ^ statements);
public SamlAssertion (string assertionId, string issuer, DateTime issueInstant, System.IdentityModel.Tokens.SamlConditions samlConditions, System.IdentityModel.Tokens.SamlAdvice samlAdvice, System.Collections.Generic.IEnumerable<System.IdentityModel.Tokens.SamlStatement> samlStatements);
public SamlAssertion (string assertionId, string issuer, DateTime issueInstant, System.IdentityModel.Tokens.SamlConditions conditions, System.IdentityModel.Tokens.SamlAdvice advice, System.Collections.Generic.IEnumerable<System.IdentityModel.Tokens.SamlStatement> statements);
new System.IdentityModel.Tokens.SamlAssertion : string * string * DateTime * System.IdentityModel.Tokens.SamlConditions * System.IdentityModel.Tokens.SamlAdvice * seq<System.IdentityModel.Tokens.SamlStatement> -> System.IdentityModel.Tokens.SamlAssertion
new System.IdentityModel.Tokens.SamlAssertion : string * string * DateTime * System.IdentityModel.Tokens.SamlConditions * System.IdentityModel.Tokens.SamlAdvice * seq<System.IdentityModel.Tokens.SamlStatement> -> System.IdentityModel.Tokens.SamlAssertion
Public Sub New (assertionId As String, issuer As String, issueInstant As DateTime, samlConditions As SamlConditions, samlAdvice As SamlAdvice, samlStatements As IEnumerable(Of SamlStatement))
Public Sub New (assertionId As String, issuer As String, issueInstant As DateTime, conditions As SamlConditions, advice As SamlAdvice, statements As IEnumerable(Of SamlStatement))
Parametry
- assertionId
- String
Identyfikator asercji.
- issuer
- String
Urząd SAML, który wystawił to potwierdzenie SAML.
- samlConditionsconditions
- SamlConditions
Wartość określająca zestaw warunków, które mogą być brane pod uwagę podczas SamlConditions oceniania poprawności asercji SAML.
- samlAdviceadvice
- SamlAdvice
Element określający dodatkowe informacje dostarczone przez urząd SAML, które mogą pomóc w SamlAdvice przetwarzaniu asercji SAML.
- samlStatementsstatements
- IEnumerable<SamlStatement>
IEnumerable<T>Typ, SamlStatement który zawiera instrukcje SAML.
Wyjątki
assertionId to null.
-lub-
assertionId to Empty.
-lub-
assertionId Nie zaczyna się literą ani znakiem "_".
-lub-
issuer to null.
-lub-
issuer to Empty.
-lub-
samlStatements to null.
-lub-
samlStatements Nie zawiera żadnych elementów.
-lub-
samlStatements Element zawiera null element .
Uwagi
Parametr assertionId musi zaczynać się literą lub znakiem "_".