Authentication และ Authorization
Django Auth System
Section titled “Django Auth System”Django มาพร้อมระบบ authentication ครบถ้วน รวมถึง User, Group, Permission และ session management ทำให้ไม่ต้องสร้างระบบล็อกอินเอง
Auth Components
Section titled “Auth Components”| Component | Description |
|---|---|
User | โมเดลผู้ใช้ พร้อม username, password, email |
Group | กลุ่มผู้ใช้ สำหรับจัดการสิทธิ์รวม |
Permission | สิทธิ์การเข้าถึง per-model หรือ custom |
Session | จัดการ session ของผู้ใช้ |
Backend | Authentication backends |
เข้าสู่ระบบเพื่อดูเนื้อหาเต็ม
ยืนยันตัวตนด้วยบัญชี Google เพื่อปลดล็อกบทความทั้งหมด
Login with Google