Skip to content

feat!: implement passkey and TOTP services with repositories for user…#31

Open
NoOne7135 wants to merge 1 commit into
mainfrom
refactor
Open

feat!: implement passkey and TOTP services with repositories for user…#31
NoOne7135 wants to merge 1 commit into
mainfrom
refactor

Conversation

@NoOne7135

Copy link
Copy Markdown
Contributor

… and passkey management

  • Added PasskeyRepository for handling passkey-related database operations.
  • Added UserRepository for managing user data and authentication.
  • Introduced CookieService for managing authentication and temporary cookies.
  • Developed PasskeyService to handle passkey registration, authentication, and user management.
  • Created TotpService for generating and verifying TOTP secrets and codes.
  • Implemented utility functions for error handling and period parsing.
  • Added verifyMfaConfirmation service to handle multi-factor authentication confirmations.

BREAKING CHANGE: Passkey credential metadata is now stored and read as a JSON object instead of a JSON-stringified value. Existing passkey records created by previous versions may not validate correctly until their metadata is migrated to the new JSON format.

… and passkey management

* Added PasskeyRepository for handling passkey-related database operations.
* Added UserRepository for managing user data and authentication.
* Introduced CookieService for managing authentication and temporary cookies.
* Developed PasskeyService to handle passkey registration, authentication, and user management.
* Created TotpService for generating and verifying TOTP secrets and codes.
* Implemented utility functions for error handling and period parsing.
* Added verifyMfaConfirmation service to handle multi-factor authentication confirmations.

BREAKING CHANGE: Passkey credential metadata is now stored and read as a JSON object instead of a JSON-stringified value. Existing passkey records created by previous versions may not validate correctly until their metadata is migrated to the new JSON format.
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.

1 participant