CreateHandoffId
Creates a handoff authentication id with security token.
Service | Operation |
---|---|
identity | CREATE_HANDOFF_ID |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
var identityProxy = bridge.getIdentityServiceProxy();
var postResult = identityProxy.createHandoffId();
if (postResult.status == 200) {
// Success!
}
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"data": {
"securityToken": "9XRVaE",
"handoffId": "a30dcdf8-88ed-4b16-b313-59c8ee3feb06"
},
"status": 200
}