ICloudIdManager
in
Interface for resolving federated cloud ids
Tags
Table of Contents
Methods
- getCloudId() : ICloudId
- Get the cloud id for a remote user
- isValidCloudId() : bool
- Check if the input is a correctly formatted cloud id
- removeProtocolFromUrl() : string
- remove scheme/protocol from an url
- resolveCloudId() : ICloudId
Methods
getCloudId()
Get the cloud id for a remote user
public
getCloudId(string $user, string|null $remote) : ICloudId
Parameters
- $user : string
- $remote : string|null
-
(optional since 23.0.0 for local users)
Tags
Return values
ICloudIdisValidCloudId()
Check if the input is a correctly formatted cloud id
public
isValidCloudId(string $cloudId) : bool
Parameters
- $cloudId : string
Tags
Return values
boolremoveProtocolFromUrl()
remove scheme/protocol from an url
public
removeProtocolFromUrl(string $url[, bool $httpsOnly = false ]) : string
Parameters
- $url : string
- $httpsOnly : bool = false
Tags
Return values
stringresolveCloudId()
public
resolveCloudId(string $cloudId) : ICloudId
Parameters
- $cloudId : string