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

Public Member Functions

 authenticate (&$action)
 

Static Public Member Functions

static getAuthProvider ()
 
static getAuthProviderList ()
 
static getAuthType ()
 
static closeAccess ()
 
static secureLog ($status="", $additionalMessage="", $provider="", $clientIp="", $account="", $userAgent="")
 
static clearGDocs ()
 
static getAccount ()
 
static _getProviderProtocolVersion (Provider $provider)
 

Data Fields

const AccessBug = - 1
 
const AccessOk = 0
 
const AccessHasNoLocalAccount = 1
 
const AccessMaxLoginFailure = 2
 
const AccessAccountIsNotActive = 3
 
const AccessAccountHasExpired = 4
 
const AccessNotAuthorized = 5
 
const NeedAsk = 6
 

Static Public Attributes

static $session = null
 
static $auth = null
 
static $provider_errno = 0
 

Static Protected Member Functions

static checkAuthentication ($authtype=null, $noask=false)
 
static getAuthenticatorClass ($authtype=null, $provider=Authenticator::nullProvider)
 
static getAuthorizationScheme ()
 
static checkAuthorization ()
 

Detailed Description

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

Member Function Documentation

static _getProviderProtocolVersion ( Provider  $provider)
static

Get Provider's protocol version.

Parameters
Provider$provider
Returns
int version (0, 1, etc.)

Definition at line 290 of file Class.AuthenticatorManager.php.

authenticate ( $action)

Send a 401 Unauthorized HTTP header

Definition at line 250 of file Class.AuthenticatorManager.php.

+ Here is the call graph for this function:

static checkAuthentication (   $authtype = null,
  $noask = false 
)
staticprotected

Definition at line 116 of file Class.AuthenticatorManager.php.

+ Here is the call graph for this function:

static checkAuthorization ( )
staticprotected

Main authorization check entry point

Returns
int
Exceptions
\Dcp\Exception

Definition at line 303 of file Class.AuthenticatorManager.php.

+ Here is the call graph for this function:

static clearGDocs ( )
static

Definition at line 270 of file Class.AuthenticatorManager.php.

+ Here is the call graph for this function:

static closeAccess ( )
static

Definition at line 229 of file Class.AuthenticatorManager.php.

+ Here is the call graph for this function:

static getAccount ( )
static

Definition at line 275 of file Class.AuthenticatorManager.php.

static getAuthenticatorClass (   $authtype = null,
  $provider = Authenticator::nullProvider 
)
staticprotected

Definition at line 141 of file Class.AuthenticatorManager.php.

+ Here is the call graph for this function:

static getAuthorizationScheme ( )
staticprotected

Definition at line 211 of file Class.AuthenticatorManager.php.

static getAuthProvider ( )
static
Returns
string

Definition at line 160 of file Class.AuthenticatorManager.php.

+ Here is the call graph for this function:

static getAuthProviderList ( )
static
Returns
array

Definition at line 173 of file Class.AuthenticatorManager.php.

+ Here is the call graph for this function:

static getAuthType ( )
static

Definition at line 178 of file Class.AuthenticatorManager.php.

+ Here is the call graph for this function:

static secureLog (   $status = "",
  $additionalMessage = "",
  $provider = "",
  $clientIp = "",
  $account = "",
  $userAgent = "" 
)
static

Definition at line 261 of file Class.AuthenticatorManager.php.

+ Here is the call graph for this function:

Field Documentation

$auth = null
static

Definition at line 42 of file Class.AuthenticatorManager.php.

$provider_errno = 0
static

Definition at line 43 of file Class.AuthenticatorManager.php.

$session = null
static

Definition at line 30 of file Class.AuthenticatorManager.php.

const AccessAccountHasExpired = 4

Definition at line 36 of file Class.AuthenticatorManager.php.

const AccessAccountIsNotActive = 3

Definition at line 35 of file Class.AuthenticatorManager.php.

const AccessBug = - 1

Definition at line 31 of file Class.AuthenticatorManager.php.

const AccessHasNoLocalAccount = 1

Definition at line 33 of file Class.AuthenticatorManager.php.

const AccessMaxLoginFailure = 2

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

const AccessNotAuthorized = 5

Definition at line 37 of file Class.AuthenticatorManager.php.

const AccessOk = 0

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

const NeedAsk = 6

Definition at line 38 of file Class.AuthenticatorManager.php.


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