OAuth:...Encoded(3pm)

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

πŸ’– OAuth::Lite2::Formatter::FormURLEncoded β€” the manual page, but make it cute ✨

okay bestie, so this is a page from the User Contributed Perl Documentation (the 3pm girlies know 🫢), and it's all about OAuth::Lite2::Formatter::FormURLEncoded. buckle up, it's short but she's iconic πŸ’…


🌸 NAME 🌸

OAuth::Lite2::Formatter::FormURLEncoded β€” it's the OAuth 2.0 form-urlencoded formatters store. literally that's the whole job, and she does it well πŸ’–


✨ SYNOPSIS ✨

okay so here's the vibe in code form, no cap:

my $formatter = OAuth::Lite2::Formatter::FormURLEncoded->new;
my $obj = $formatter->parse( $string );
$string = $formatter->format( $obj );

make one, parse a string into an object, format an object back into a string. that's the whole cycle bestie πŸ”


πŸ¦‹ DESCRIPTION πŸ¦‹

DEPRECATED. 🚨 yeah. she said it herself. this is the OAuth 2.0 form-urlencoded formatter, and she's marked deprecated β€” so like, she still works, but the universe has moved on. use with awareness, okay? 😭


πŸ‘‘ METHODS πŸ‘‘

name πŸŽ€

an accessor for the name of this format. and the name is "form". short, sweet, to the point. periodt.

type πŸ’…

an accessor for the content-type of this format, which is "application/x-www-form-urlencoded". the way that string is so long… she's giving mime-type main character energy.

format( $object ) ✨

my $formatted_string = $formatter->format( $obj );

you hand her an object, she hands you back a formatted string. glow-up transformation fr fr 🌈

parse( $formatted_string ) πŸ”₯

my $obj = $formatter->parse( $formatted_string );

the reverse arc πŸ’« β€” you give her the formatted string, she gives you back an object. obsessed.


🌈 SEE ALSO 🌈

go read these next, bestie, they're in the same friend group:

  • OAuth::Lite2::Formatter
  • OAuth::Lite2::Formatters
  • OAuth::Lite2::Formatter::JSON
  • OAuth::Lite2::Formatter::XML

πŸ’œ AUTHOR πŸ’œ

Lyo Kato, <lyo.kato@gmail.com> β€” thank you for your service, king πŸ‘‘


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.

so basically: it's free, it's Perl-licensed, and you can run with Perl 5.8.8 or literally any newer Perl 5 you've got lying around. slay πŸ’–

and that's the whole page, bestie!! this one came from perl v5.36.0, dated 2023-07-01, and yeah the manual name is OAuth:...Encoded(3pm) (they truncated it for the header, not me πŸ™ˆ). k bye, go format some forms πŸ’…βœ¨

πŸ“¦ where this page comes from