phpPoA2
[ class tree: phpPoA2 ] [ index: phpPoA2 ] [ all elements ]

Class: AutoPoA

Source Location: /AutoPoA.php

Class Overview

PoA
   |
   --AutoPoA

Class that automatically redirects to error pages if any error is detected.


Methods


Child classes:

LitePoA
Class that embbeds all functionallity (authentication, attribute collection and authorization) in one method, just like older versions of phpPoA.

Inherited Variables

Inherited Methods

Class: PoA

PoA::__construct()
Main constructor. Configures the PoA and performs initialization.
PoA::addHook()
Attach a hook object to the appropriate entry point of the available authentication or authorization engines.
PoA::authenticate()
Perform a federated login for the user.
PoA::authorize()
Authorize a given subject with the data retrieved from federated login.
PoA::clean()
PoA::getAttribute()
Get the value (or values) of an attribute, if present.
PoA::getAttributes()
Retrieve the attributes provided by the user when logged in.
PoA::getAuthorizationEngines()
Returns the authorization engines configured for the current PoA, or the one specified.
PoA::getAuthorizationLevels()
Get the authorization levels that match for the user specified, according to the configuration.
PoA::isAuthenticated()
Query the current status of the user in the federation.
PoA::isAuthorized()
Perform authorization for the a given subject.
PoA::logout()
Remove the user's session and trigger a logout for the specified authentication protocol.
PoA::removeHook()
Remove a hook from the specified entry point of the available authentication or authorization engines.
PoA::revoke()
Revoke authorization for a given subject identified by an e-mail.

Class Details

[line 30]
Class that automatically redirects to error pages if any error is detected.



[ Top ]


Class Methods


method authenticate [line 32]

void authenticate( )



Tags:

access:  public


Overrides PoA::authenticate() (Perform a federated login for the user.)

[ Top ]

method isAuthorized [line 40]

void isAuthorized( $user, $attrs, [ $engine = null])



Tags:

access:  public


Overrides PoA::isAuthorized() (Perform authorization for the a given subject.)

Parameters:

   $user  
   $attrs  
   $engine  

[ Top ]


Documentation generated on Wed, 13 Oct 2010 15:06:15 +0200 by phpDocumentor 1.4.3