Share via


IRemoteAuthenticationBuilder<TRemoteAuthenticationState,TAccount> Schnittstelle

Definition

Eine Schnittstelle zum Konfigurieren von Remoteauthentifizierungsdiensten.

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)

Typparameter

TRemoteAuthenticationState

Der Remoteauthentifizierungsstatustyp.

TAccount

Der Kontotyp.

Eigenschaften

Services

Die IServiceCollection.

Erweiterungsmethoden

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

Ersetzt die vorhandene AccountClaimsPrincipalFactory<TAccount> durch die durch TAccountClaimsPrincipalFactorydefinierte Benutzerfactory.

Gilt für: