Confirmed users
927
edits
Tarek.ziade (talk | contribs) (→APIS) |
Tarek.ziade (talk | contribs) (→APIS) |
||
Line 275: | Line 275: | ||
Example for BrowserId: | Example for BrowserId: | ||
<pre> | |||
POST /request_token | |||
Host: token.services.mozilla.com | |||
Content-Type: application/x-www-form-urlencoded | |||
audience=XXX,assertion=XXX | |||
</pre> | |||
Returns an encrypted token ('''oauth_consumer_key''') and a secret ('''oauth_consumer_secret''') | Returns an encrypted token ('''oauth_consumer_key''') and a secret ('''oauth_consumer_secret''') | ||
in an '''application/x-www-form-urlencoded''' response. | in an '''application/x-www-form-urlencoded''' response. | ||
Example: | |||
<pre> | |||
HTTP/1.1 200 OK | |||
Content-Type: application/x-www-form-urlencoded | |||
oauth_consumer_key=<token>&oauth_consumer_secret=<secret> | |||
</pre> | |||
XXX | XXX | ||