rdkcentral / Lightning-SDK

SDK for Lightning framework
Apache License 2.0
130 stars 69 forks source link

Authentication clean #174

Closed jlacivita closed 3 years ago

jlacivita commented 3 years ago

Authentication

Provides access to the platform's authentication token for use in SSO and back office identity integrations.

Token

Gets the platform's authentication token for this device.

Returns:

{
  value: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",
  expires: "2022-04-23T18:25:43.511Z",
  type: "Example"
}

by default in local development.