DeviceAuthenticationWithTpm Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Authentication method that uses a shared access signature token and allows for token refresh.
public sealed class DeviceAuthenticationWithTpm : Microsoft.Azure.Devices.Client.DeviceAuthenticationWithTokenRefresh
type DeviceAuthenticationWithTpm = class
inherit DeviceAuthenticationWithTokenRefresh
Public NotInheritable Class DeviceAuthenticationWithTpm
Inherits DeviceAuthenticationWithTokenRefresh
- Inheritance
-
DeviceAuthenticationWithTpm
Constructors
DeviceAuthenticationWithTpm(String, SecurityProviderTpm) |
Initializes a new instance of the DeviceAuthenticationWithTpm class with default time to live of 1 hour and default buffer percentage value of 15. |
DeviceAuthenticationWithTpm(String, SecurityProviderTpm, Int32, Int32) |
Initializes a new instance of the DeviceAuthenticationWithTpm class. |
DeviceAuthenticationWithTpm(String, SecurityProviderTpm, Int32, Int32, Boolean) |
Initializes a new instance of the DeviceAuthenticationWithTpm class. |
Properties
DeviceId |
Gets the DeviceId. (Inherited from DeviceAuthenticationWithTokenRefresh) |
ExpiresOn |
Gets a snapshot of the UTC token expiry time. (Inherited from AuthenticationWithTokenRefresh) |
IsExpiring |
Gets a snapshot expiry state. (Inherited from AuthenticationWithTokenRefresh) |
RefreshesOn |
Gets a snapshot of the UTC token refresh time. (Inherited from AuthenticationWithTokenRefresh) |
Methods
Dispose() |
Dispose resources (Inherited from AuthenticationWithTokenRefresh) |
Dispose(Boolean) |
Releases the unmanaged resources used by the Component and optionally releases the managed resources. (Inherited from AuthenticationWithTokenRefresh) |
GetTokenAsync(String) |
Gets a snapshot of the security token associated with the device. This call is thread-safe. (Inherited from AuthenticationWithTokenRefresh) |
Populate(IotHubConnectionStringBuilder) |
Populates a supplied instance based on the properties of the current instance. (Inherited from DeviceAuthenticationWithTokenRefresh) |
SafeCreateNewToken(String, Int32) |
Creates a new token with a suggested TTL. This method is thread-safe. (Inherited from AuthenticationWithTokenRefresh) |
Applies to
Azure SDK for .NET