$configManager
$configManager : \App\ConfigModule\Models\GenericManager
Tool for managing Azure IoT Hub
$configManager : \App\ConfigModule\Models\GenericManager
parseConnectionString(string $connectionString) : string[]
Parses Microsoft Azure IoT Hub connection string
string | $connectionString | MS Azure IoT Hub Connection string |
Values from the connection string
generateSasToken(string $resourceUri, string $signingKey, string|null $policyName = null, int $expiresInMins = 525600) : string
Generates the shared access signature token
string | $resourceUri | URI prefix (by segment) of the endpoints that can be accessed with this token, starting with host name of the IoT hub (no protocol). |
string | $signingKey | Signing key |
string|null | $policyName | The name of the shared access policy to which this token refers. Absent if the token refers to device-registry credentials. |
int | $expiresInMins | Expiration in minutes |
MS Azure Shared access signature token