IApacheBackend
in
Interface IApacheBackend
Tags
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
Return values
stringgetLogoutUrl()
Gets the current logout URL
public
getLogoutUrl() : string
Can return an empty string when the backend has no logout URL to offer (e.g. Kerberos/SPNEGO where logging out client-side has no effect since the browser will just re-authenticate transparently).
Tags
Return values
stringisSessionActive()
In case the user has been authenticated by a module true is returned.
public
isSessionActive() : bool
Tags
Return values
bool —whether the module reports a user as currently logged in.