Skip to content

[QUERY] How to get bearer token from Fluent SDK? #949

Closed
@formulahendry

Description

@formulahendry

I want use C# SDK to do below steps:

  1. Use SdkContext.AzureCredentialsFactory.FromDevice to login, then I could get a AzureCredentials.
  2. Use AzureCredentials to create Resource Group and Azure IoT Central Service
  3. I want to get a bearer token with the C# SDK
  4. 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    AuthenticationMgmtManagement plane SDK related issues.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions