User Authentication Session Management Blueprint
Authentication flows, session management, brute-force protection
| Feature | user-authentication-session-management |
| Category | Auth |
| Version | 1.0.0 |
| Tags | authentication, sessions |
| YAML Source | View on GitHub |
| JSON API | user-authentication-session-management.json |
Fields
| Name | Type | Required | Label | Description |
|---|---|---|---|---|
username | text | Yes | Username | Validations: required |
password | password | Yes | Password | Validations: required |
Rules
- core: Authentication and session lifecycle
Outcomes
Auth_success (Priority: 5)
Given:
usernameexistsnull
Then:
- emit_event event:
auth.success
Result: User authenticated
Errors
| Code | Status | Message | Retry |
|---|---|---|---|
INVALID_CREDENTIALS | 401 | Invalid credentials | No |
Events
| Event | Description | Payload |
|---|---|---|
auth.success | Authentication successful | username |