Module aiogithubapi.objects.login.oauth
Class object for AIOGitHubAPILoginOauth Documentation: https://docs.github.com/en/developers/apps/authorizing-oauth-apps#device-flow
Generated by generate/generate.py - 2020-09-08 18:45:20.581868
Expand source code
"""
Class object for AIOGitHubAPILoginOauth
Documentation: https://docs.github.com/en/developers/apps/authorizing-oauth-apps#device-flow
Generated by generate/generate.py - 2020-09-08 18:45:20.581868
"""
from ..base import AIOGitHubAPIBase
class AIOGitHubAPILoginOauth(AIOGitHubAPIBase):
@property
def access_token(self):
return self.attributes.get("access_token", "")
@property
def token_type(self):
return self.attributes.get("token_type", "")
@property
def scope(self):
return self.attributes.get("scope", "")
Classes
class AIOGitHubAPILoginOauth (attributes)
-
Base class for AIOGitHubAPI.
Initialize.
Expand source code
class AIOGitHubAPILoginOauth(AIOGitHubAPIBase): @property def access_token(self): return self.attributes.get("access_token", "") @property def token_type(self): return self.attributes.get("token_type", "") @property def scope(self): return self.attributes.get("scope", "")
Ancestors
Instance variables
var access_token
-
Expand source code
@property def access_token(self): return self.attributes.get("access_token", "")
var scope
-
Expand source code
@property def scope(self): return self.attributes.get("scope", "")
var token_type
-
Expand source code
@property def token_type(self): return self.attributes.get("token_type", "")