Class Porta\Psr14Event\Auth\AuthBasic

extends Auth

Class to perform basic authentification

Create an instance of class with password and username and then check Event for credentials:

(new AuthBasic('username','pass'))->authentificate($event)
Methods
Methods inherited from Porta\Psr14Event\Auth\Auth
withAuthHeader(), authentificate(), check(), parseData(), extractHeader()
Constants
Constants inherited from Porta\Psr14Event\Auth\Auth
DATE_HEADER
Properties
Properties inherited from Porta\Psr14Event\Auth\Auth
$authHeader, $request, $authType, $authValue, $dateHeader