SamlSecurityTokenHandler.CreateAssertion Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Belirtilen vereni, koşulları, önerileri ve deyimleri kullanarak bir SamlAssertion nesnesi oluşturur. Onay oluşturmak için kullanılan parametreleri özelleştirmek için bu yöntemi geçersiz kılabilirsiniz.
protected:
virtual System::IdentityModel::Tokens::SamlAssertion ^ CreateAssertion(System::String ^ issuer, System::IdentityModel::Tokens::SamlConditions ^ conditions, System::IdentityModel::Tokens::SamlAdvice ^ advice, System::Collections::Generic::IEnumerable<System::IdentityModel::Tokens::SamlStatement ^> ^ statements);
protected virtual System.IdentityModel.Tokens.SamlAssertion CreateAssertion (string issuer, System.IdentityModel.Tokens.SamlConditions conditions, System.IdentityModel.Tokens.SamlAdvice advice, System.Collections.Generic.IEnumerable<System.IdentityModel.Tokens.SamlStatement> statements);
abstract member CreateAssertion : string * System.IdentityModel.Tokens.SamlConditions * System.IdentityModel.Tokens.SamlAdvice * seq<System.IdentityModel.Tokens.SamlStatement> -> System.IdentityModel.Tokens.SamlAssertion
override this.CreateAssertion : string * System.IdentityModel.Tokens.SamlConditions * System.IdentityModel.Tokens.SamlAdvice * seq<System.IdentityModel.Tokens.SamlStatement> -> System.IdentityModel.Tokens.SamlAssertion
Protected Overridable Function CreateAssertion (issuer As String, conditions As SamlConditions, advice As SamlAdvice, statements As IEnumerable(Of SamlStatement)) As SamlAssertion
Parametreler
- issuer
- String
Onay veren.
- conditions
- SamlConditions
SamlConditions onayını eklemek için.
- advice
- SamlAdvice
SamlAdvice onayını eklemek için.
- statements
- IEnumerable<SamlStatement>
Onaylama işlemine eklenecek koleksiyonu SamlStatement .
Döndürülenler
Oluşturulan SAML onayı.
Açıklamalar
Onay için benzersiz bir rastgele kimlik oluşturulur ve AssertionId özelliği bu değere ayarlanır. IssueInstant olarak ayarlanırUtcNow.