Representing authorized Access Token which is passed to the service provider in order to access protected resources.
the token and token secret can be stored into some persistent stores such as file system or RDBMS for the further accesses.
Returns the response stream.
This method cannot be called after calling asString() or asDcoument()
It is suggested to call disconnect() after consuming the stream.
The request parameters are collected, sorted and concatenated into a normalized string:
• Parameters in the OAuth HTTP Authorization header excluding the realm parameter.
• Parameters in the HTTP POST request body (with a content-type of application/x-www-form-urlencoded).
• HTTP GET parameters added to the URLs in the query part (as defined by [RFC3986] section 3).
The oauth_signature parameter MUST be excluded.
The parameters are normalized into a single string as follows:
1.
Follows the naming convention used at
http://tools.ietf.org/html/draft-hammer-oauth-10#section-2.1
to represent a set of temporary credentials obtained from the server by making an authenticated HTTP
"POST" request to the Temporary Credential Request endpoint.