NAME
Articulate::Authentication::Preconfigured - do not use this in production
WARNING
Warning: This is highly insecure, you will be storing your passwords in plain text in the configuration file.
It is suitable only for getting a project started, and should be promptly removed when a user account has been created which stores encrypted passwords somewhere.
CONFIGURATION
authentication:
Articulate::Authentication:
providers:
- class: Articulate::Authentication::Preconfigured
args:
passwords:
username: insecure_password
ATTRIBUTES
passwords
A simple hash of keys and values where the user is the key and the password is the value.
authenticate
$self->authenticate( $credentials );
Accepts and returns the credentials if the password
matches the user_id
. Always returns the credentials passed in.