Partager via


IdentityBuilder.AddTokenProvider Méthode

Définition

Surcharges

AddTokenProvider(String, Type)

Ajoute un fournisseur de jetons pour .UserType

AddTokenProvider<TProvider>(String)

Ajoute un fournisseur de jetons.

AddTokenProvider(String, Type)

Source:
IdentityBuilder.cs
Source:
IdentityBuilder.cs
Source:
IdentityBuilder.cs
Source:
IdentityBuilder.cs
Source:
IdentityBuilder.cs
Source:
IdentityBuilder.cs
Source:
IdentityBuilder.cs
Source:
IdentityBuilder.cs
Source:
IdentityBuilder.cs

Ajoute un fournisseur de jetons pour .UserType

public:
 virtual Microsoft::AspNetCore::Identity::IdentityBuilder ^ AddTokenProvider(System::String ^ providerName, Type ^ provider);
public virtual Microsoft.AspNetCore.Identity.IdentityBuilder AddTokenProvider (string providerName, Type provider);
abstract member AddTokenProvider : string * Type -> Microsoft.AspNetCore.Identity.IdentityBuilder
override this.AddTokenProvider : string * Type -> Microsoft.AspNetCore.Identity.IdentityBuilder
Public Overridable Function AddTokenProvider (providerName As String, provider As Type) As IdentityBuilder

Paramètres

providerName
String

Nom du fournisseur à ajouter.

provider
Type

Type de à IUserTwoFactorTokenProvider<TUser> ajouter.

Retours

Instance actuelle de IdentityBuilder.

S’applique à

AddTokenProvider<TProvider>(String)

Source:
IdentityBuilder.cs
Source:
IdentityBuilder.cs
Source:
IdentityBuilder.cs
Source:
IdentityBuilder.cs
Source:
IdentityBuilder.cs
Source:
IdentityBuilder.cs
Source:
IdentityBuilder.cs
Source:
IdentityBuilder.cs
Source:
IdentityBuilder.cs

Ajoute un fournisseur de jetons.

public:
generic <typename TProvider>
 where TProvider : class virtual Microsoft::AspNetCore::Identity::IdentityBuilder ^ AddTokenProvider(System::String ^ providerName);
public virtual Microsoft.AspNetCore.Identity.IdentityBuilder AddTokenProvider<TProvider> (string providerName) where TProvider : class;
abstract member AddTokenProvider : string -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'Provider : null)
override this.AddTokenProvider : string -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'Provider : null)
Public Overridable Function AddTokenProvider(Of TProvider As Class) (providerName As String) As IdentityBuilder

Paramètres de type

TProvider

Type du fournisseur de jetons à ajouter.

Paramètres

providerName
String

Nom du fournisseur à ajouter.

Retours

Instance actuelle de IdentityBuilder.

S’applique à