Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages


home | help

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

       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
	   Given the username and password entered by the user,	return true if
	   they	are authenticated, or false if not.

	   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.

	   Given a username, return a list of roles that user has.

perl v5.24.1		Dancer::Plugin::Auth::Extensible::Provider::Example(3)

NAME | DESCRIPTION | Class methods

Want to link to this manual page? Use this URL:

home | help