oAuth access token.

22Aug2011

The Consumer exchanges the Request Token for an Access Token.

Request URL

/openapi/oauth/access_token [GET]

Request Authorization

This call needs EGA authentication.

Request Parameters

Parameter (Type)DescriptionRequiredDefault valueMax. length
oauth_consumer_key (ALPHA_NUM)The identifier portion of the client credentials (equivalent to a username).Required-
oauth_nonce (ALPHA_NUM)A nonce is a random string, uniquely generated by the client to allow the server to verify that a request has never been made before and helps prevent replay attacks when requests are made over a non-secure channel.Required-
oauth_signature (OAUTH_SIGNATURE)A password portion of the client credentials encoded by the given signature method.Required-
oauth_signature_method (OAUTH_SIGNATURE_METHOD)The name of the signature method used by the client to sign the request.
Value must be either "HMAC-SHA1" or "PLAINTEXT".
Required-
oauth_timestamp (INT)The timestamp.Required-
oauth_token (OAUTH_TOKEN)The token identifier.Required-
app_id[] (APP_ID)The application ID.Optional0-
mediamosa_version (MEDIAMOSA_VERSION)Provide the version to get the REST call returned in the format of the specified MediaMosa version. Keep empty or skip to retrieve in current (latest) version. Provide '2' to retrieve the REST call in 2.x format. Or be more specific by providing up to 3 digits; '2.3.0'. This setting will override any setting used by client application or the default setting in MediaMosa.Optional-
oauth_verifier (OAUTH_VERIFIER)The verification code.Optional-
oauth_version (OAUTH_VERSION)Provides the version of the authentication process.
Value (when supplied) must be either "1.0".
Optional1.0-

Example Request

services/oauth/access_token?oauth_consumer_key=key&oauth_nonce=22eb39fb5bc9ce96caeaa84320675522&oauth_signature=sjMuLMcBKHCUMo56Im7qJ4Yr%2BGo%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1296482023&oauth_token=requestkey&oauth_version=1.0

Example Response

oauth_token=accesskey&oauth_token_secret=accesssecret