PyGithub MCP Server

- » - [Reference](https://pygithub.readthedocs.io/en/stable/reference.html) » - [Github objects](https://pygithub.readthedocs.io/en/stable/github_objects.html) » - AccessToken - [View page source](https://pygithub.readthedocs.io/en/stable/_sources/github_objects/AccessToken.rst.txt) * * * # AccessToken [¶](https://pygithub.readthedocs.io/en/stable/github_objects/AccessToken.html\#accesstoken "Permalink to this headline") _class_ `github.AccessToken.` `AccessToken` [¶](https://pygithub.readthedocs.io/en/stable/github_objects/AccessToken.html#github.AccessToken.AccessToken "Permalink to this definition") This class represents access tokens. _property_ `created` [¶](https://pygithub.readthedocs.io/en/stable/github_objects/AccessToken.html#github.AccessToken.AccessToken.created "Permalink to this definition")Type datetime _property_ `expires_at` [¶](https://pygithub.readthedocs.io/en/stable/github_objects/AccessToken.html#github.AccessToken.AccessToken.expires_at "Permalink to this definition")Type Optional\[datetime\] _property_ `expires_in` [¶](https://pygithub.readthedocs.io/en/stable/github_objects/AccessToken.html#github.AccessToken.AccessToken.expires_in "Permalink to this definition")Type Optional\[int\] _property_ `refresh_expires_at` [¶](https://pygithub.readthedocs.io/en/stable/github_objects/AccessToken.html#github.AccessToken.AccessToken.refresh_expires_at "Permalink to this definition")Type Optional\[datetime\] _property_ `refresh_expires_in` [¶](https://pygithub.readthedocs.io/en/stable/github_objects/AccessToken.html#github.AccessToken.AccessToken.refresh_expires_in "Permalink to this definition")Type Optional\[int\] _property_ `refresh_token` [¶](https://pygithub.readthedocs.io/en/stable/github_objects/AccessToken.html#github.AccessToken.AccessToken.refresh_token "Permalink to this definition")Type Optional\[string\] _property_ `scope` [¶](https://pygithub.readthedocs.io/en/stable/github_objects/AccessToken.html#github.AccessToken.AccessToken.scope "Permalink to this definition")Type string _property_ `token` [¶](https://pygithub.readthedocs.io/en/stable/github_objects/AccessToken.html#github.AccessToken.AccessToken.token "Permalink to this definition")Type string _property_ `type` [¶](https://pygithub.readthedocs.io/en/stable/github_objects/AccessToken.html#github.AccessToken.AccessToken.type "Permalink to this definition")Type string