authentication
authentication copied to clipboard
A framework agnostic authentication library based on PSR standards
Authentication
This library intends to provide a framework around authentication and user identification. Authorization is a separate concern.
Installation
You can install this library using composer:
composer require phauthentic/authentication
Requirements
Your application must use the PSR 7 HTTP Message interfaces for your request and response objects. The whole library is build to be framework agnostic but uses these interfaces as the common API. Every modern and well written framework and application should fulfill this requirement.
- php >= 7.4
- psr/http-message
Only if you plan to use the PSR-15 middleware:
Documentation
- Architectural Overview
-
Quick Start and Introduction
- JWT Example
-
Authenticators
- Session
- Token
- JWT
- HTTP Basic
- HTTP Digest
- Cookie
- OAuth
-
Identifiers
-
Identity Resolvers
- Callback Resolver
- PDO Statement Resolver
- Writing your own Resolver
-
Identity Resolvers
- Identity Objects
- URL Checkers
- PSR15 Middleware
- PSR7 Middleware
Copyright & License
Licensed under the MIT license.
- Copyright (c) Phauthentic
- Copyright (c) Cake Software Foundation, Inc.