GetApplicationToken
Jump to navigation
Jump to search
Description
Given a valid challenge code returned by the RegisterTrustedDeviceChallenge method, returns an application token that can be used to identify the application as a specific user using the LoginApplicationToken method. If this method succeeds, it effectively completes the pairing an application to a trusted device.
An unique authentication code that will be used to identifiy the paired application for login purposes
A valid challenge code means a challenge code that is not expired.
Parameters
- token (String, required)
- A valid token for identifying the API session context. The token can be anonymous or logged.
- challengeCode (String, required)
- Challenge returned by the RegisterTrustedDeviceChallenge method
- applicationDeviceId (String, )
- Unique identifier of the device that will be running the paired application.
- applicationDeviceTypeId (int, )
- Application device type id. For example for the rPVR application, it should 8601, as defined in the GVP_DEVICES_TYPES table.
- applicationDeviceName (String, )
- Friendly name of the device that will be running the paired application.
- applicationDeviceDescription (String, )
- An application defined description of the device that will be running this application. Used for BI purposes.
Returns
Returns a JSON object containing a response from the method.
Example:
{
- "StatusCode": 0,
- "Severity": 1,
- "StatusMessage": "OK",
- "Content": ""
}
Exceptions
- None
Caching
This method is not cached.
Known issues
- None
Version history
API Version Number | Change description | Changes author |
---|---|---|
1.0 | Initial method design | Harley Cabral |