OAuth:...t::Dump(3pm)

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

πŸ’– OAuth::Lite2::Agent::Dump β€” the perl manpage but make it cute ✨

okay bestie, so this is one of those Perl user-contributed documentation pages, and it's about OAuth::Lite2::Agent::Dump β€” a preset user agent class whose entire personality is debugging. no cap.


🌸 NAME 🌸

OAuth::Lite2::Agent::Dump β€” a preset User Agent class that exists purely so you can debug things. it's giving "I'm just here to print stuff" energy and honestly? iconic.


✨ SYNOPSIS ✨

okay so you literally just drop it in as your agent:

my $client = OAuth::Lite2::Client::WebApp->new(
    ..., # other params
    agent => OAuth::Lite2::Client::Agent::Dump->new,
);

that's it. that's the whole vibe. pass it in, watch it spill the tea πŸ«–


πŸ’… DESCRIPTION πŸ’…

This is useful for debug. that's literally the entire description and honestly? it ate. it said what it needed to say. it's the most direct thing in the whole ecosystem. when you're staring at an OAuth flow like πŸ‘οΈπŸ‘„πŸ‘οΈ and nothing makes sense, this class is your bestie who actually tells you what's going on.


πŸŽ€ METHODS πŸŽ€

request ($req)

Append to the behavior of parent class, this method dumps the request and response object.

so real talk: it keeps doing whatever the parent class does (it appends, it doesn't replace, periodt), and on top of that it dumps the request object and the response object. both of them. the whole thing. no secrets in this group chat. πŸ”₯


πŸ¦‹ SEE ALSO πŸ¦‹

go read these too, they're the rest of the friend group:

  • OAuth::Lite2::Client::Agent
  • OAuth::Lite2::Client::Agent::Strict

πŸ‘‘ AUTHOR πŸ‘‘

Lyo Kato, "lyo.kato _at_ gmail.com" β€” legend behaviour, we love a credited author πŸ’œ


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.

tl;dr: it's free, go wild, same license rules as Perl itself. just respect the terms, bestie, it's not that deep 🫢


🌈 and that's the whole page!! it's short, it's sweet, it dumps your requests and responses, and it will never betray you.

perl v5.36.0 ✦ 2023-07-01 ✦ mwah, kiss kiss, go debug something πŸ’‹πŸ’…βœ¨

πŸ“¦ where this page comes from