次の方法で共有


SignInManager<TUser> コンストラクター

定義

オーバーロード

SignInManager<TUser>(UserManager<TUser>, IHttpContextAccessor, IUserClaimsPrincipalFactory<TUser>, IOptions<IdentityOptions>, ILogger<SignInManager<TUser>>)

SignInManager<TUser> の新しいインスタンスを作成します。

SignInManager<TUser>(UserManager<TUser>, IHttpContextAccessor, IUserClaimsPrincipalFactory<TUser>, IOptions<IdentityOptions>, ILogger<SignInManager<TUser>>, IAuthenticationSchemeProvider)

SignInManager<TUser> の新しいインスタンスを作成します。

SignInManager<TUser>(UserManager<TUser>, IHttpContextAccessor, IUserClaimsPrincipalFactory<TUser>, IOptions<IdentityOptions>, ILogger<SignInManager<TUser>>, IAuthenticationSchemeProvider, IUserConfirmation<TUser>)

SignInManager<TUser> の新しいインスタンスを作成します。

SignInManager<TUser>(UserManager<TUser>, IHttpContextAccessor, IUserClaimsPrincipalFactory<TUser>, IOptions<IdentityOptions>, ILogger<SignInManager<TUser>>)

SignInManager<TUser> の新しいインスタンスを作成します。

public:
 SignInManager(Microsoft::AspNetCore::Identity::UserManager<TUser> ^ userManager, Microsoft::AspNetCore::Http::IHttpContextAccessor ^ contextAccessor, Microsoft::AspNetCore::Identity::IUserClaimsPrincipalFactory<TUser> ^ claimsFactory, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::IdentityOptions ^> ^ optionsAccessor, Microsoft::Extensions::Logging::ILogger<Microsoft::AspNetCore::Identity::SignInManager<TUser> ^> ^ logger);
public SignInManager (Microsoft.AspNetCore.Identity.UserManager<TUser> userManager, Microsoft.AspNetCore.Http.IHttpContextAccessor contextAccessor, Microsoft.AspNetCore.Identity.IUserClaimsPrincipalFactory<TUser> claimsFactory, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.IdentityOptions> optionsAccessor, Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Identity.SignInManager<TUser>> logger);
new Microsoft.AspNetCore.Identity.SignInManager<'User (requires 'User : null)> : Microsoft.AspNetCore.Identity.UserManager<'User (requires 'User : null)> * Microsoft.AspNetCore.Http.IHttpContextAccessor * Microsoft.AspNetCore.Identity.IUserClaimsPrincipalFactory<'User (requires 'User : null)> * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.IdentityOptions> * Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Identity.SignInManager<'User>> -> Microsoft.AspNetCore.Identity.SignInManager<'User (requires 'User : null)>
Public Sub New (userManager As UserManager(Of TUser), contextAccessor As IHttpContextAccessor, claimsFactory As IUserClaimsPrincipalFactory(Of TUser), optionsAccessor As IOptions(Of IdentityOptions), logger As ILogger(Of SignInManager(Of TUser)))

パラメーター

userManager
UserManager<TUser>

ユーザーの取得と保持に使用される の UserManager インスタンス。

contextAccessor
IHttpContextAccessor

にアクセスするために使用される HttpContextアクセサー。

claimsFactory
IUserClaimsPrincipalFactory<TUser>

ユーザーのクレーム プリンシパルを作成するために使用するファクトリ。

optionsAccessor
IOptions<IdentityOptions>

にアクセスするために使用される IdentityOptionsアクセサー。

logger
ILogger<SignInManager<TUser>>

メッセージ、警告、エラーのログ記録に使用されるロガー。

適用対象

SignInManager<TUser>(UserManager<TUser>, IHttpContextAccessor, IUserClaimsPrincipalFactory<TUser>, IOptions<IdentityOptions>, ILogger<SignInManager<TUser>>, IAuthenticationSchemeProvider)

ソース:
SignInManager.cs
ソース:
SignInManager.cs

SignInManager<TUser> の新しいインスタンスを作成します。

public:
 SignInManager(Microsoft::AspNetCore::Identity::UserManager<TUser> ^ userManager, Microsoft::AspNetCore::Http::IHttpContextAccessor ^ contextAccessor, Microsoft::AspNetCore::Identity::IUserClaimsPrincipalFactory<TUser> ^ claimsFactory, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Identity::IdentityOptions ^> ^ optionsAccessor, Microsoft::Extensions::Logging::ILogger<Microsoft::AspNetCore::Identity::SignInManager<TUser> ^> ^ logger, Microsoft::AspNetCore::Authentication::IAuthenticationSchemeProvider ^ schemes);
public SignInManager (Microsoft.AspNetCore.Identity.UserManager<TUser> userManager, Microsoft.AspNetCore.Http.IHttpContextAccessor contextAccessor, Microsoft.AspNetCore.Identity.IUserClaimsPrincipalFactory<TUser> claimsFactory, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Identity.IdentityOptions> optionsAccessor, Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Identity.SignInManager<TUser>> logger, Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider schemes);
new Microsoft.AspNetCore.Identity.SignInManager<'User (requires 'User : null)> : Microsoft.AspNetCore.Identity.UserManager<'User (requires 'User : null)> * Microsoft.AspNetCore.Http.IHttpContextAccessor * Microsoft.AspNetCore.Identity.IUserClaimsPrincipalFactory<'User (requires 'User : null)> * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Identity.IdentityOptions> * Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Identity.SignInManager<'User>> * Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider -> Microsoft.AspNetCore.Identity.SignInManager<'User (requires 'User : null)>
Public Sub New (userManager As UserManager(Of TUser), contextAccessor As IHttpContextAccessor, claimsFactory As IUserClaimsPrincipalFactory(Of TUser), optionsAccessor As IOptions(Of IdentityOptions), logger As ILogger(Of SignInManager(Of TUser)), schemes As IAuthenticationSchemeProvider)

パラメーター

userManager
UserManager<TUser>

ユーザーの取得と保持に使用される の UserManager インスタンス。

contextAccessor
IHttpContextAccessor

にアクセスするために使用される HttpContextアクセサー。

claimsFactory
IUserClaimsPrincipalFactory<TUser>

ユーザーのクレーム プリンシパルを作成するために使用するファクトリ。

optionsAccessor
IOptions<IdentityOptions>

にアクセスするために使用される IdentityOptionsアクセサー。

logger
ILogger<SignInManager<TUser>>

メッセージ、警告、エラーのログ記録に使用されるロガー。

schemes
IAuthenticationSchemeProvider

使用されるスキーム プロバイダーは、認証スキームを列挙します。

適用対象

SignInManager<TUser>(UserManager<TUser>, IHttpContextAccessor, IUserClaimsPrincipalFactory<TUser>, IOptions<IdentityOptions>, ILogger<SignInManager<TUser>>, IAuthenticationSchemeProvider, IUserConfirmation<TUser>)

SignInManager<TUser> の新しいインスタンスを作成します。

public:
 SignInManager(Microsoft::AspNetCore::Identity::UserManager<TUser> ^ userManager, Microsoft::AspNetCore::Http::IHttpContextAccessor ^ contextAccessor, Microsoft::AspNetCore::Identity::IUserClaimsPrincipalFactory<TUser> ^ claimsFactory, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Identity::IdentityOptions ^> ^ optionsAccessor, Microsoft::Extensions::Logging::ILogger<Microsoft::AspNetCore::Identity::SignInManager<TUser> ^> ^ logger, Microsoft::AspNetCore::Authentication::IAuthenticationSchemeProvider ^ schemes, Microsoft::AspNetCore::Identity::IUserConfirmation<TUser> ^ confirmation);
public SignInManager (Microsoft.AspNetCore.Identity.UserManager<TUser> userManager, Microsoft.AspNetCore.Http.IHttpContextAccessor contextAccessor, Microsoft.AspNetCore.Identity.IUserClaimsPrincipalFactory<TUser> claimsFactory, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Identity.IdentityOptions> optionsAccessor, Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Identity.SignInManager<TUser>> logger, Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider schemes, Microsoft.AspNetCore.Identity.IUserConfirmation<TUser> confirmation);
new Microsoft.AspNetCore.Identity.SignInManager<'User (requires 'User : null)> : Microsoft.AspNetCore.Identity.UserManager<'User (requires 'User : null)> * Microsoft.AspNetCore.Http.IHttpContextAccessor * Microsoft.AspNetCore.Identity.IUserClaimsPrincipalFactory<'User (requires 'User : null)> * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Identity.IdentityOptions> * Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Identity.SignInManager<'User>> * Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider * Microsoft.AspNetCore.Identity.IUserConfirmation<'User (requires 'User : null)> -> Microsoft.AspNetCore.Identity.SignInManager<'User (requires 'User : null)>
Public Sub New (userManager As UserManager(Of TUser), contextAccessor As IHttpContextAccessor, claimsFactory As IUserClaimsPrincipalFactory(Of TUser), optionsAccessor As IOptions(Of IdentityOptions), logger As ILogger(Of SignInManager(Of TUser)), schemes As IAuthenticationSchemeProvider, confirmation As IUserConfirmation(Of TUser))

パラメーター

userManager
UserManager<TUser>

ユーザーの取得と保持に使用される の UserManager インスタンス。

contextAccessor
IHttpContextAccessor

にアクセスするために使用される HttpContextアクセサー。

claimsFactory
IUserClaimsPrincipalFactory<TUser>

ユーザーのクレーム プリンシパルを作成するために使用するファクトリ。

optionsAccessor
IOptions<IdentityOptions>

にアクセスするために使用される IdentityOptionsアクセサー。

logger
ILogger<SignInManager<TUser>>

メッセージ、警告、エラーのログ記録に使用されるロガー。

schemes
IAuthenticationSchemeProvider

使用されるスキーム プロバイダーは、認証スキームを列挙します。

confirmation
IUserConfirmation<TUser>

ユーザー アカウントがIUserConfirmation<TUser>確認されるかどうかをチェックに使用されます。

適用対象