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

Public Member Functions

 __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 getAuthParam ($provider="")
 
static getAuthTypeParams ()
 
static freedomUserExists ($username)
 

Data Fields

const AUTH_OK = 0
 
const AUTH_NOK = 1
 
const AUTH_ASK = 2
 
const nullProvider = "__for_logout__"
 
 $provider = null
 

Detailed Description

Definition at line 19 of file Class.Authenticator.php.

Constructor & Destructor Documentation

__construct (   $authtype,
  $authprovider 
)

Definition at line 34 of file Class.Authenticator.php.

+ Here is the call graph for this function:

Member Function Documentation

askAuthentication (   $args)
abstract
checkAuthentication ( )
abstract
checkAuthorization (   $opt)
abstract
static freedomUserExists (   $username)
static

Definition at line 104 of file Class.Authenticator.php.

+ Here is the call graph for this function:

getAuthApp ( )

Definition at line 143 of file Class.Authenticator.php.

static getAuthParam (   $provider = "")
static

Definition at line 74 of file Class.Authenticator.php.

+ Here is the call graph for this function:

getAuthPw ( )
abstract
static getAuthTypeParams ( )
static

Definition at line 90 of file Class.Authenticator.php.

+ Here is the call graph for this function:

getAuthUser ( )
abstract
getProviderErrno ( )

Definition at line 135 of file Class.Authenticator.php.

getSessionVar (   $name)
abstract
logout (   $redir_uri = '')
abstract
setSessionVar (   $name,
  $value 
)
abstract
tryInitializeUser (   $username)

Definition at line 120 of file Class.Authenticator.php.

Field Documentation

$provider = null

Definition at line 32 of file Class.Authenticator.php.

const AUTH_ASK = 2

Definition at line 26 of file Class.Authenticator.php.

const AUTH_NOK = 1

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

const AUTH_OK = 0

Definition at line 22 of file Class.Authenticator.php.

const nullProvider = "__for_logout__"

Definition at line 28 of file Class.Authenticator.php.


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