Hệ thống quản trị người dùng backend mặc định dành cho pyramid_backend dựa trên pyramid_vgid_oauth2
Sử dụng
# cần inlcude “pyramid_backend”, “pyramid_vgid_oauth2” cùng configuration trước đó config.include(‘pyramid_backend_vgid_oauth2’) config.set_authorization_policy(…)
### Configuration
pyramid_backend_vgid_oauth2.auth_secret = option, key để mã hóa cookie đăng nhập pyramid_backend_vgid_oauth2.roles = các role cho User, ngăn cách bởi “,”
Hệ thống này sử dụng backend để lưu trữ User dựa trên SQLAlchemy, chỉ cần config biến DBSession là được
pyramid_backend_vgid_oauth2.sa.dbsession = ‘đường dẫn đến dbsession’
CHANGE LOG
### 1.0.x
Packaging
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pyramid_backend_vgid_oauth2-1.0.2.tar.gz.
File metadata
- Download URL: pyramid_backend_vgid_oauth2-1.0.2.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93353599288a883d0e8ca7a2ac02060ab51e0adb41d18430422c004d49680fc9
|
|
| MD5 |
c6d103c50ea011db5c593f4e4f56fb19
|
|
| BLAKE2b-256 |
ec35218ca6a7413b5b8b66af410cb52cff9613928d94f2d706e52ff846198329
|