14 lines
290 B
Python
14 lines
290 B
Python
"""
|
|
Authentication models and enums for user management.
|
|
|
|
Contains user roles enumeration and authentication-related Pydantic models.
|
|
"""
|
|
|
|
from enum import Enum
|
|
|
|
|
|
class UserRole(str, Enum):
|
|
"""User roles enumeration with string values."""
|
|
|
|
USER = "user"
|
|
ADMIN = "admin" |