Closed
Description
I want use C# SDK to do below steps:
- Use
SdkContext.AzureCredentialsFactory.FromDevice
to login, then I could get a AzureCredentials. - Use AzureCredentials to create Resource Group and Azure IoT Central Service
- I want to get a bearer token with the C# SDK
- I could use bearer token to call Rest API of Azure IoT Central Service
So my question is how to get bearer token from Fluent SDK? Thanks!