Skip to content

Implement Authentication & Authorization Module#22

Merged
akargi merged 1 commit into
Chulilee:mainfrom
ustaxs:feat/auth
Jul 23, 2026
Merged

Implement Authentication & Authorization Module#22
akargi merged 1 commit into
Chulilee:mainfrom
ustaxs:feat/auth

Conversation

@ustaxs

@ustaxs ustaxs commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

New files created
Entities (5 new TypeORM entities, auto-loaded via TypeOrmModule.forFeature):

refresh-token.entity.ts — Stores bcrypt-hashed refresh tokens with device/IP/UA metadata and revocation state
api-key.entity.ts — Stores bcrypt-hashed API keys with optional scopes and expiry
auth-audit-log.entity.ts — Immutable audit records with 15 event types (login, logout, stellar auth, API key events, etc.)
stellar-auth-challenge.entity.ts — Short-lived nonces for the Stellar wallet challenge-response flow
password-reset-token.entity.ts — Single-use, time-limited password reset tokens

Closes #5

@akargi
akargi merged commit 6340d4b into Chulilee:main Jul 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Authentication & Authorization Module

2 participants