ApplicationOAuth¶
-
class
github.ApplicationOAuth.
ApplicationOAuth
¶ This class is used for identifying and authorizing users for Github Apps. The reference can be found at https://docs.github.com/en/developers/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps
-
get_login_url
(redirect_uri=None, state=None, login=None)¶ Return the URL you need to redirect a user to in order to authorize your App. :type: string
-
get_access_token
(code, state=None)¶ Calls: Parameters: - code – string
- state – string
-
get_app_user_auth
(token)¶ Parameters: token – AccessToken
-
refresh_access_token
(refresh_token)¶ Calls: POST /login/oauth/access_token Parameters: refresh_token – string
-