AM
TH
เริ่มต้นฟรี
เมนู
ประเภท

User

บุคคลที่สามารถยืนยันตัวตนในแอปพลิเคชัน และเข้าถึงบัญชีผ่านสมาชิกภาพ

user authentication profile credentials

User

User คือบุคคลที่ยืนยันตัวตนภายในแอปพลิเคชันได้ และเข้าถึงบัญชีต่าง ๆ ผ่านสมาชิกภาพ

สคีมา

interface User {
  id: string; // "uid..." - ตัวระบุที่ไม่ซ้ำ
  application_id: string; // แอปพลิเคชันเจ้าของ
  status: UserStatus;
}

type UserStatus = "active" | "suspended" | "disabled" | "deleted";

คุณสมบัติ

PropertyTypeคำอธิบาย
idstringKSUID ที่ขึ้นต้นด้วย uid
application_idstringแอปพลิเคชันที่เป็นเจ้าของผู้ใช้
statusenumสถานะปัจจุบันของผู้ใช้

ค่าสถานะ

Statusคำอธิบาย
activeยืนยันตัวตนและเข้าถึงทรัพยากรได้
suspendedถูกบล็อกการเข้าถึงชั่วคราว
disabledถูก deprovision หรือปิดใช้งาน
deletedถูกลบถาวร

ทรัพยากรที่เกี่ยวข้อง

┌─────────────────────────────────────┐
│               User                  │
│  ┌─────────────┐  ┌─────────────┐  │
│  │  Identity   │  │ Credentials │  │
│  └─────────────┘  └─────────────┘  │
│  ┌─────────────────────────────┐   │
│  │       Memberships           │   │
│  └─────────────────────────────┘   │
└─────────────────────────────────────┘
Resourceความสัมพันธ์
Identity1:1 - ข้อมูลโปรไฟล์ (PII)
Credentials1:N - ชุดอีเมล/รหัสผ่าน
Memberships1:N - ความเชื่อมโยงกับบัญชี

ตัวอย่าง

{
  "id": "uid_2kHfPZcN9xW4mE8RtY7vB",
  "application_id": "app_root",
  "status": "active"
}

ที่เกี่ยวข้อง

  • Users - การจัดการผู้ใช้
  • User Identity - ข้อมูลโปรไฟล์
  • Membership - ความสัมพันธ์กับบัญชี
  • Applications - ขอบเขตบริการ