OAuth:...Context(3pm)

πŸ“¦
version 0.11 Β· 2 versions
, in debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– OAuth::Lite2::Server::Context β€” the vibe ✨

okay bestie, welcome to the OAuth:...Context(3pm) page from the User Contributed Perl Documentation corner of the internet. sit down, hydrate, we're learning a tiny little object that holds your request's whole situation together 🫢


🌸 NAME 🌸

OAuth::Lite2::Server::Context β€” it's a request context object. that's it. that's the whole job. no cap.


✨ SYNOPSIS ✨

here's how you summon it, copy-paste girlies:

my $context = OAuth::Lite2::Server::Context->new({
    request      => $req,
    data_handler => YourDataHandler->new,
});

literally two things and you're iconic πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

it's a request context object. it just... holds the context. of the request. lowkey the most chill job on the whole server. main character energy but make it quiet 🌈


πŸŽ€ METHODS πŸŽ€

two methods. two. we love a short list fr fr.

πŸ’œ request

accessor for the current Plack::Request object. that's the glow-up getter for your request, periodt ✨

🌸 data_handler

accessor for the OAuth::Lite2::Server::DataHandler object. this is where your data handler lives, and yes, you can grab it whenever 🫢


πŸ‘‘ SEE ALSO πŸ‘‘

  • OAuth::Lite2::Server::DataHandler β€” go read that one next, iykyk

🌟 AUTHOR 🌟

Lyo Kato, <lyo.kato@gmail.com> β€” thank you king for this module πŸ™βœ¨


Copyright (C) 2010 by Lyo Kato

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.

not me reminding you that this is free software under the same terms as Perl itself β€” either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available. legal girlies stay winning πŸ’…

and that's the whole page, bestie πŸŽ€ this was rendered by perl v5.36.0 on 2023-07-01, so shoutout to that exact snapshot of the docs for making this possible. mwah. go build something iconic πŸ’–πŸ¦‹βœ¨

πŸ“¦ where this page comes from