Skip to main content

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

pyramid_backend_vgid_oauth2-1.0.2.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file pyramid_backend_vgid_oauth2-1.0.2.tar.gz.

File metadata

File hashes

Hashes for pyramid_backend_vgid_oauth2-1.0.2.tar.gz
Algorithm Hash digest
SHA256 93353599288a883d0e8ca7a2ac02060ab51e0adb41d18430422c004d49680fc9
MD5 c6d103c50ea011db5c593f4e4f56fb19
BLAKE2b-256 ec35218ca6a7413b5b8b66af410cb52cff9613928d94f2d706e52ff846198329

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page