Bagikan melalui


IRemoteAuthenticationBuilder<TRemoteAuthenticationState,TAccount> Antarmuka

Definisi

Antarmuka untuk mengonfigurasi layanan autentikasi jarak jauh.

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)

Jenis parameter

TRemoteAuthenticationState

Jenis status autentikasi jarak jauh.

TAccount

Jenis akun.

Properti

Services

IServiceCollection.

Metode Ekstensi

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

Mengganti yang ada AccountClaimsPrincipalFactory<TAccount> dengan pabrik pengguna yang ditentukan oleh TAccountClaimsPrincipalFactory.

Berlaku untuk