Compartilhar via


DataProtectorTokenProvider<TUser> Construtores

Definição

Sobrecargas

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

Inicializa uma nova instância da classe DataProtectorTokenProvider<TUser>.

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

Inicializa uma nova instância da classe DataProtectorTokenProvider<TUser>.

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

Origem:
DataProtectionTokenProvider.cs
Origem:
DataProtectionTokenProvider.cs

Inicializa uma nova instância da classe 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

O provedor de proteção de dados do sistema.

Aplica-se a

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

Origem:
DataProtectorTokenProvider.cs

Inicializa uma nova instância da classe 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

O provedor de proteção de dados do sistema.

logger
ILogger<DataProtectorTokenProvider<TUser>>

O agente usado para registrar mensagens, avisos e erros.

Aplica-se a