Share via


IRemoteAuthenticationBuilder<TRemoteAuthenticationState,TAccount> Interface

Definition

An interface for configuring remote authentication services.

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)

Type Parameters

TRemoteAuthenticationState

The remote authentication state type.

TAccount

The account type.

Properties

Services

The IServiceCollection.

Extension Methods

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

Replaces the existing AccountClaimsPrincipalFactory<TAccount> with the user factory defined by TAccountClaimsPrincipalFactory.

Applies to