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.1.tar.gz (3.2 kB view hashes)

Uploaded Source

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