Partager via


IdentityBuilderExtensions.AddSignInManager Méthode

Définition

Surcharges

AddSignInManager(IdentityBuilder)

Ajoute un SignInManager<TUser> pour .UserType

AddSignInManager<TSignInManager>(IdentityBuilder)

Ajoute un SignInManager<TUser> pour .UserType

AddSignInManager(IdentityBuilder)

Source:
IdentityBuilderExtensions.cs
Source:
IdentityBuilderExtensions.cs
Source:
IdentityBuilderExtensions.cs

Ajoute un SignInManager<TUser> pour .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

Paramètres

builder
IdentityBuilder

Instance actuelle de IdentityBuilder.

Retours

Instance actuelle de IdentityBuilder.

S’applique à

AddSignInManager<TSignInManager>(IdentityBuilder)

Source:
IdentityBuilderExtensions.cs
Source:
IdentityBuilderExtensions.cs
Source:
IdentityBuilderExtensions.cs

Ajoute un SignInManager<TUser> pour .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

Paramètres de type

TSignInManager

Type du gestionnaire de connexion à ajouter.

Paramètres

builder
IdentityBuilder

Instance actuelle de IdentityBuilder.

Retours

Instance actuelle de IdentityBuilder.

S’applique à