\User\AuthCachedAuthorize

Authorization adapter for AuthComponent.

This adapter provides "Controller-action" based authorization with cache capabilities. Only authenticated users are validated using this technique, all anonymous users (unauthenticated users) are validated using QuickAppsCMS's AnonymousAuthenticate

Summary

Methods
Properties
Constants
authorize()
requestPath()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

authorize()

authorize(array $user, \Cake\Network\Request $request) : boolean

Authorizes current logged in user, if user belongs to the "administrator" he/she is automatically authorized.

Parameters

array $user

Active user data

\Cake\Network\Request $request

Request instance

Returns

boolean —

True if user is can access this request

requestPath()

requestPath(\Cake\Network\Request $request, string $path) : string

Gets an ACO path for current request.

Parameters

\Cake\Network\Request $request

Request instance

string $path

Pattern

Returns

string