Nextcloud PHP API (master)

IApacheBackend

Interface IApacheBackend

Tags
since
6.0.0

Table of Contents

Methods

getCurrentUserId()  : string
Return the id of the current user
getLogoutUrl()  : string
Gets the current logout URL
isSessionActive()  : bool
In case the user has been authenticated by a module true is returned.

Methods

getCurrentUserId()

Return the id of the current user

public getCurrentUserId() : string
Tags
since
6.0.0
Return values
string

getLogoutUrl()

Gets the current logout URL

public getLogoutUrl() : string
Tags
since
12.0.3
Return values
string

isSessionActive()

In case the user has been authenticated by a module true is returned.

public isSessionActive() : bool
Tags
since
6.0.0
Return values
bool

whether the module reports a user as currently logged in.


        
On this page

Search results