def set_client_id(self, id, secret):
"""Allows the developer to set their client_id and client_secret for
their OAuth application.
:param str id: 20-character hexidecimal client_id provided by GitHub
:param str secret: 40-character hexidecimal client_secret provided by
GitHub
"""
self._session.params = {'client_id': id, 'client_secret': secret}
评论列表
文章目录