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

Public Member Functions

 checkAuthentication ()
 
 consumeToken ($privatekey)
 
 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)
 

Static Public Member Functions

static getTokenId ()
 
static getLoginFromPrivateKey ($privatekey)
 
static getUserToken ($tokenId)
 
static verifyOpenExpire (\UserToken $token)
 
static verifyOpenAccess (\UserToken $token)
 
- Static Public Member Functions inherited from Authenticator
static getAuthParam ($provider="")
 
static getAuthTypeParams ()
 
static freedomUserExists ($username)
 

Data Fields

const openAuthorizationScheme = "DcpOpen"
 
const openGetId = "dcpopen-authorization"
 
 $token
 
 $auth_session = null
 
- Data Fields inherited from Authenticator
const AUTH_OK = 0
 
const AUTH_NOK = 1
 
const AUTH_ASK = 2
 
const nullProvider = "__for_logout__"
 
 $provider = null
 

Detailed Description

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

Member Function Documentation

askAuthentication (   $args)

no ask

Definition at line 182 of file Class.openAuthenticator.php.

+ Here is the call graph for this function:

checkAuthentication ( )

no need to ask authentication

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

+ Here is the call graph for this function:

checkAuthorization (   $opt)

Definition at line 175 of file Class.openAuthenticator.php.

consumeToken (   $privatekey)

Definition at line 157 of file Class.openAuthenticator.php.

getAuthPw ( )

no password needed

Definition at line 197 of file Class.openAuthenticator.php.

getAuthSession ( )

Definition at line 234 of file Class.openAuthenticator.php.

getAuthUser ( )

Definition at line 190 of file Class.openAuthenticator.php.

static getLoginFromPrivateKey (   $privatekey)
static

Definition at line 73 of file Class.openAuthenticator.php.

getSessionVar (   $name)

Definition at line 226 of file Class.openAuthenticator.php.

+ Here is the call graph for this function:

static getTokenId ( )
static

Definition at line 52 of file Class.openAuthenticator.php.

+ Here is the call graph for this function:

static getUserToken (   $tokenId)
static

Definition at line 105 of file Class.openAuthenticator.php.

logout (   $redir_uri = '')

no logout

Definition at line 204 of file Class.openAuthenticator.php.

+ Here is the call graph for this function:

setSessionVar (   $name,
  $value 
)

Definition at line 215 of file Class.openAuthenticator.php.

+ Here is the call graph for this function:

static verifyOpenAccess ( \UserToken  $token)
static

Definition at line 128 of file Class.openAuthenticator.php.

+ Here is the call graph for this function:

static verifyOpenExpire ( \UserToken  $token)
static

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

Field Documentation

$auth_session = null

Definition at line 27 of file Class.openAuthenticator.php.

$token

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

const openAuthorizationScheme = "DcpOpen"

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

const openGetId = "dcpopen-authorization"

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


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