IdentityBuilderExtensions.AddSignInManager 方法

定义

重载

AddSignInManager(IdentityBuilder)

SignInManager<TUser>UserType添加 。

AddSignInManager<TSignInManager>(IdentityBuilder)

SignInManager<TUser>UserType添加 。

AddSignInManager(IdentityBuilder)

Source:
IdentityBuilderExtensions.cs
Source:
IdentityBuilderExtensions.cs
Source:
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)

Source:
IdentityBuilderExtensions.cs
Source:
IdentityBuilderExtensions.cs
Source:
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 实例。

适用于