API: oauth2/token method
| Name | Information |
|---|---|
| grant_type | authorization_code for User authentication, client_credentials for Application authentication, refresh_token for refreshing an access token. |
| client_id | Your Consumer Key. |
| client_secret | Your Consumer Secret. |
| code | When performing the authorization_code grant, you must specify the code provided from oauth2/auth. |
| redirect_uri | When performing the authorization_code grant, you must use the same redirect_uri like provided for oauth2/auth. |
| refresh_token | Needed when using the refresh_token grant. |
| scope | Needed to access protected methods. Most users must leave this blank. Multiple scopes are separated by space. |
Last edit: 8 May. 2016 7:00 PM.