fabricauthenticator-1.2rc1
توضیحات
Fabric OAuth Authenticator
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | fabricauthenticator-1.2rc1 |
| نام | fabricauthenticator |
| نسخه کتابخانه | 1.2rc1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Komal Thareja <kthare10@renci.org> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/fabricauthenticator/ |
| مجوز | - |
[](https://pypi.org/project/fabricauthenticator/)
# Fabric Authenticator for Jupyterhub
The authenticator for Fabric Testbed Jupyterhub
Based on CILogon authentication, in addition it checks if user belongs to Fabric JUPYTERHUB COU group
## Usage
### If using dockerspawner:
In jupyter_config.py:
```
import fabricauthenticator
c.JupyterHub.authenticator_class = 'fabricauthenticator.FabricAuthenticator'
c.Authenticator.enable_auth_state = True
# set the OIDC client info in following CILogon configuration
c.CILogonOAuthenticator.client_id = ""
c.CILogonOAuthenticator.client_secret = ""
c.CILogonOAuthenticator.oauth_callback_url = "<host>/hub/oauth_callback"
```
### if using KubeSpawner
in config.yaml:
```
hub:
extraConfig:
authconfig: |
c.Authenticator.enable_auth_state = True
c.CILogonOAuthenticator.client_id = ""
c.CILogonOAuthenticator.client_secret = ""
c.CILogonOAuthenticator.oauth_callback_url = "<host>/hub/oauth_callback"
auth:
type: custom
custom:
className: fabricauthenticator.FabricAuthenticator
```
نیازمندی
| مقدار | نام |
|---|---|
| - | jupyterhub>=1.0 |
| - | oauthenticator |
| - | ldap3 |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl fabricauthenticator-1.2rc1:
pip install fabricauthenticator-1.2rc1.whl
نصب پکیج tar.gz fabricauthenticator-1.2rc1:
pip install fabricauthenticator-1.2rc1.tar.gz