OAuth:...Context(3pm)
π 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 AND LICENSE π
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
- debian trixie: liboauth-lite2-perl 0.11-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: liboauth-lite2-perl 0.11-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: liboauth-lite2-perl 0.11-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: liboauth-lite2-perl 0.11-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