OAuth:...r::Text(3pm)
π NAME π
okay bestie, meet OAuth::Lite2::Formatter::Text β the OAuth 2.0 text/plain formatters store. yes that's the whole name, she's wordy but she's worth it. π
this page is straight out of the User Contributed Perl Documentation, and we're talking about the OAuth:...r::Text(3pm) page specifically, so you know exactly which one you're looking at. π
β¨ SYNOPSIS β¨
here's the vibe, copy-paste it into your little script and go off:
my $formatter = OAuth::Lite2::Formatter::Text->new;
my $obj = $formatter->parse( $string );
$string = $formatter->format( $obj );
three lines. she's lowkey efficient. π¦
πΈ DESCRIPTION πΈ
DEPRECATED. π
okay so real talk β this whole thing is DEPRECATED, no cap. it's the OAuth 2.0 text/plain formatter, it does its little job, but the maintainers have moved on and so should you (iykyk). still gonna document her fully tho because she's iconic and we respect the lore. π
π§ METHODS π§
π name
accessor for the name of this format, which is literally just "text". that's it. that's the method. β¨
π type
accessor for the content-type of this format, and it's "text/plain". she said what she said. π
π format( $object )
my $formatted_string = $formatter->format( $obj );
hand her an object, she hands you back a string. glow-up complete. π«Ά
π parse( $formatted_string )
my $obj = $formatter->parse( $formatted_string );
reverse it β give her the string, she gives you the object back. the way that this is just round-trip goals. π
π SEE ALSO π
go check her friends, they're all in the same little formatter friend group:
OAuth::Lite2::FormatterOAuth::Lite2::FormattersOAuth::Lite2::Formatter::FormURLEncoded.pmOAuth::Lite2::Formatter::JSONOAuth::Lite2::Formatter::XML
π AUTHOR π
Lyo Kato, <lyo.kato@gmail.com> β the icon who made this happen. π
π 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.
and that's the whole page bestie! π this was rendered with perl v5.36.0, dated 2023-07-01, and that's the OAuth:...r::Text(3pm) footer wrapped up in a bow ππ β now go forth and format responsibly. periodt. β¨π¦
π¦ 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