Download the PHP package bueltge/authenticator without Composer
On this page you can find all versions of the php package bueltge/authenticator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bueltge/authenticator
More information about bueltge/authenticator
Files in bueltge/authenticator
Package authenticator
Short Description This plugin allows you to make your WordPress site accessible to logged in users only.
License GPL-3.0-or-later
Informations about the package authenticator
Authenticator
This plugin allows you to make your WordPress site accessible to logged in users only.
Description
This plugin allows you to make your WordPress site accessible to logged in users only. In other words, to view your site they have to create or have an account on your site and be logged in. No configuration necessary, simply activating - that's all.
Made by Inpsyde · We love WordPress
Installation
Requirements
- WordPress version 5.0 and later.
- PHP 5.6 and later.
- Single or Multisite installation.
On PHP-CGI setups:
mod_setenvif
ormod_rewrite
(if you want to user HTTP authentication for feeds).
Installation
- Unzip the downloaded package.
- Upload folder include the file to the
/wp-content/plugins/
directory. - Activate the plugin through the
Plugins
menu in WordPress.
Or use the installer via the back end of WordPress.
On PHP-CGI setups
If you want to use HTTP authentication for feeds (available since 1.1.0 as an optional feature) you have to update your .htaccess
file. If mod_setenvif is available, add the following line to your .htaccess
:
Otherwise you need mod_rewrite to be enabled. In this case you have to add the following line to your .htaccess
:
In a typical WordPress .htaccess
it all looks like:
On a multisite installation:
Settings
You can change the settings of Authenticator in Settings → Reading. The settings refer to the behavior of your blog's feeds. They can be protected by HTTP authentication (not all feed readers support this) or by an authentication token which is added to your feed URL as a parameter. The third option is to keep everything in place. So feed URLs will be redirected to the login page if the user is not logged in (send no auth-cookie).
If you using token authentication, you can show the token to the blog users on their profile settings page by setting this option.
HTTP Auth
Users can gain access to the feed with their username and password.
Token Auth
The plugin will generate a token automatically when choosing this option. Copy this token and share it with the people who should have access to your feed. If your token is ef05aa961a0c10dce006284213727730
the feed URLs look like so:
Screenshots
-
Authenticator's setting options at Settings → Reading.
- Auth token for feeds is displayed on the users profile settings page.
API
Filters
-
authenticator_get_options
gives you access to the current authentication token: -
authenticator_bypass
gives you the possibility to completely bypass the authentication. No authentication will be required then. -
authenticator_bypass_feed_auth
gives you the possibility to open the feeds for everyone. No authentication will be required then. -
authenticator_exclude_pagenows
Pass an array of$GLOBALS[ 'pagenow' ]
values to it, to exclude several WordPress pages from redirecting to the login page. -
authenticator_exclude_ajax_actions
AJAX-Actions (independend of_nopriv
) which should not be authenticated (remain open for everyone) authenticator_exclude_posts
List of post-titles which should remain public, like the follow example source to public the 'Contact'-page.
Other Notes
Bugs, technical hints or contribute
Please give me feedback, contribute and file technical bugs on GitHub Repo.
Authors, Contributors
License
Good news, this plugin is free for everyone! Since it's released under the GPL, you can use it free of charge on your personal or commercial blog.
Translations
The plugin comes with various translations, please refer to the WordPress Codex for more information about activating the translation. If you want to help to translate the plugin to your language, please have a look at the wordpress.org page, that have a helpful management to contribute to the translations.