Cataly...:OpenID(3pm)

πŸ“¦
version 0.21 Β· 5 versions
, in ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ¦‹ CatalystX::SimpleLogin::TraitFor::Controller::Login::OpenID

okay bestie, this is a Perl manual page, Cataly...:OpenID(3pm) if we're being all formal about it, and it's about letting a User log in via OpenID ✨


✨ NAME ✨

CatalystX::SimpleLogin::TraitFor::Controller::Login::OpenID β€” allows a User to login via OpenID πŸ’…


🌸 SYNOPSIS 🌸

package MyApp::Controller::NeedsAuth;

sub something : Path Does('NeedsLogin') {
    # Redirects to /login if not logged in
}

# Turn on in config
MyApp->config('Contoller::Login' => { traits => 'Login::OpenID' });

no cap, that's the whole vibe. you slap the trait on in your config and your login action levels up 🫢


πŸ’– DESCRIPTION πŸ’–

so like, this provides the "login" action with a wrapper that redirects you to a page which needs authentication β€” the one the user was previously redirected from, iykyk πŸ”

it goes hand in hand with Catalyst::ActionRole::NeedsLogin, they're literally a duo, main character energy together πŸ‘‘


πŸŽ€ WRAPPED METHODS πŸŽ€

login_GET

it wraps around an openid authentication if the 'openid.mode' request parameter is set. otherwise? it just uses the default login_GET() method. simple as that πŸ’«


🌈 SEE ALSO 🌈

  • CatalystX::SimpleLogin::Controller::Login
  • CatalystX::SimpleLogin::Form::Login

πŸ‘‘ AUTHORS πŸ‘‘

See CatalystX::SimpleLogin for authors.


πŸ“œ LICENSE πŸ“œ

See CatalystX::SimpleLogin for license.


fr fr, that's everything β€” no details left behind, periodt πŸ’œ

okay but the actual sign-off: this page came from perl v5.36.0, dated 2022-08-28, and it lives in the Perl doc collection as Cataly...:OpenID(3pm). slay, go log somebody in πŸ¦‹πŸ’–

πŸ“¦ where this page comes from