Difference between revisions of "GetTrustedDeviceChallengeCode"

From Gvp-public
Jump to navigation Jump to search
(Created page with "{{Api_Method_Spec| Description=Returns a challenge code for pairing an application with a specific trusted device. Must be authenticated using LoginTrustedDevice method NOTE:...")
 
 
(One intermediate revision by the same user not shown)
Line 30: Line 30:
 
:    <span style="color: #a11;">"Severity"</span>: <span style="color: #164;">1</span>,
 
:    <span style="color: #a11;">"Severity"</span>: <span style="color: #164;">1</span>,
 
:    <span style="color: #a11;">"StatusMessage"</span>: <span style="color: #164;">"OK"</span>,
 
:    <span style="color: #a11;">"StatusMessage"</span>: <span style="color: #164;">"OK"</span>,
:    <span style="color: #a11;">"Content"</span>:  
+
:    <span style="color: #a11;">"Content"</span>: {
::       { <span style="color: #219;">String</span> }
+
::         Object of [[TrustedDeviceChallenge]]
 +
:   }
 
}
 
}
  

Latest revision as of 17:51, 16 September 2014

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": {
Object of TrustedDeviceChallenge
}

}


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


See also