com.microsoft.azure.sdk.iot.device.auth

Authenticates a device to an IoT Hub via SAS tokens.

Classes

IotHubAuthenticationProvider

Base class for providing authentication for a Device Client or Module Client, including x509 and SAS based authentication.

IotHubSasToken

Grants device access to an IoT Hub for the specified amount of time.

IotHubSasTokenAuthenticationProvider
IotHubSasTokenHardwareAuthenticationProvider
IotHubSasTokenProvidedAuthenticationProvider

IotHubSasTokenAuthenticationProvider implementation where the tokens are provided by an instance of SasTokenProvider.

IotHubSasTokenSoftwareAuthenticationProvider
IotHubSasTokenWithRefreshAuthenticationProvider

Authentication method that uses a shared access signature token and allows for token refresh.

IotHubX509
IotHubX509HardwareAuthenticationProvider
IotHubX509SoftwareAuthenticationProvider
Signature

A signature that is used in the SAS token to authenticate the client.

SignatureHelper

Builds the authorization signature as a composition of functions.

Interfaces

SignatureProvider

Interface for a valid signature provider