Udostępnij za pośrednictwem


IdentityServiceCollectionExtensions.AddIdentityCore Metoda

Definicja

Przeciążenia

AddIdentityCore<TUser>(IServiceCollection)

Dodaje i konfiguruje system tożsamości dla określonego typu użytkownika. Usługi ról nie są domyślnie dodawane, ale można je dodać za pomocą polecenia AddRoles<TRole>().

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

Dodaje i konfiguruje system tożsamości dla określonego typu użytkownika. Usługi ról nie są domyślnie dodawane, ale można je dodać za pomocą polecenia AddRoles<TRole>().

AddIdentityCore<TUser>(IServiceCollection)

Źródło:
IdentityServiceCollectionExtensions.cs
Źródło:
IdentityServiceCollectionExtensions.cs
Źródło:
IdentityServiceCollectionExtensions.cs
Źródło:
IdentityServiceCollectionExtensions.cs
Źródło:
IdentityServiceCollectionExtensions.cs
Źródło:
IdentityServiceCollectionExtensions.cs
Źródło:
IdentityServiceCollectionExtensions.cs
Źródło:
IdentityServiceCollectionExtensions.cs

Dodaje i konfiguruje system tożsamości dla określonego typu użytkownika. Usługi ról nie są domyślnie dodawane, ale można je dodać za pomocą polecenia AddRoles<TRole>().

public static Microsoft.AspNetCore.Identity.IdentityBuilder AddIdentityCore<TUser> (this Microsoft.Extensions.DependencyInjection.IServiceCollection services) where TUser : class;
static member AddIdentityCore : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'User : null)
<Extension()>
Public Function AddIdentityCore(Of TUser As Class) (services As IServiceCollection) As IdentityBuilder

Parametry typu

TUser

Typ reprezentujący użytkownika w systemie.

Parametry

services
IServiceCollection

Usługi dostępne w aplikacji.

Dotyczy

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

Źródło:
IdentityServiceCollectionExtensions.cs
Źródło:
IdentityServiceCollectionExtensions.cs
Źródło:
IdentityServiceCollectionExtensions.cs
Źródło:
IdentityServiceCollectionExtensions.cs
Źródło:
IdentityServiceCollectionExtensions.cs
Źródło:
IdentityServiceCollectionExtensions.cs
Źródło:
IdentityServiceCollectionExtensions.cs
Źródło:
IdentityServiceCollectionExtensions.cs

Dodaje i konfiguruje system tożsamości dla określonego typu użytkownika. Usługi ról nie są domyślnie dodawane, ale można je dodać za pomocą polecenia AddRoles<TRole>().

public static Microsoft.AspNetCore.Identity.IdentityBuilder AddIdentityCore<TUser> (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.AspNetCore.Identity.IdentityOptions> setupAction) where TUser : class;
static member AddIdentityCore : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.AspNetCore.Identity.IdentityOptions> -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'User : null)
<Extension()>
Public Function AddIdentityCore(Of TUser As Class) (services As IServiceCollection, setupAction As Action(Of IdentityOptions)) As IdentityBuilder

Parametry typu

TUser

Typ reprezentujący użytkownika w systemie.

Parametry

services
IServiceCollection

Usługi dostępne w aplikacji.

setupAction
Action<IdentityOptions>

Akcja konfigurowania elementu IdentityOptions.

Dotyczy