共用方式為


IRemoteAuthenticationBuilder<TRemoteAuthenticationState,TAccount> 介面

定義

用於設定遠端驗證服務的介面。

public interface IRemoteAuthenticationBuilder<TRemoteAuthenticationState,TAccount> where TRemoteAuthenticationState : RemoteAuthenticationState where TAccount : RemoteUserAccount
type IRemoteAuthenticationBuilder<'RemoteAuthenticationState, 'Account (requires 'RemoteAuthenticationState :> RemoteAuthenticationState and 'Account :> RemoteUserAccount)> = interface
Public Interface IRemoteAuthenticationBuilder(Of TRemoteAuthenticationState, TAccount)

類型參數

TRemoteAuthenticationState

遠端驗證狀態類型。

TAccount

帳戶類型。

屬性

Services

IServiceCollection

擴充方法

AddAccountClaimsPrincipalFactory<TRemoteAuthenticationState,TAccount, TAccountClaimsPrincipalFactory>(IRemoteAuthenticationBuilder<TRemoteAuthenticationState, TAccount>)

將現有的 AccountClaimsPrincipalFactory<TAccount> 取代為 所 TAccountClaimsPrincipalFactory 定義的使用者處理站。

適用於