Dancer...::Base(3pm)

πŸ“¦
version 1.00 Β· 2 versions
  • 1.00 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 1.00 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸŽ€ NAME πŸŽ€

Dancer::Plugin::Auth::Extensible::Provider::Base β€” the base class for authentication providers πŸ’…

It's a 3pm page, i.e. a Perl module manpage living in the User Contributed Perl Documentation section, so bestie you are exactly where you're supposed to be 🫢


✨ DESCRIPTION ✨

Okay so this is the base class for authentication providers β€” the mom of the family, the blueprint, the main character that all the actual providers build on top of πŸ‘‘

It's giving three things, and they're all lowkey essential:

  • A constructor πŸŽ€ β€” it handles receiving the realm settings for you and hands back an instance of the provider. You don't gotta do that part yourself, it's done, periodt.
  • Secure password matching πŸ” β€” and the way this one automatically handles crypted passwords via Crypt::SaltedHash?? obsessed. You get the secure comparison without writing the scary parts yourself πŸ’–
  • The methods providers must override 🧚 β€” this base class provides them, but they're yours to override with your own implementation. And if you don't override them?
πŸ’€ they die. No cap. Not a warning, not a gentle nudge, not a "hey bestie maybe"β€” they die. So if something's blowing up on you, check whether you actually implemented the methods you were supposed to πŸ™ˆ

and that's the whole vibe, babe πŸ¦‹ This page came from perl v5.36.0, dated 2023-01-05, and yes she ate πŸ’…βœ¨ go forth and override responsibly, bestie πŸ«ΆπŸ’–

πŸ“¦ where this page comes from