mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 11:21:16 +00:00
added client_id and client_secret auth option
This commit is contained in:
+2
-2
@@ -30,8 +30,8 @@ DEFAULT_TIMEOUT = 10
|
||||
|
||||
|
||||
class Github(object):
|
||||
def __init__(self, login_or_token=None, password=None, base_url=DEFAULT_BASE_URL, timeout=DEFAULT_TIMEOUT):
|
||||
self.__requester = Requester(login_or_token, password, base_url, timeout)
|
||||
def __init__(self, login_or_token=None, password=None, base_url=DEFAULT_BASE_URL, timeout=DEFAULT_TIMEOUT, client_id=None, client_secret=None):
|
||||
self.__requester = Requester(login_or_token, password, base_url, timeout, client_id, client_secret)
|
||||
|
||||
@property
|
||||
def FIX_REPO_GET_GIT_REF(self):
|
||||
|
||||
Reference in New Issue
Block a user