pyramid_backend_vgid_oauth2
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for pyramid_backend_vgid_oauth2-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | de317ad4917edc957cd0c7df1174f6778d7faa236263246aa6af09dd34d37ca5 |
|
MD5 | b4daaca21ac4fedd7c0245b7c81e6433 |
|
BLAKE2b-256 | b239595ec453b42db0cd7910db6567a05046b4bebd81bb33caaec943894b6059 |