Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
StudipAuthCAS Class Reference
Inheritance diagram for StudipAuthCAS:
StudipAuthSSO StudipAuthAbstract

Public Member Functions

 __construct ($config=[])
 
 getUser ()
 
 verifyUsername ($username)
 
 getUserData ($key)
 
 logout ()
 
- Public Member Functions inherited from StudipAuthSSO
 getUser ()
 
 isAuthenticated ($username, $password)
 
 isUsedUsername ($username)
 
- Public Member Functions inherited from StudipAuthAbstract
 __construct ($config=[])
 
 authenticateUser ($username, $password)
 
 getStudipUser ($username)
 
 doNewUserInit ($user)
 
 setUserDomains ($user)
 
 getUserDomains ()
 
 doDataMapping ($user)
 
 isMappedField ($name)
 
 verifyUsername ($username)
 
 isUsedUsername ($username)
 
 isAuthenticated ($username, $password)
 
 __isset ($offset)
 
 __set ($offset, $value)
 
 __get ($offset)
 
 __unset ($offset)
 

Data Fields

 $host
 
 $port
 
 $uri
 
 $cacert
 
 $userdata
 
- Data Fields inherited from StudipAuthSSO
 $plugin_fullname
 
 $login_description
 
- Data Fields inherited from StudipAuthAbstract
 $error_msg
 
 $is_new_user = false
 
 $user_domains
 
 $user_data_mapping = null
 
 $plugin_name
 
 $error_head
 

Additional Inherited Members

- Static Public Member Functions inherited from StudipAuthAbstract
static getInstance ($plugin_name=false)
 
static CheckAuthentication ($username, $password)
 
static CheckUsername ($username)
 
static CheckField ($field_name, $plugin_name)
 
static CheckIPRange ()
 
static CheckIPRangeV4 ($ip, $range)
 
static CheckIPRangeV6 ($ip, $range)
 

Constructor & Destructor Documentation

__construct (   $config = [])

Constructor

Member Function Documentation

getUser ( )

Return the current username.

getUserData (   $key)
logout ( )
verifyUsername (   $username)

Validate the username passed to the auth plugin. Note: This triggers authentication if needed.

Field Documentation

$cacert
$host
$port
$uri
$userdata

The documentation for this class was generated from the following file: