\Pydio\Core\Http\DavAuthBackendBasic

Class AuthBackendBasic

Summary

Methods
Properties
Constants
detectBasicHeader()
__construct()
authenticate()
No public properties found
No constants found
validateUserPass()
updateCurrentUserRights()
No protected properties found
N/A
No private methods found
$context
N/A

Properties

Methods

detectBasicHeader()

detectBasicHeader() : boolean

Utilitary method to detect basic header.

Returns

boolean

authenticate()

authenticate(\Sabre\DAV\Server  $server, string  $realm) : boolean

Parameters

\Sabre\DAV\Server $server
string $realm

Throws

\Sabre\DAV\Exception\NotAuthenticated

Returns

boolean

validateUserPass()

validateUserPass(string  $username, string  $password) : boolean|void

Parameters

string $username
string $password

Returns

boolean|void

updateCurrentUserRights()

updateCurrentUserRights(\Pydio\Core\Model\UserInterface  $user) : boolean

Parameters

\Pydio\Core\Model\UserInterface $user

Throws

\Sabre\DAV\Exception\NotAuthenticated

Returns

boolean