IdentityServiceCollectionExtensions.AddIdentityApiEndpoints Metodo

Definizione

Overload

AddIdentityApiEndpoints<TUser>(IServiceCollection)

Aggiunge un set di servizi di identità comuni all'applicazione per supportare e configurare l'autenticazione per supportare MapIdentityApi<TUser>(IEndpointRouteBuilder) i token e i cookie di connessione delle identità.

AddIdentityApiEndpoints<TUser>(IServiceCollection, Action<IdentityOptions>)

Aggiunge un set di servizi di identità comuni all'applicazione per supportare e configurare l'autenticazione per supportare MapIdentityApi<TUser>(IEndpointRouteBuilder) i token e i cookie di connessione delle identità.

AddIdentityApiEndpoints<TUser>(IServiceCollection)

Aggiunge un set di servizi di identità comuni all'applicazione per supportare e configurare l'autenticazione per supportare MapIdentityApi<TUser>(IEndpointRouteBuilder) i token e i cookie di connessione delle identità.

public static Microsoft.AspNetCore.Identity.IdentityBuilder AddIdentityApiEndpoints<TUser> (this Microsoft.Extensions.DependencyInjection.IServiceCollection services) where TUser : class, new();
static member AddIdentityApiEndpoints : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'User : null and 'User : (new : unit -> 'User))
<Extension()>
Public Function AddIdentityApiEndpoints(Of TUser As {Class, New}) (services As IServiceCollection) As IdentityBuilder

Parametri di tipo

TUser

Parametri

Restituisce

Oggetto IdentityBuilder.

Si applica a

AddIdentityApiEndpoints<TUser>(IServiceCollection, Action<IdentityOptions>)

Aggiunge un set di servizi di identità comuni all'applicazione per supportare e configurare l'autenticazione per supportare MapIdentityApi<TUser>(IEndpointRouteBuilder) i token e i cookie di connessione delle identità.

public static Microsoft.AspNetCore.Identity.IdentityBuilder AddIdentityApiEndpoints<TUser> (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.AspNetCore.Identity.IdentityOptions> configure) where TUser : class, new();
static member AddIdentityApiEndpoints : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.AspNetCore.Identity.IdentityOptions> -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'User : null and 'User : (new : unit -> 'User))
<Extension()>
Public Function AddIdentityApiEndpoints(Of TUser As {Class, New}) (services As IServiceCollection, configure As Action(Of IdentityOptions)) As IdentityBuilder

Parametri di tipo

TUser

Parametri

configure
Action<IdentityOptions>

Configura l'oggetto IdentityOptions.

Restituisce

Oggetto IdentityBuilder.

Si applica a