DeviceAuthenticationWithTpm Classe

Definição

Método de autenticação que usa um token de assinatura de acesso compartilhado e permite a atualização de token.

public sealed class DeviceAuthenticationWithTpm : Microsoft.Azure.Devices.Client.DeviceAuthenticationWithTokenRefresh
type DeviceAuthenticationWithTpm = class
    inherit DeviceAuthenticationWithTokenRefresh
Public NotInheritable Class DeviceAuthenticationWithTpm
Inherits DeviceAuthenticationWithTokenRefresh
Herança

Construtores

DeviceAuthenticationWithTpm(String, SecurityProviderTpm)

Inicializa uma nova instância da DeviceAuthenticationWithTpm classe com tempo de vida padrão de 1 hora e valor de percentual de buffer padrão de 15.

DeviceAuthenticationWithTpm(String, SecurityProviderTpm, Int32, Int32)

Inicializa uma nova instância da classe DeviceAuthenticationWithTpm.

DeviceAuthenticationWithTpm(String, SecurityProviderTpm, Int32, Int32, Boolean)

Inicializa uma nova instância da classe DeviceAuthenticationWithTpm.

Propriedades

DeviceId

Obtém a DeviceId.

(Herdado de DeviceAuthenticationWithTokenRefresh)
ExpiresOn

Obtém um instantâneo do tempo de expiração do token UTC.

(Herdado de AuthenticationWithTokenRefresh)
IsExpiring

Obtém um estado de expiração instantâneo.

(Herdado de AuthenticationWithTokenRefresh)
RefreshesOn

Obtém um instantâneo do tempo de atualização do token UTC.

(Herdado de AuthenticationWithTokenRefresh)

Métodos

Dispose()

Dispor recursos

(Herdado de AuthenticationWithTokenRefresh)
Dispose(Boolean)

Libera os recursos não gerenciados usados pelo Componente e, opcionalmente, libera os recursos gerenciados.

(Herdado de AuthenticationWithTokenRefresh)
GetTokenAsync(String)

Obtém um instantâneo do token de segurança associado ao dispositivo. Essa chamada é thread-safe.

(Herdado de AuthenticationWithTokenRefresh)
Populate(IotHubConnectionStringBuilder)

Preenche uma instância fornecida com base nas propriedades da instância atual.

(Herdado de DeviceAuthenticationWithTokenRefresh)
SafeCreateNewToken(String, Int32)

Cria um novo token com uma TTL sugerida. Esse método é thread-safe.

(Herdado de AuthenticationWithTokenRefresh)

Aplica-se a