jAcl2AuthAdapterInterface2
extends
jAcl2AuthAdapterInterface
in
Interface for authentication adapters for jAcl2.
Tags
Table of Contents
- getCurrentUserLogin() : null|string
- getUserAdminProfilUrl() : string
- getUserProfilUrl() : string
- isUserConnected() : bool
Methods
getCurrentUserLogin()
public
getCurrentUserLogin() : null|string
Tags
Return values
null|string —the login or null if the user is not connected
getUserAdminProfilUrl()
public
getUserAdminProfilUrl(string $login) : string
Parameters
- $login : string
Tags
Return values
string —the url to the profile of the given user from the user administration. If empty, there is no a page to show the profile.
getUserProfilUrl()
public
getUserProfilUrl(string $login) : string
Parameters
- $login : string
Tags
Return values
string —the url to the public profile of the given user. If empty, there is no a page to show the profile.
isUserConnected()
public
isUserConnected() : bool
Tags
Return values
bool —true if the current user is authenticated