just-core/auth-page

Page White/Black list Plugin for the just-core eco system

v0.7.1 2017-02-08 22:45 UTC

This package is auto-updated.

Last update: 2024-04-16 18:03:14 UTC


README

JCORE\SERVICE\AUTH\PAGE_FILTER

basic add on service to authenticate an aplication based on a basic "WHITELIST or BLACKLIST" permission scheam

WHITELIST

to provide the most security, only allow specific pages to be viewed

BLACKLIST

to provide a more public based site, allow specific pages to be blocked

Installation

Composer

Add the project to your composer file "just-core/auth-page" : "dev-master",

{
	"name" : "your project",
	"description" : "info about your project",
	"license" : "GNU",
	"version" : "1.0.0",
	"require" : {
		"php" : ">=5.3.3",
		"just-core/foundation" : "0.5.*",
		"just-core/foundation" : "dev-master",
		"just-core/auth-page" : "dev-master"
	},
	"autoload" : {
		"classmap" : [
			"SERVICES"
		]
	}
}

Configuration

You will also need to take the example files CONFIG.AUTOLOAD.auth.page.local.php and harness.example.php modify the examples and make them available in your application, ie.

[application_root]/.../[http_exposed_dir]/harness.php
[application_root]/CONFIG/AUTOLOAD/auth[.login].local.php