Public Member Functions | |
checkAuthentication () | |
getAuthSession () | |
checkAuthorization ($opt) | |
askAuthentication ($args) | |
getAuthUrl (array $extendedArg=array()) | |
connectTo ($uri) | |
getAuthUser () | |
getAuthPw () | |
logout ($redir_uri= '') | |
setSessionVar ($name, $value) | |
getSessionVar ($name) | |
logon () | |
Public Member Functions inherited from Authenticator | |
__construct ($authtype, $authprovider) | |
tryInitializeUser ($username) | |
getProviderErrno () | |
getAuthApp () | |
checkAuthentication () | |
checkAuthorization ($opt) | |
askAuthentication ($args) | |
getAuthUser () | |
getAuthPw () | |
logout ($redir_uri= '') | |
setSessionVar ($name, $value) | |
getSessionVar ($name) | |
Data Fields | |
$auth_session = null | |
Data Fields inherited from Authenticator | |
const | AUTH_OK = 0 |
const | AUTH_NOK = 1 |
const | AUTH_ASK = 2 |
const | nullProvider = "__for_logout__" |
$provider = null | |
Additional Inherited Members | |
Static Public Member Functions inherited from Authenticator | |
static | getAuthParam ($provider="") |
static | getAuthTypeParams () |
static | freedomUserExists ($username) |
Definition at line 20 of file Class.htmlAuthenticator.php.
askAuthentication | ( | $args | ) |
Definition at line 101 of file Class.htmlAuthenticator.php.
checkAuthentication | ( | ) |
Definition at line 33 of file Class.htmlAuthenticator.php.
checkAuthorization | ( | $opt | ) |
Definition at line 86 of file Class.htmlAuthenticator.php.
connectTo | ( | $uri | ) |
ask authentication and redirect
string | $uri | uri to redirect after connection |
Definition at line 144 of file Class.htmlAuthenticator.php.
getAuthPw | ( | ) |
Definition at line 169 of file Class.htmlAuthenticator.php.
getAuthSession | ( | ) |
retrieve authentication session
Definition at line 68 of file Class.htmlAuthenticator.php.
getAuthUrl | ( | array | $extendedArg = array() | ) |
return url used to connect user
array | $extendedArg |
Dcp\Exception |
Definition at line 121 of file Class.htmlAuthenticator.php.
getAuthUser | ( | ) |
Definition at line 155 of file Class.htmlAuthenticator.php.
getSessionVar | ( | $name | ) |
Definition at line 212 of file Class.htmlAuthenticator.php.
logon | ( | ) |
Definition at line 218 of file Class.htmlAuthenticator.php.
logout | ( | $redir_uri = '' | ) |
Definition at line 178 of file Class.htmlAuthenticator.php.
setSessionVar | ( | $name, | |
$value | |||
) |
Definition at line 200 of file Class.htmlAuthenticator.php.
$auth_session = null |
Definition at line 23 of file Class.htmlAuthenticator.php.