Nextcloud PHP API (master)

IAccountProperty extends JsonSerializable

Interface IAccountProperty

Tags
since
15.0.0

Table of Contents

Methods

getLocallyVerified()  : string
Get the instance-based verification status of a property
getName()  : string
Get the name of a property
getScope()  : string
Get the scope of a property
getValue()  : string
Get the value of a property
getVerificationData()  : string
Retrieves data for verification purposes.
getVerified()  : string
Get the verification status of a property
setLocallyVerified()  : IAccountProperty
Set the instance-based verification status of a property
setScope()  : IAccountProperty
Set the scope of a property
setValue()  : IAccountProperty
Set the value of a property
setVerificationData()  : IAccountProperty
Sets data for verification purposes.
setVerified()  : IAccountProperty
Set the verification status of a property

Methods

getLocallyVerified()

Get the instance-based verification status of a property

public getLocallyVerified() : string
Tags
since
23.0.0
Return values
string

getName()

Get the name of a property

public getName() : string
Tags
since
15.0.0
Return values
string

getScope()

Get the scope of a property

public getScope() : string
Tags
since
15.0.0
psalm-return

IAccountManager::SCOPE_*

Return values
string

getValue()

Get the value of a property

public getValue() : string
Tags
since
15.0.0
Return values
string

getVerificationData()

Retrieves data for verification purposes.

public getVerificationData() : string
Tags
since
22.0.0
Return values
string

getVerified()

Get the verification status of a property

public getVerified() : string
Tags
since
15.0.0
Return values
string

setLocallyVerified()

Set the instance-based verification status of a property

public setLocallyVerified(string $verified) : IAccountProperty
Parameters
$verified : string

must be one of the verification constants of IAccountManager

Tags
since
23.0.0
throws
InvalidArgumentException
Return values
IAccountProperty

setScope()

Set the scope of a property

public setScope(string $scope) : IAccountProperty
Parameters
$scope : string
Tags
since
15.0.0
psalm-param

IAccountManager::SCOPE_* $scope

throws
InvalidArgumentException

(since 22.0.0)

Return values
IAccountProperty

        
On this page

Search results