Request Temporary Token

 

Requests temporary credentials as first step of 3-legged authentication.

URI Fragment

/request_temporary_credential

Supported Signing Methods

Client Only Signing

Please refer here for the details of authentication flow and here for how to sign request to generate the Authorization header.

HTTP Method

POST

Request Header

  • The Authorization header is necessary for this call to succeed.
  • Content-Type: application/x-www-form-urlencoded

URL Query Parameters

None.

Request Body

None.

Response Status Code

HTTP Status Code

HTTP Status Message

Meaning

200

OK

Data successfully acquired

400

Bad Request

Corrupt request data on the client side

401

Unauthorized

Authorization error

403

Forbidden

The resource exists, but access is not possible due to a reason other than an authorization error.

500

Internal Server Error

An error on the API server side

503

Service Unavailable

The API cannot be used temporarily

Response Body

Content-Type: application/x-www-form-urlencoded

Parameter Name

Description

oauth_token

Temporary token for making subsequent REST API call to obtain the access token.

oauth_token_secret

Temporary token secret for signing subsequent REST API call to obtain the access token. This should be kept a secret and only your game server should know it.

oauth_callback_confirmed

"true" for successful temporary token retrieval.

Example Request & Response

Base String
HTTP Request
HTTP Response

PREVIOUS

Authentication API

NEXT

Request Access Token