Nextcloud PHP API (stable18)

ICloudIdManager

Interface for resolving federated cloud ids

Tags
since
12.0.0

Table of Contents

getCloudId()  : ICloudId
Get the cloud id for a remote user
isValidCloudId()  : bool
Check if the input is a correctly formatted cloud id
resolveCloudId()  : ICloudId

Methods

getCloudId()

Get the cloud id for a remote user

public getCloudId(string $user, string $remote) : ICloudId
Parameters
$user : string
$remote : string
Tags
since
12.0.0
Return values
ICloudId

isValidCloudId()

Check if the input is a correctly formatted cloud id

public isValidCloudId(string $cloudId) : bool
Parameters
$cloudId : string
Tags
since
12.0.0
Return values
bool

resolveCloudId()

public resolveCloudId(string $cloudId) : ICloudId
Parameters
$cloudId : string
Tags
throws
InvalidArgumentException
since
12.0.0
Return values
ICloudId

Search results