ClaimsPrincipal.PrimaryIdentitySelector Property

Definition

Identity 속성에 의해 반환된 클레임 ID를 선택하는 데 사용된 대리자를 가져오거나 설정합니다.Gets or sets the delegate used to select the claims identity returned by the Identity property.

public:
 static property Func<System::Collections::Generic::IEnumerable<System::Security::Claims::ClaimsIdentity ^> ^, System::Security::Claims::ClaimsIdentity ^> ^ PrimaryIdentitySelector { Func<System::Collections::Generic::IEnumerable<System::Security::Claims::ClaimsIdentity ^> ^, System::Security::Claims::ClaimsIdentity ^> ^ get(); void set(Func<System::Collections::Generic::IEnumerable<System::Security::Claims::ClaimsIdentity ^> ^, System::Security::Claims::ClaimsIdentity ^> ^ value); };
[set: System.Security.SecurityCritical]
public static Func<System.Collections.Generic.IEnumerable<System.Security.Claims.ClaimsIdentity>,System.Security.Claims.ClaimsIdentity> PrimaryIdentitySelector { get; set; }
public static Func<System.Collections.Generic.IEnumerable<System.Security.Claims.ClaimsIdentity>,System.Security.Claims.ClaimsIdentity> PrimaryIdentitySelector { get; set; }
member this.PrimaryIdentitySelector : Func<seq<System.Security.Claims.ClaimsIdentity>, System.Security.Claims.ClaimsIdentity> with get, set
Public Shared Property PrimaryIdentitySelector As Func(Of IEnumerable(Of ClaimsIdentity), ClaimsIdentity)

Property Value

Func<IEnumerable<ClaimsIdentity>,ClaimsIdentity>

대리자입니다.The delegate. 기본값은 null입니다.The default is null.

Attributes

Remarks

이 속성을 설정 하 여 Identity 속성의 기본 동작을 재정의할 수 있습니다.You can set this property to override the default behavior of the Identity property.

Applies to

See also