IdentityServiceCollectionExtensions.AddIdentityCore メソッド

定義

オーバーロード

AddIdentityCore<TUser>(IServiceCollection)

指定したユーザー型の ID システムを追加して構成します。 ロール サービスは既定では追加されませんが、 で AddRoles<TRole>()追加できます。

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

指定したユーザー型の ID システムを追加して構成します。 ロール サービスは既定では追加されませんが、 で AddRoles<TRole>()追加できます。

AddIdentityCore<TUser>(IServiceCollection)

ソース:
IdentityServiceCollectionExtensions.cs
ソース:
IdentityServiceCollectionExtensions.cs
ソース:
IdentityServiceCollectionExtensions.cs
ソース:
IdentityServiceCollectionExtensions.cs
ソース:
IdentityServiceCollectionExtensions.cs
ソース:
IdentityServiceCollectionExtensions.cs
ソース:
IdentityServiceCollectionExtensions.cs
ソース:
IdentityServiceCollectionExtensions.cs

指定したユーザー型の ID システムを追加して構成します。 ロール サービスは既定では追加されませんが、 で 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

型パラメーター

TUser

システム内のユーザーを表す型。

パラメーター

services
IServiceCollection

アプリケーションで使用できるサービス。

適用対象

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

ソース:
IdentityServiceCollectionExtensions.cs
ソース:
IdentityServiceCollectionExtensions.cs
ソース:
IdentityServiceCollectionExtensions.cs
ソース:
IdentityServiceCollectionExtensions.cs
ソース:
IdentityServiceCollectionExtensions.cs
ソース:
IdentityServiceCollectionExtensions.cs
ソース:
IdentityServiceCollectionExtensions.cs
ソース:
IdentityServiceCollectionExtensions.cs

指定したユーザー型の ID システムを追加して構成します。 ロール サービスは既定では追加されませんが、 で 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

型パラメーター

TUser

システム内のユーザーを表す型。

パラメーター

services
IServiceCollection

アプリケーションで使用できるサービス。

setupAction
Action<IdentityOptions>

を構成 IdentityOptionsするアクション。

適用対象