Language

SamlSecurityTokenHandler.SetDelegateFromAttribute メソッド

定義

このメソッドは、特殊な種類の SamlAttribute が検出されたときに呼び出されます。 渡された SamlAttribute は、AttributeValues のコレクションを含む SamlAttribute をラップし、それぞれが要求にマップされます。 すべての要求は、指定された発行者を持つ ClaimsIdentity で返されます。

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

パラメーター

attribute
SamlAttribute

処理する SamlAttribute。

subject
ClaimsIdentity

SamlAttribute を反映するように変更する必要がある ID。

issuer
String

発行者 ID。

例外

ID として機能する 2 つのデリゲートがある場合、これは許可されません。

適用対象