16 lines
573 B
Markdown
16 lines
573 B
Markdown
# Data Model: Simple HTTP Auth
|
|
|
|
## Entities
|
|
|
|
### Passphrase
|
|
- **Description**: A secret string used for authentication.
|
|
- **Attributes**:
|
|
- `value`: string (The actual passphrase, stored securely in .env)
|
|
|
|
### Session
|
|
- **Description**: Represents a period of continuous interaction between the user and the SPA, during which access is maintained.
|
|
- **Attributes**:
|
|
- `id`: string (Unique identifier for the session)
|
|
- `isAuthenticated`: boolean (Indicates if the session is authenticated)
|
|
- `expiry`: datetime (Timestamp when the session expires, if applicable)
|