NegotiateEvents.OnRetrieveLdapClaims 属性

定义

在通过 LDAP 连接检索到的声明填充 ClaimsIdentity 之前进行身份验证后调用。 当 在 上LdapSettings设置为 true 时EnableLdapClaimResolution,将调用此事件。

public:
 property Func<Microsoft::AspNetCore::Authentication::Negotiate::LdapContext ^, System::Threading::Tasks::Task ^> ^ OnRetrieveLdapClaims { Func<Microsoft::AspNetCore::Authentication::Negotiate::LdapContext ^, System::Threading::Tasks::Task ^> ^ get(); void set(Func<Microsoft::AspNetCore::Authentication::Negotiate::LdapContext ^, System::Threading::Tasks::Task ^> ^ value); };
public Func<Microsoft.AspNetCore.Authentication.Negotiate.LdapContext,System.Threading.Tasks.Task> OnRetrieveLdapClaims { get; set; }
member this.OnRetrieveLdapClaims : Func<Microsoft.AspNetCore.Authentication.Negotiate.LdapContext, System.Threading.Tasks.Task> with get, set
Public Property OnRetrieveLdapClaims As Func(Of LdapContext, Task)

属性值

适用于