Skip to content

CellBIS/mojo-hakkefuin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ”’ Mojo::Hakkefuin linux

The Mojolicious plugin for web authentication with simple methods but uses additional cookies that are saved to the database to identify cookie expiration periods.

The plug-in is temporary released on GitHub

In Mojolicious Lite :

use Mojolicious::Lite;
plugin 'Hakkefuin' => {
  'helper.prefix' => 'your_prefix_here_',
  'stash.prefix' => 'your_stash_prefix_here',
  via => 'mariadb',
  dsn => 'mysql://root:password@mysql:3306/mhf_test',
};

In Mojolicious non-Lite :

# Mojolicious
$self->plugin('Hakkefuin' => {
  'helper.prefix' => 'your_prefix_here',
  'stash.prefix' => 'your_stash_prefix_here',
  via => 'mariadb',
  dsn => 'mysql://root:password@mysql:3306/mhf_test',
});

Installation

All you need is a one-liner, it takes less than a minute.

$ curl -L https://cpanmin.us | perl - -M -n https://github.com/CellBIS/mojo-hakkefuin.git

We recommend the use of a Perlbrew environment.

About

Mojo::Hakkefuin - Mojolicious Authentication and Authorization Plugin ๐Ÿ”’

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages