Public Member Functions | |
checkAuthentication () | |
consumeToken ($privatekey) | |
checkAuthorization ($opt) | |
askAuthentication ($args) | |
getAuthUser () | |
getAuthPw () | |
logout ($redir_uri= '') | |
setSessionVar ($name, $value) | |
getSessionVar ($name) | |
getAuthSession () | |
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) | |
Static Public Member Functions | |
static | getTokenId () |
static | getLoginFromPrivateKey ($privatekey) |
static | getUserToken ($tokenId) |
static | verifyOpenExpire (\UserToken $token) |
static | verifyOpenAccess (\UserToken $token) |
Static Public Member Functions inherited from Authenticator | |
static | getAuthParam ($provider="") |
static | getAuthTypeParams () |
static | freedomUserExists ($username) |
Data Fields | |
const | openAuthorizationScheme = "DcpOpen" |
const | openGetId = "dcpopen-authorization" |
$token | |
$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 | |
Definition at line 20 of file Class.openAuthenticator.php.
askAuthentication | ( | $args | ) |
no ask
Definition at line 182 of file Class.openAuthenticator.php.
checkAuthentication | ( | ) |
no need to ask authentication
Definition at line 31 of file Class.openAuthenticator.php.
checkAuthorization | ( | $opt | ) |
Definition at line 175 of file Class.openAuthenticator.php.
consumeToken | ( | $privatekey | ) |
Definition at line 157 of file Class.openAuthenticator.php.
getAuthPw | ( | ) |
no password needed
Definition at line 197 of file Class.openAuthenticator.php.
getAuthSession | ( | ) |
Definition at line 234 of file Class.openAuthenticator.php.
getAuthUser | ( | ) |
Definition at line 190 of file Class.openAuthenticator.php.
|
static |
Definition at line 73 of file Class.openAuthenticator.php.
getSessionVar | ( | $name | ) |
Definition at line 226 of file Class.openAuthenticator.php.
|
static |
Definition at line 52 of file Class.openAuthenticator.php.
|
static |
Definition at line 105 of file Class.openAuthenticator.php.
logout | ( | $redir_uri = '' | ) |
no logout
Definition at line 204 of file Class.openAuthenticator.php.
setSessionVar | ( | $name, | |
$value | |||
) |
Definition at line 215 of file Class.openAuthenticator.php.
|
static |
Definition at line 128 of file Class.openAuthenticator.php.
|
static |
Definition at line 117 of file Class.openAuthenticator.php.
$auth_session = null |
Definition at line 27 of file Class.openAuthenticator.php.
$token |
Definition at line 26 of file Class.openAuthenticator.php.
const openAuthorizationScheme = "DcpOpen" |
Definition at line 23 of file Class.openAuthenticator.php.
const openGetId = "dcpopen-authorization" |
Definition at line 24 of file Class.openAuthenticator.php.