Compartilhar via


IRemoteAuthenticationBuilder<TRemoteAuthenticationState,TAccount> Interface

Definição

Uma interface para configurar serviços de autenticação remota.

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)

Parâmetros de tipo

TRemoteAuthenticationState

O tipo de estado de autenticação remota.

TAccount

O tipo de conta.

Propriedades

Services

O IServiceCollection.

Métodos de Extensão

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

Substitui o existente AccountClaimsPrincipalFactory<TAccount> pela fábrica de usuários definida por TAccountClaimsPrincipalFactory.

Aplica-se a