\Pydio\Core\Http\DavAuthBackendDigest

Summary

Methods
Properties
Constants
__construct()
getDigestHash()
authenticate()
breakNotAuthenticatedAndRequireLogin()
No public properties found
No constants found
updateCurrentUserRights()
No protected properties found
N/A
_decodePassword()
$secretKey
$repositoryId
$context
N/A

Properties

$secretKey

$secretKey : 

Type

$repositoryId

$repositoryId : 

Type

Methods

__construct()

__construct(  $context) 

AuthBackendDigest constructor.

Parameters

$context

getDigestHash()

getDigestHash(string  $realm, string  $username) : boolean|string

Parameters

string $realm
string $username

Throws

\Sabre\DAV\Exception\NotAuthenticated

Returns

boolean|string

authenticate()

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

Parameters

\Sabre\DAV\Server $server
string $realm

Throws

\Sabre\DAV\Exception\NotAuthenticated

Returns

boolean

breakNotAuthenticatedAndRequireLogin()

breakNotAuthenticatedAndRequireLogin(\Sabre\DAV\Server  $server,   $realm,   $errmsg) 

Parameters

\Sabre\DAV\Server $server
$realm
$errmsg

updateCurrentUserRights()

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

Parameters

\Pydio\Core\Model\UserInterface $user

Throws

\Sabre\DAV\Exception\NotAuthenticated

Returns

boolean

_decodePassword()

_decodePassword(  $encoded,   $user) : string

Parameters

$encoded
$user

Returns

string