oauthenticator-17.3.0
توضیحات
OAuthenticator: Authenticate JupyterHub users with common OAuth providers
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | oauthenticator-17.3.0 |
| نام | oauthenticator |
| نسخه کتابخانه | 17.3.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Jupyter Development Team |
| ایمیل نویسنده | jupyter@googlegroups.com |
| آدرس صفحه اصلی | https://jupyter.org |
| آدرس اینترنتی | https://pypi.org/project/oauthenticator/ |
| مجوز | BSD |
# OAuth + JupyterHub Authenticator = OAuthenticator :heart:
[](https://oauthenticator.readthedocs.org/en/latest)
[](https://github.com/jupyterhub/oauthenticator/actions)
[](https://pypi.python.org/pypi/oauthenticator)
[](https://anaconda.org/conda-forge/oauthenticator)
[](https://github.com/jupyterhub/oauthenticator/issues)
[](https://discourse.jupyter.org/c/jupyterhub)
[](https://gitter.im/jupyterhub/jupyterhub)
[OAuth](https://en.wikipedia.org/wiki/OAuth) is a token based login mechanism that doesn't rely on a username and password mapping.
In order to use this login mechanism with JupyerHub the login handlers need to be overridden.
OAuthenticator overrides these handlers for the common OAuth2 identity providers allowing them to be
plugged in and used with JupyterHub.
The following authentication services are supported through their own authenticator: [Auth0](oauthenticator/auth0.py),
[Azure AD](oauthenticator/azuread.py), [Bitbucket](oauthenticator/bitbucket.py), [CILogon](oauthenticator/cilogon.py), [FeiShu](https://github.com/tezignlab/jupyterhub_feishu_authenticator),
[GitHub](oauthenticator/github.py), [GitLab](oauthenticator/gitlab.py), [Globus](oauthenticator/globus.py),
[Google](oauthenticator/google.py), [MediaWiki](oauthenticator/mediawiki.py),
[OpenShift](oauthenticator/openshift.py).
There is also a [GenericAuthenticator](oauthenticator/generic.py)
that can be configured with any OAuth 2.0 identity provider or can be used
to create a new authenticator class when additional customization is needed.
## Installation
The installation guide can be found in the [docs](https://oauthenticator.readthedocs.io/en/latest/tutorials/install.html).
The [docs](https://oauthenticator.readthedocs.io/en/latest/tutorials/provider-specific-setup/index.html) also provide example setups for different OAuth2 identity providers.
## Running tests
To run the tests locally, first setup a development environment as described in
[CONTRIBUTING.md], and then do:
```
pytest -v ./oauthenticator/tests/
```
Or you run a specific test file with:
```
pytest -v ./oauthenticator/tests/<test-file-name>
```
[contributing.md]: https://github.com/jupyterhub/oauthenticator/blob/main/CONTRIBUTING.md
نیازمندی
| مقدار | نام |
|---|---|
| - | jsonschema |
| - | jupyterhub>=2.2 |
| - | pyjwt>=2 |
| - | requests |
| - | ruamel.yaml |
| - | tornado |
| - | traitlets |
| xtr | google-auth-oauthlib; |
| xtr | mwoauth>=0.3.8; |
| xtr | pytest>=2.8; |
| xtr | pytest-asyncio<0.23,>=0.17; |
| xtr | pytest-cov; |
| xtr | requests-mock; |
| xtr | google-auth-oauthlib; |
| xtr | mwoauth>=0.3.8; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl oauthenticator-17.3.0:
pip install oauthenticator-17.3.0.whl
نصب پکیج tar.gz oauthenticator-17.3.0:
pip install oauthenticator-17.3.0.tar.gz