SamlAssertion Konstruktory

Definicja

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 SamlAssertion klasy przy użyciu określonego identyfikatora asercji SAML, wystawcy asercji, daty i godziny wystawienia asercji, zestawu warunków przetwarzania, dodatkowych informacji i kolekcji instrukcji 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 SamlAssertion klasy przy użyciu określonego identyfikatora asercji SAML, wystawcy asercji, daty i godziny wystawienia asercji, zestawu warunków przetwarzania, dodatkowych informacji i kolekcji instrukcji 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 (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);
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))

Parametry

assertionId
String

Identyfikator potwierdzenia.

issuer
String

Urząd SAML, który wydał to twierdzenie SAML.

issueInstant
DateTime

Element DateTime określający, kiedy zostało wydane potwierdzenie SAML.

samlConditions
SamlConditions

Element SamlConditions określający zestaw warunków, które mogą być brane pod uwagę podczas oceny ważności asercji SAML.

samlAdvice
SamlAdvice

Element SamlAdvice określający dodatkowe informacje dostarczone przez urząd SAML, które mogą pomóc w przetwarzaniu asercji SAML.

samlStatements
IEnumerable<SamlStatement>

SamlStatement Typ IEnumerable<T> zawierający 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-

samlStatementsnull zawiera element .

Uwagi

Parametr assertionId musi zaczynać się literą lub znakiem "_".

Dotyczy