Skip to content

Commit

Permalink
Updated docs: minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Sikorsky committed Mar 11, 2016
1 parent b425bb2 commit 03c84c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/api/authorization.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Authorization
=============

1. In order to be authorized and to obtain the token you have to get authorization code first by sending GET request to
Step 1. In order to be authorized and to obtain the token you have to get authorization code first by sending GET request to

/oauth/authorize?response_type=code&client_id={yourClientId}&redirect_uri={redirectUrl}&display=popup&scope={scope}

Expand All @@ -11,7 +11,7 @@ where
{redirectUrl} is the URL that will receive authorization code after successful authorization
{scope} is the list of the required permissions (currently you can use 'read+write')

2. When you have the authorization code (it is sent by GET request to your {redirectUrl}) you can try to get token by
Step 2. When you have the authorization code (it is sent by GET request to your {redirectUrl}) you can try to get token by
sending POST request to

/oauth/token
Expand All @@ -36,7 +36,7 @@ access_token (token itself)
expiration_date
refresh_token

3. When your token is expired you can refresh (update) it without repeating authorization by sending request to
Step 3. When your token is expired you can refresh (update) it without repeating authorization by sending request to

/oauth/token?grant_type=refresh_token&refresh_token={yourRefreshToken}

Expand Down

0 comments on commit 03c84c2

Please sign in to comment.