Constants

VISIBILITY_NONE

VISIBILITY_NONE

Visibility constants for VisibilityTrait

VISIBILITY_PERSONAL

VISIBILITY_PERSONAL

VISIBILITY_ADMIN

VISIBILITY_ADMIN

VISIBILITY_DEFAULT

VISIBILITY_DEFAULT

PRIORITY_DEFAULT

PRIORITY_DEFAULT

Priority constants for PriorityTrait

Methods

registerAuthMechanism()

registerAuthMechanism(\OCP\Files\External\Auth\AuthMechanism  $authMech) 

Register an authentication mechanism

Parameters

\OCP\Files\External\Auth\AuthMechanism $authMech

getAvailableBackends()

getAvailableBackends() : array<mixed,\OCP\Files\External\Backend\Backend>

Get all available backends

Returns

array<mixed,\OCP\Files\External\Backend\Backend>

getAuthMechanismsByScheme()

getAuthMechanismsByScheme(array<mixed,string>  $schemes) : array<mixed,\OCP\Files\External\Auth\AuthMechanism>

Get all authentication mechanisms for schemes

Parameters

array<mixed,string> $schemes

Returns

array<mixed,\OCP\Files\External\Auth\AuthMechanism>

getAuthMechanism()

getAuthMechanism(string  $identifier) : \OCP\Files\External\Auth\AuthMechanism|null

Get authentication mechanism by id

Parameters

string $identifier

Returns

\OCP\Files\External\Auth\AuthMechanism|null

isUserMountingAllowed()

isUserMountingAllowed() : boolean

Returns whether user mounting is allowed

Returns

boolean