Compartir a través de


IdentityBuilder.AddTokenProvider Método

Definición

Sobrecargas

AddTokenProvider(String, Type)

Agrega un proveedor de tokens para .UserType

AddTokenProvider<TProvider>(String)

Agrega un proveedor de tokens.

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

Agrega un proveedor de tokens para .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

Parámetros

providerName
String

Nombre del proveedor que se va a agregar.

provider
Type

Tipo de que IUserTwoFactorTokenProvider<TUser> se va a agregar.

Devoluciones

Instancia de IdentityBuilder actual.

Se aplica a

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

Agrega un proveedor de tokens.

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

Parámetros de tipo

TProvider

Tipo del proveedor de tokens que se va a agregar.

Parámetros

providerName
String

Nombre del proveedor que se va a agregar.

Devoluciones

Instancia de IdentityBuilder actual.

Se aplica a