Saml2SecurityTokenHandler.SetDelegateFromAttribute 메서드

정의

특수 형식 Saml2Attribute 이 검색되면 이 메서드가 호출됩니다. Saml2Attribute 전달된 특성 값의 컬렉션을 포함 하는 래핑 Saml2Attribute (속성에Values), 각각 클레임에 매핑 됩니다. 모든 클레임은 지정된 발급자를 사용하여 ClaimsIdentity 반환됩니다.

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

매개 변수

attribute
Saml2Attribute

Saml2Attribute 사용할 수 있습니다.

subject
ClaimsIdentity

ClaimsIdentity 토큰의 주체입니다.

issuer
String

클레임의 발급자입니다.

예외

유효한 Saml2Attribute 특성 값이 없습니다.

적용 대상