Registry / auth / laminas-laminas-authentication

laminas-laminas-authentication

JSON →
library2.19.0phppackagistunverified

Provides an API for authentication and includes concrete authentication adapters for common use case scenarios.

composer require laminas/laminas-authentication
INSTALL
IMPORT
SIG · LAMINAS-LAMINAS-AU
L
laminas-laminas-authentication
authphpv2.19.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AuthenticationService
use Laminas\Authentication\AuthenticationService;

Authenticate a user using the Digest adapter.

use Laminas\Authentication\AuthenticationService; use Laminas\Authentication\Adapter\Digest; $auth = new AuthenticationService(); $adapter = new Digest('file', 'realm', 'username', 'password'); $result = $auth->authenticate($adapter); if ($result->isValid()) { // Authentication successful }
Debug
Known issues
gotchaSome adapters (e.g., Http\Basic) require specific server configurations.
fix
Ensure your web server is configured correctly for the chosen authentication method.
affects: >=2.0.0
Upgrade
Version history
2.19.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
16
OpenAI (training)
1
Resources
laminas-laminas-authentication — pip install laminas-laminas-authentication · libregistry