oAuth2 access token issuing. The oauth2 server supports 2 endpoints.
The oauth2 server supports 2 endpoints:
- token: issues an access token based on the request body parameters
 - authorize: used internally from apps to authorize the usage of resources or explicit authentication from 3th party users.
 
Parameters
Parameter  | Definition  | 
|---|---|
grant_type  | There are 3 types of gran types available in the API, these are: 
  | 
client_secret  | Client secret is a secret hash that will be provide to you when you issue your api access.  | 
client_id  | Client id is your unique id to use the api, handed to you when you request access to the api  | 
username  | Username is the username for a registered user. You should include this while using password grant_type only. The resulting access token should enable your app to make calls on behalf of the registered user. Such calls might include: /PlaceBid, /UserStatement, etc..  | 
password  | The selected password from your registered user through the api.  | 
code  | Authorization code, obtained from oauth2 server (required when using authorization_code grant type)  | 
redirect_uri  | URL to redirect the user back to (required when using authorization_code grant type)  | 
