Stud.IP
2.0 Revision 48548
|
Public Member Functions | |
StudipAuthCAS () | |
getUser () | |
isAuthenticated ($username, $password, $jscript) | |
authenticateUser ($username, $password, $jscript=false) | |
getUserData ($key) | |
logout () | |
Public Member Functions inherited from StudipAuthSSO | |
isUsedUsername ($username) | |
Public Member Functions inherited from StudipAuthAbstract | |
StudipAuthAbstract () | |
getStudipUserid ($username) | |
doNewUserInit ($uid) | |
setUserDomains ($uid) | |
getUserDomains () | |
doDataMapping ($uid) | |
isMappedField ($name) | |
verifyUsername ($username) |
Data Fields | |
$host | |
$port | |
$uri | |
$cacert | |
$cas | |
$userdata |
Additional Inherited Members | |
Static Public Member Functions inherited from StudipAuthAbstract | |
GetInstance ($plugin_name=false) | |
CheckAuthentication ($username, $password, $jscript=false) | |
CheckUsername ($username) | |
CheckField ($field_name, $plugin_name) |
authenticateUser | ( | $username, | |
$password, | |||
$jscript = false |
|||
) |
authentication method
this method authenticates the passed username, it is used by StudipAuthAbstract::CheckAuthentication() if authentication succeeds it calls StudipAuthAbstract::doDataMapping() to map data fields if the authenticated user logs in for the first time it calls StudipAuthAbstract::doNewUserInit() to initialize the new user private
string | the username to check |
string | the password to check |
bool | indicates if javascript was enabled/disabled during the login process |
Reimplemented from StudipAuthAbstract.
getUser | ( | ) |
Return the current username.
Reimplemented from StudipAuthSSO.
getUserData | ( | $key | ) |
isAuthenticated | ( | $username, | |
$password, | |||
$jscript | |||
) |
Check whether this user can be authenticated. The default implementation just checks whether $username is not empty.
Reimplemented from StudipAuthSSO.
logout | ( | ) |
StudipAuthCAS | ( | ) |
Constructor
public
$cacert |
$cas |
$host |
$port |
$uri |
$userdata |