Skip to content

Simple Nette ConfiguratorExtension for HTTP authentication

Notifications You must be signed in to change notification settings

shastik/HttpAuthExtension

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 

Repository files navigation

HttpAuthExtension

Installation:

	"require": {
		"shastik/http-auth-extension": "dev-master"
	},
	"repositories": [
		{
			"type": "git",
			"url": "https://github.com/shastik/http-auth-extension.git"
		}
	],

Usage as simple as possible:

config.neon:

extensions:
	httpAuth: HttpAuthExtension\HttpAuthExtension

httpAuth:
	username: admin
	password: ***
	title: 'Frontend authentication' # [optional]

If you want to specify concrete URLs to be secured, add option:

httpAuth:
   secured_urls: ['/homepage/export']

About

Simple Nette ConfiguratorExtension for HTTP authentication

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%