Client credentials


OAuth client credentials are obtained during client registration process and are unique for each application installation. They contain the client identifier and the client secret. Only the identifier is exposed by the SDK, the client secret is known only to the SDK and the Token Server.

Getting the client identifier

The client identifier is unique and it won't change during the application lifecycle. To retrieve it call DeviceClient#getClientId method.

Code example for retrieving the clientId


The method will return the client identifier for a registered client or null for unregistered one.