IdentityBuilderExtensions.AddSignInManager 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
AddSignInManager(IdentityBuilder) |
SignInManager<TUser>加入 的 UserType 。 |
AddSignInManager<TSignInManager>(IdentityBuilder) |
SignInManager<TUser>加入 的 UserType 。 |
AddSignInManager(IdentityBuilder)
SignInManager<TUser>加入 的 UserType 。
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)
SignInManager<TUser>加入 的 UserType 。
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 執行個體。