Dancer...Example(3pm)
β¨ NAME β¨
Dancer::Plugin::Auth::Extensible::Example β it's giving example authentication provider π
(that's the Dancer...Example(3pm) page bestie, welcome to the group chat π«Ά)
πΈ DESCRIPTION πΈ
okay so. this class is literally meant to be an example of what an authentication provider class should do. that's the whole job. it is not intended for serious use (clearly π like be so for real).
if you wanna know how to actually use the authentication framework β including how to pick a provider that isn't this one β go read Dancer::Plugin::Auth::Extensible. that's the main character fr fr π
but β and this is the slay part β if you just wanna test the framework, or you want an example to work from while you build your own authentication provider class, then lowkey this might actually be of use to you π
π Class methods π
π« authenticate_user
Given the username and password entered by the user, return true if they are authenticated, or false if not.
that's it. that's the vibe check. β¨
π¦ 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. iykyk π
Details should be returned as a hashref. no cap.
π get_user_roles
Given a username, return a list of roles that user has.
periodt. π
and that's the whole page bestie!! this lil icon was documented by the User Contributed Perl Documentation crew, running perl v5.36.0, dated 2023-01-05 β and it's still out here being the Dancer...Example(3pm) moment we all needed. mwah π πβ¨
π¦ where this page comes from
- debian bookworm: libdancer-plugin-auth-extensible-perl 1.00-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libdancer-plugin-auth-extensible-perl 1.00-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libdancer-plugin-auth-extensible-perl 1.00-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libdancer-plugin-auth-extensible-perl 1.00-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libdancer-plugin-auth-extensible-perl 1.00-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms