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  -  DANCER::PLUGIN::AUTH::EXTENSIBLE::PROVIDER::EXAMPLE (3)

.ds Aq ’

NAME

Dancer::Plugin::Auth::Extensible::Example - example authentication provider

CONTENTS

DESCRIPTION

This class is intended as an example of what an authentication provider class should do. It is not intended for serious use (clearly).

See Dancer::Plugin::Auth::Extensible for details on how to use the authentication framework, including how to pick a more useful authentication provider.

However, if you just want to test the framework, or want an example to work from to build your own authentication provider class, this may be of use.

Class methods

authenticate_user Given the username and password entered by the user, return true if they are authenticated, or false if not.
get_user_details Given a username, return details about the user. The details returned will vary depending on the provider; some providers may be able to return various data about the user, some may not, depending on the authentication source.

Details should be returned as a hashref.

get_user_roles Given a username, return a list of roles that user has.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 DANCER::PLUGIN::AUTH::EXTENSIBLE::PROVIDER::EXAMPLE (3) 2015-04-30

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