aim_server_basic_auth 0.0.1 copy "aim_server_basic_auth: ^0.0.1" to clipboard
aim_server_basic_auth: ^0.0.1 copied to clipboard

Basic authentication middleware for Aim framework. Provides RFC 7617 compliant HTTP Basic Authentication with customizable user verification, realm support, and path exclusion.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.0.1 - 2026-01-03 #

Added #

  • Initial release of aim_server_basic_auth
  • RFC 7617 compliant HTTP Basic Authentication middleware
  • Custom async user verification function support
  • Configurable realm for authentication dialogs
  • Path exclusion feature for public routes
  • Full support for special characters in passwords (including colons)
  • Unicode character support in usernames and passwords
  • Automatic WWW-Authenticate header in 401 responses
  • Comprehensive test suite with 36 tests
  • Complete API documentation with dartdoc comments
  • Security best practices documentation
  • Comparison guide with JWT authentication

Security #

  • Enforces WWW-Authenticate header on all 401 responses (RFC 7617 compliance)
  • Secure credential handling (passwords never logged or stored in middleware)
  • Base64 decoding error handling
  • Flexible verification function for custom security implementations

Examples #

  • Basic authentication setup
  • Database-backed user verification
  • Password hashing integration
  • Path exclusion configuration
  • Production security recommendations
1
likes
160
points
125
downloads

Publisher

verified publisheraim-dart.dev

Weekly Downloads

Basic authentication middleware for Aim framework. Provides RFC 7617 compliant HTTP Basic Authentication with customizable user verification, realm support, and path exclusion.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

aim_server, crypto

More

Packages that depend on aim_server_basic_auth