SamlSecurityTokenHandler.SetDelegateFromAttribute Metoda

Definicja

Ta metoda jest wywoływana po wykryciu specjalnego typu SamlAttribute . Przekazany SamlAttribute w zawija element SamlAttribute zawierający kolekcję wartości atrybutów (we AttributeValues właściwości), z których każda zostanie zamapowana na oświadczenie. Wszystkie oświadczenia zostaną zwrócone w obiekcie ClaimsIdentity z określonym wystawcą.

protected:
 virtual void SetDelegateFromAttribute(System::IdentityModel::Tokens::SamlAttribute ^ attribute, System::Security::Claims::ClaimsIdentity ^ subject, System::String ^ issuer);
protected virtual void SetDelegateFromAttribute (System.IdentityModel.Tokens.SamlAttribute attribute, System.Security.Claims.ClaimsIdentity subject, string issuer);
abstract member SetDelegateFromAttribute : System.IdentityModel.Tokens.SamlAttribute * System.Security.Claims.ClaimsIdentity * string -> unit
override this.SetDelegateFromAttribute : System.IdentityModel.Tokens.SamlAttribute * System.Security.Claims.ClaimsIdentity * string -> unit
Protected Overridable Sub SetDelegateFromAttribute (attribute As SamlAttribute, subject As ClaimsIdentity, issuer As String)

Parametry

attribute
SamlAttribute

Do SamlAttribute użycia.

subject
ClaimsIdentity

Jest ClaimsIdentity to temat tego tokenu.

issuer
String

Wystawca oświadczenia.

Wyjątki

Element SamlAttribute nie zawiera żadnych prawidłowych wartości atrybutów.

Dotyczy