IdentityBuilderExtensions.AddSignInManager 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
AddSignInManager(IdentityBuilder) | |
AddSignInManager<TSignInManager>(IdentityBuilder) |
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 实例。