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

Procedural File: InviteAuthzEngine.php

Source Location: /lib/authz/InviteAuthzEngine.php



Classes:

InviteAuthzEngine
Invitation based authorization engine.


Page Details:



Tags:

author:  Jaime Perez <jaime.perez@rediris.es>
version:  2.0
copyright:  

Copyright 2005-2010 RedIRIS, http://www.rediris.es/

This file is part of phpPoA2.

phpPoA2 is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

phpPoA2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with phpPoA2. If not, see <http://www.gnu.org/licenses/>.

filesource:  Source Code for this file
license:  GNU General Public License







AUTHORIZED_DBA [line 32]

AUTHORIZED_DBA = 'AuthorizedDBADB'

[ Top ]



AUTHORIZED_MYSQL [line 33]

AUTHORIZED_MYSQL = 'AuthorizedMySQLDB'

[ Top ]



AUTHORIZED_SESSION [line 34]

AUTHORIZED_SESSION = 'AuthorizedSessionDB'

[ Top ]



INVITES_BEFORE_AUTHORIZATION [line 48]

INVITES_BEFORE_AUTHORIZATION = "INVITES_BEFORE_AUTHORIZATION"
This hook is executed right before it is checked whether the user was invited or not to continue with authorization.

It can be used to trick the engine to believe the user was previously invited (and therefore forcing authorization). The hook receives a boolean parameter representing whether the referenced invitation was found or not.

function invitesBeforeAuthorization(&$invite_exists);

Please bear in mind that hooks must return TRUE or they'll keep other hooks from executing.



[ Top ]



INVITES_DBA [line 29]

INVITES_DBA = 'InviteDBADB'
Supported database types.


[ Top ]



INVITES_MYSQL [line 30]

INVITES_MYSQL = 'InviteMySQLDB'

[ Top ]



INVITES_SESSION [line 31]

INVITES_SESSION = 'InviteSessionDB'

[ Top ]




Documentation generated on Mon, 20 Feb 2012 12:07:02 +0100 by phpDocumentor 1.4.3