GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  DANCER2::PLUGIN::AUTH::EXTENSIBLE::PROVIDER::BASE (3)

.ds Aq ’

NAME

Dancer2::Plugin::Auth::Extensible::Provider::Base - base class for authentication providers

CONTENTS

DESCRIPTION

Base class for authentication providers. Provides a constructor which handles receiving the realm settings and returning an instance of the provider.

Also provides secure password matching which automatically handles crypted passwords via Crypt::SaltedHash.

Finally, provides the methods which providers must override with their implementation, which will die if they are not overridden.

METHODS SUPPLIED BY BASE PROVIDER

    new

    realm_settings

Accessor for realm settings.

    realm_dsl

Accessor for realm DSL object.

match_password($given, CW$correct)

Matches $given password with the $correct one.

encrypt_password($password, CW$algorithm)

Encrypts password $password with $algorithm which defaults to SHA-1.

METHODS IMPLEMENTED BY PROVIDER

    authenticate_user

    get_user_details

    set_user_details

    get_user_roles

    set_user_password

    password_expired

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 DANCER2::PLUGIN::AUTH::EXTENSIBLE::PROVIDER::BASE (3) 2016-01-20

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.