\JCORE\SERVICE\AUTHPAGE_FILTER

Class PAGE_FILTER

Summary

Methods
Properties
Constants
__construct()
introspectService()
wrapMySQLResultInJSON()
init()
authenticate()
authorize()
authenticateWHITELIST()
authenticateBLACKLIST()
authenticateTOKEN()
aServiceMethod()
$serviceResponse
$error
No constants found
No protected methods found
$serviceRequest
N/A
No private methods found
No private properties found
N/A

Properties

$serviceResponse

$serviceResponse : string

serviceResponse

Type

string

$error

$error : mixed

error

Type

mixed

$serviceRequest

$serviceRequest : string

serviceRequest

Type

string

Methods

__construct()

__construct() : null

DESCRIPTOR: an empty constructor, the service MUST be called with the service name and the service method name specified in the in the method property of the JSONRPC request in this format ""method":"AJAX_STUB.aServiceMethod"

Returns

null

introspectService()

introspectService() : string

introspectService will provide all of the methods, members and arguements within scope of the call as well as the document comments assotiatiated with the extended object. This method can be overridden or extended to parse this data into a WSDL or similar format

Returns

string —

return NULL

wrapMySQLResultInJSON()

wrapMySQLResultInJSON(array  $result) : array

encapsulates the handling of a DB error

Parameters

array $result

Returns

array

init()

init(  $args) : null

DESCRIPTOR: init

Parameters

$args

Returns

null

authenticate()

authenticate(  $params = null) : boolean

DESCRIPTOR: authenticate against: abstracted for JCORE-AUTH-AUTH_HARNESS WHITELIST BLACKLIST TOKEN

Parameters

$params

Returns

boolean

authorize()

authorize(  $params = null) : boolean

DESCRIPTOR: authorize

Parameters

$params

Returns

boolean

authenticateWHITELIST()

authenticateWHITELIST(  $args) : boolean

DESCRIPTOR: authenticateWHITELIST

Parameters

$args

Returns

boolean

authenticateBLACKLIST()

authenticateBLACKLIST(  $args) : boolean

DESCRIPTOR: authenticateBLACKLIST

Parameters

$args

Returns

boolean

authenticateTOKEN()

authenticateTOKEN(  $args) : boolean

DESCRIPTOR: authenticateTOKEN

Parameters

$args

Returns

boolean

aServiceMethod()

aServiceMethod(  $args) : boolean

DESCRIPTOR: aServiceMethod.

.an example namespace call

Parameters

$args

Returns

boolean