WiseLoop PHP REST Services 3.3.1
RESTful web service API framework for PHP
wlRestTriggerAuth Class Reference
Inheritance diagram for wlRestTriggerAuth:

Public Member Functions

 __construct ($authHandler=null)
 run ()

Private Attributes


Detailed Description

WiseLoop RestTriggerAuth class definition
This trigger should be hooked to the wlRestTrigger::ON_REQUEST_EVENT.

$authHandler = new myAuthHandler();
$service->registerTrigger(new wlRestTriggerAuth($authHandler), wlRestTrigger::ON_REQUEST_EVENT);
See also:

See also: Authentication & Authorization

Constructor & Destructor Documentation

__construct ( authHandler = null)
wlAuthHandler$authHandlerthe auth handler that will authenticate the user

Member Function Documentation

run ( )

Runs the trigger.

Reimplemented from wlRestTrigger.

Field Documentation

$_authHandler [private]

Type: wlAuthHandler the auth handler that will authenticate the user

 All Data Structures Functions Variables