Compartir a través de


DataProtectorTokenProvider<TUser> Constructores

Definición

Sobrecargas

DataProtectorTokenProvider<TUser>(IDataProtectionProvider, IOptions<DataProtectionTokenProviderOptions>)

Inicializa una nueva instancia de la clase DataProtectorTokenProvider<TUser>.

DataProtectorTokenProvider<TUser>(IDataProtectionProvider, IOptions<DataProtectionTokenProviderOptions>, ILogger<DataProtectorTokenProvider<TUser>>)

Inicializa una nueva instancia de la clase DataProtectorTokenProvider<TUser>.

DataProtectorTokenProvider<TUser>(IDataProtectionProvider, IOptions<DataProtectionTokenProviderOptions>)

Source:
DataProtectionTokenProvider.cs
Source:
DataProtectionTokenProvider.cs

Inicializa una nueva instancia de la clase DataProtectorTokenProvider<TUser>.

public:
 DataProtectorTokenProvider(Microsoft::AspNetCore::DataProtection::IDataProtectionProvider ^ dataProtectionProvider, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Identity::DataProtectionTokenProviderOptions ^> ^ options);
public DataProtectorTokenProvider (Microsoft.AspNetCore.DataProtection.IDataProtectionProvider dataProtectionProvider, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Identity.DataProtectionTokenProviderOptions> options);
new Microsoft.AspNetCore.Identity.DataProtectorTokenProvider<'User (requires 'User : null)> : Microsoft.AspNetCore.DataProtection.IDataProtectionProvider * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Identity.DataProtectionTokenProviderOptions> -> Microsoft.AspNetCore.Identity.DataProtectorTokenProvider<'User (requires 'User : null)>
Public Sub New (dataProtectionProvider As IDataProtectionProvider, options As IOptions(Of DataProtectionTokenProviderOptions))

Parámetros

dataProtectionProvider
IDataProtectionProvider

Proveedor de protección de datos del sistema.

Se aplica a

DataProtectorTokenProvider<TUser>(IDataProtectionProvider, IOptions<DataProtectionTokenProviderOptions>, ILogger<DataProtectorTokenProvider<TUser>>)

Source:
DataProtectorTokenProvider.cs

Inicializa una nueva instancia de la clase DataProtectorTokenProvider<TUser>.

public:
 DataProtectorTokenProvider(Microsoft::AspNetCore::DataProtection::IDataProtectionProvider ^ dataProtectionProvider, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Identity::DataProtectionTokenProviderOptions ^> ^ options, Microsoft::Extensions::Logging::ILogger<Microsoft::AspNetCore::Identity::DataProtectorTokenProvider<TUser> ^> ^ logger);
public DataProtectorTokenProvider (Microsoft.AspNetCore.DataProtection.IDataProtectionProvider dataProtectionProvider, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Identity.DataProtectionTokenProviderOptions> options, Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Identity.DataProtectorTokenProvider<TUser>> logger);
new Microsoft.AspNetCore.Identity.DataProtectorTokenProvider<'User (requires 'User : null)> : Microsoft.AspNetCore.DataProtection.IDataProtectionProvider * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Identity.DataProtectionTokenProviderOptions> * Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Identity.DataProtectorTokenProvider<'User>> -> Microsoft.AspNetCore.Identity.DataProtectorTokenProvider<'User (requires 'User : null)>
Public Sub New (dataProtectionProvider As IDataProtectionProvider, options As IOptions(Of DataProtectionTokenProviderOptions), logger As ILogger(Of DataProtectorTokenProvider(Of TUser)))

Parámetros

dataProtectionProvider
IDataProtectionProvider

Proveedor de protección de datos del sistema.

logger
ILogger<DataProtectorTokenProvider<TUser>>

Registrador usado para registrar mensajes, advertencias y errores.

Se aplica a