Class Rest\Authenticator Responsible for dealing with both Basic and Digest authentication
__construct(\Rest\Rest\Server $rest = null)
\Rest\Rest\Server
getRest() : \Rest\Rest\Server
\Rest\Rest\Server
getUser() : string
string
getPassword() : string
string
isDigest() : bool
bool
forceDigest(bool $bool = true, string $realm = null) : \Rest\Rest\Authenticator
bool
string
\Rest\Rest\Authenticator
getRealm() : string
string
$realm
setRealm(string $realm) : \Rest\RestAuthenticator
string
\Rest\RestAuthenticator
requireAuthentication($isRequired = true) : \Rest\RestAuthenticator
\Rest\RestAuthenticator
isAuthenticationRequired() : bool
bool
$auth;
isAuthenticated() : bool
bool
$auth;
setAuthenticated($bool) : \Rest\Rest\Server
\Rest\Rest\Server
tryAuthenticate() : bool
bool
validate(string $user, string $password) : \Rest\RestAuthenticator
string
string
\Rest\RestAuthenticator
digestParse($txt) : mixed
mixed
digestHeader() : string
string
rest
user
pwd
authData
realm
isDigest
requireAuth
auth