aura/auth

Provides a unified interface to authenticate a user with local or remote authentication systems.

Maintainers

Package info

github.com/auraphp/Aura.Auth

pkg:composer/aura/auth

Transparency log

Statistics

Installs: 244 642

Dependents: 14

Suggesters: 1

Stars: 135

Open Issues: 0

4.0.3 2021-12-15 20:58 UTC

README

Provides authentication functionality and session tracking using various adapters; currently supported adapters are:

  • Apache htpasswd files
  • SQL tables via the PDO extension
  • IMAP/POP/NNTP via the imap extension
  • LDAP and Active Directory via the ldap extension
  • OAuth via customized adapters

It also provides a secure, pluggable "remember me" feature for long-term authentication.

Note that the purpose of this package is only to authenticate user credentials. It does not currently, and probably will not in the future, handle user account creation and management. That is more properly the domain of application-level functionality, or at least a separate Aura bundle.

Foreword

Installation

This library requires PHP 8.2 or later, and depends only on aura/session-interface for its shared session contracts.

It is installable and autoloadable via Composer as aura/auth.

Alternatively, download a release or clone this repository, then require or include its autoload.php file.

Quality

Scrutinizer Code Quality Continuous Integration

To run the unit tests at the command line, issue composer install and then vendor/bin/phpunit at the package root. This requires Composer to be available as composer.

This library attempts to comply with PSR-1, PSR-2, and PSR-4. If you notice compliance oversights, please send a patch via pull request.

Community

To ask questions, provide feedback, or otherwise communicate with the Aura community, please join our Google Group, follow @auraphp on Twitter, or chat with us on #auraphp on Freenode.

Documentation

This package is fully documented here.