GetTrustedDeviceChallengeCode
Jump to navigation
Jump to search
Description
Returns a challenge code for pairing an application with a specific trusted device. Must be authenticated using LoginTrustedDevice method
NOTE: The difference between this method and RegisterTrustedDeviceChallenge is that GetTrustedDeviceChallengeCode creates a challenge code for pairing to a trusted device that already exists. RegisterTrustedDeviceChallenge creates a challenge code for a device that is not associated to the user account yet.
Parameters
- token (String, required)
- A valid token for identifying the API session context. The token can be anonymous or logged.
- challengeCodeExpiration (int, required)
- For how long, in seconds, this challenge code will be valid for.
Returns
Returns a JSON object containing a TrustedDeviceChallenge.
Example:
{
- "StatusCode": 0,
- "Severity": 1,
- "StatusMessage": "OK",
- "Content": String
}
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 |