共用方式為


IdentityBuilderExtensions.AddSignInManager 方法

定義

多載

AddSignInManager(IdentityBuilder)

SignInManager<TUser>加入 的 UserType

AddSignInManager<TSignInManager>(IdentityBuilder)

SignInManager<TUser>加入 的 UserType

AddSignInManager(IdentityBuilder)

來源:
IdentityBuilderExtensions.cs
來源:
IdentityBuilderExtensions.cs
來源:
IdentityBuilderExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Identity::IdentityBuilder ^ AddSignInManager(Microsoft::AspNetCore::Identity::IdentityBuilder ^ builder);
public static Microsoft.AspNetCore.Identity.IdentityBuilder AddSignInManager (this Microsoft.AspNetCore.Identity.IdentityBuilder builder);
static member AddSignInManager : Microsoft.AspNetCore.Identity.IdentityBuilder -> Microsoft.AspNetCore.Identity.IdentityBuilder
<Extension()>
Public Function AddSignInManager (builder As IdentityBuilder) As IdentityBuilder

參數

builder
IdentityBuilder

目前的 IdentityBuilder 執行個體。

傳回

目前的 IdentityBuilder 執行個體。

適用於

AddSignInManager<TSignInManager>(IdentityBuilder)

來源:
IdentityBuilderExtensions.cs
來源:
IdentityBuilderExtensions.cs
來源:
IdentityBuilderExtensions.cs
public:
generic <typename TSignInManager>
 where TSignInManager : class[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Identity::IdentityBuilder ^ AddSignInManager(Microsoft::AspNetCore::Identity::IdentityBuilder ^ builder);
public static Microsoft.AspNetCore.Identity.IdentityBuilder AddSignInManager<TSignInManager> (this Microsoft.AspNetCore.Identity.IdentityBuilder builder) where TSignInManager : class;
static member AddSignInManager : Microsoft.AspNetCore.Identity.IdentityBuilder -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'SignInManager : null)
<Extension()>
Public Function AddSignInManager(Of TSignInManager As Class) (builder As IdentityBuilder) As IdentityBuilder

類型參數

TSignInManager

要新增的登入管理員類型。

參數

builder
IdentityBuilder

目前的 IdentityBuilder 執行個體。

傳回

目前的 IdentityBuilder 執行個體。

適用於