Skip to content

Commit

Permalink
Better OAuth naming
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Mar 21, 2020
1 parent ddf8f7f commit 30bafe3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/google/__init__.py
Expand Up @@ -43,7 +43,7 @@

from .base import BASE_URL, API
from .drive import DriveAPI
from .oauth import OauthAPI
from .oauth import OAuthAPI
from .spreadsheet import SpreadsheetAPI
from .token import TokenAPI
from .user import UserAPI
6 changes: 3 additions & 3 deletions src/google/base.py
Expand Up @@ -51,7 +51,7 @@

LOGIN_URL = "https://accounts.google.com/o/"
""" Default base URL that is going to be used for the
login part of the specification, the oauth login basis """
login part of the specification, the OAuth login basis """

TEMPLATE_URL = "https://%s.googleapis.com/"
""" The template that is going to be used in the building
Expand All @@ -73,13 +73,13 @@
"email",
)
""" The list of permissions to be used to create the
scope string for the oauth value """
scope string for the OAuth value """

class API(
appier.OAuth2API,
user.UserAPI,
drive.DriveAPI,
oauth.OauthAPI,
oauth.OAuthAPI,
token.TokenAPI,
spreadsheet.SpreadsheetAPI
):
Expand Down
2 changes: 1 addition & 1 deletion src/google/oauth.py
Expand Up @@ -37,7 +37,7 @@
__license__ = "Apache License, Version 2.0"
""" The license for the module """

class OauthAPI(object):
class OAuthAPI(object):

def userinfo_oauth(self):
url = self.base_url + "oauth2/v2/userinfo"
Expand Down

0 comments on commit 30bafe3

Please sign in to comment.