Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
basicAuthenticator Class Reference
+ Inheritance diagram for basicAuthenticator:
+ Collaboration diagram for basicAuthenticator:

Public Member Functions

 checkAuthentication ()
 
 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)
 

Data Fields

const basicAuthorizationScheme = "Basic"
 
- Data Fields inherited from Authenticator
const AUTH_OK = 0
 
const AUTH_NOK = 1
 
const AUTH_ASK = 2
 
const nullProvider = "__for_logout__"
 
 $provider = null
 

Protected Attributes

 $auth_session = null
 

Additional Inherited Members

- Static Public Member Functions inherited from Authenticator
static getAuthParam ($provider="")
 
static getAuthTypeParams ()
 
static freedomUserExists ($username)
 

Detailed Description

Definition at line 20 of file Class.basicAuthenticator.php.

Member Function Documentation

askAuthentication (   $args)

Definition at line 71 of file Class.basicAuthenticator.php.

checkAuthentication ( )

Definition at line 25 of file Class.basicAuthenticator.php.

+ Here is the call graph for this function:

checkAuthorization (   $opt)

Definition at line 66 of file Class.basicAuthenticator.php.

getAuthPw ( )

Definition at line 84 of file Class.basicAuthenticator.php.

getAuthSession ( )

Definition at line 117 of file Class.basicAuthenticator.php.

getAuthUser ( )

Definition at line 79 of file Class.basicAuthenticator.php.

getSessionVar (   $name)

Definition at line 109 of file Class.basicAuthenticator.php.

+ Here is the call graph for this function:

logout (   $redir_uri = '')

Definition at line 89 of file Class.basicAuthenticator.php.

setSessionVar (   $name,
  $value 
)

Definition at line 103 of file Class.basicAuthenticator.php.

+ Here is the call graph for this function:

Field Documentation

$auth_session = null
protected

Definition at line 24 of file Class.basicAuthenticator.php.

const basicAuthorizationScheme = "Basic"

Definition at line 23 of file Class.basicAuthenticator.php.


The documentation for this class was generated from the following file:
← centre documentaire © anakeen