super_simple_authentication_toolkit 0.0.1-dev.10 copy "super_simple_authentication_toolkit: ^0.0.1-dev.10" to clipboard
super_simple_authentication_toolkit: ^0.0.1-dev.10 copied to clipboard

A collection of Dart Frog functions that power the super_simple_authentication_server

0.0.1-dev.10 #

  • Fixed sendOtpHandler to use fromEmail and fromName from environment variables

0.0.1-dev.9 #

  • Add SmtpEmailProvider for sending emails via SMTP

0.0.1-dev.8 #

  • Add expiresAt and expiresIn to sendOtpHandler response

0.0.1-dev.7 #

  • Use EmailProvider interface instead of Sendgrid
  • Breaking change: Remove debugOtps parameter from sendOtpHandler in favor of FakeEmailService for testing

0.0.1-dev.6 #

  • Add EmailProvider interfaces
  • Add FakeEmailService for testing
  • Add FakeSms for testing

0.0.1-dev.5 #

  • Add password reset functionality
    • Add sendPasswordResetEmailHandler for sending password reset emails via Sendgrid
    • Add resetPasswordHandler for resetting passwords with secure tokens
    • Add password reset token utilities (createPasswordResetToken, hashPasswordResetToken)
    • Add password reset models (PasswordResetResponse, PasswordResetError)
    • Extend DataStorage interface with password reset token methods:
      • createPasswordResetToken - creates a hashed password reset token
      • getPasswordResetToken - retrieves and validates a password reset token
      • revokePasswordResetTokens - revokes all tokens for a user
      • updateUserPassword - updates a user's password and salt
    • Support for Sendgrid dynamic templates in password reset emails
    • Security best practices: token hashing, expiration, one-time use, email enumeration prevention

0.0.1-dev.4 #

  • Fix CORS middleware to return 200 for OPTIONS requests

0.0.1-dev.3 #

  • Add CORS middleware
  • Fixed sign in error enum

0.0.1-dev.2 #

  • Standardize sign in response format

0.0.1-dev.1 #

  • Initial release!
1
likes
140
points
698
downloads

Publisher

unverified uploader

Weekly Downloads

A collection of Dart Frog functions that power the super_simple_authentication_server

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

dart_frog, http, mailer, meta, pointycastle, uuid

More

Packages that depend on super_simple_authentication_toolkit