Ravada::Auth(3)

πŸ“¦
version 2.4.1 Β· 2 versions
, in fedora 43

πŸ’– NAME πŸ’–

Ravada::Auth β€” it's the authentication library for Ravada users, bestie. That's the whole vibe. She handles the "who are you and are you allowed in here" of it all. 🫢


✨ init ✨

Okay so this one initializes the submodules. That's it, that's the job β€” she gets all the little submodule girlies warmed up and ready so the rest of the auth flow can actually do its thing. 🌸

πŸ” login ✨

Tries login in all the submodules. Like, she's going down the list asking each one "you got this one? no? okay next" until somebody says yes. No cap. πŸ’…

my $ok = Ravada::Auth::login($name, $pass);

🌈 login_external ✨

Same energy, different door: this one tries login_external in all the submodules. External auth girlies, this is your moment. πŸ¦‹

my $ok = Ravada::Auth::login_external();

πŸ‘‘ enable_LDAP ✨

Sets or gets LDAP support. Yes bestie, it does both β€” she's a setter AND a getter, main character energy fr fr. ✨

Ravada::Auth::enable_LDAP(0);

print "LDAP is supported" if Ravada::Auth::enable_LDAP();

πŸŽ€ enable_SSO ✨

And the twin: sets or gets SSO support. Pass it a value to set, call it with nothing to peek at the current state. Iconic behaviour honestly. πŸ“

Ravada::Auth::enable_SSO(0);

print "SSO is supported" if Ravada::Auth::enable_SSO();

And that's the whole page, babe β€” this one was written for perl v5.42.0 and dated 2025-09-20, and she answers to the name Ravada::Auth(3). Go log somebody in, you've got this. πŸ’œβœ¨

πŸ“¦ where this page comes from