共用方式為


NegotiateEvents.OnRetrieveLdapClaims 屬性

定義

在 ClaimsIdentity 填入透過 LDAP 連線擷取的宣告之前,于驗證之後叫用。 當 EnableLdapClaimResolution 設定為 true 時,會在 上 LdapSettings 叫用此事件。

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)

屬性值

適用於