Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit af80ce2

Browse files
author
Jack Diederich
committed
improved formatting
1 parent 8679014 commit af80ce2

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,9 @@ the authorize_url and redeem_code functions. GooglAPI sets up the defaults:
4848
refresh_uri = 'https://accounts.google.com/o/oauth2/token'
4949
scope = 'https://www.googleapis.com/auth/urlshortener'
5050
# Shortener API
51-
api_uri = 'https://www.googleapis.com/urlshortener/v1/url'
51+
api_uri = 'https://www.googleapis.com/urlshortener/v1/url'
5252

53-
You are responsible for storing the access and refresh key for later use.
54-
Here is the full (and not very exciting) version of foauth.GooglAPI that
55-
we use. It has a custom redirect URI, includes our goo.gl api key,
56-
and saves the access & refresh tokens to a django model names AuthKey.
57-
Define your own refresh_token() replacement to store stuff where you like.
53+
You are responsible for storing the access and refresh key for later use. Here is the full (and not very exciting) version of foauth.GooglAPI that we use. It has a custom redirect URI, includes our goo.gl api key, and saves the access & refresh tokens to a django model names AuthKey. Define your own refresh_token() replacement to store stuff where you like.
5854

5955
class GooglAPI(foauth2.GooglAPI):
6056
redirect_uri = 'http://hivefire.com/oauth'

0 commit comments

Comments
 (0)