joinCrossDomain
- Home
- Accounts & Sessions
- Session
- joinCrossDomain
joinCrossDomain
Validates a session using a keymaster redirect url.
Parameters
Name | Description |
node_id optional | Node ID |
domain optional | Domain |
callback_url required | Callback URL |
agent optional | Browser Agent |
ip optional | IP Address |
expires optional | Expiration (Seconds) |
Request Syntax
https://services.onesite.com/1/session/joinCrossDomain.json?node_id=188234&ip=127.0.0.1&agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:10.0.2) Gecko/20100101 Firefox/10.0.2&callback_url=https://www.example.com&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 |
{ "code":100, "message":"Session validated.", "content":{ "redirect_url":"http://onesitedemo.com/tools/get_cores.one?d=7cYgh2HggPr2ETgfwMNpjQQgCRPCVh5ZEhEX_VSKliLz0jCqBf1QU0B5c2PlDXvm1aHPpVIR1L4iCie4iyZ7kJnd7JgkEQWhE8_Xop_po5Kbeqwy2Q9nVY8xENMn9IpH9wvMnFiBClbj7A..&s=9bd5b2d2f2739cce14d8c153b490c0ad33edf983" } } |
Service Information
Service | session |
Method | joinCrossDomain |
Type | REST |
Response Types | JSON, XML |