OAuth::Lite2::Formatter::Text - OAuth 2.0 text/plain formatters store
Contents
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.
perl v5.36.0 2023-07-01 OAuth::Lite2::Formatter::Text(3pm)
Description
DEPRECATED. OAuth 2.0 text/plain formatter
Methods
name
Accessor for name of this format, "text".
type
Accessor for content-type of this format, "text/plain".
format($object)
my $formatted_string = $formatter->format( $obj );
parse($formatted_string)
my $obj = $formatter->parse( $formatted_string );
Name
OAuth::Lite2::Formatter::Text - OAuth 2.0 text/plain formatters store
See Also
OAuth::Lite2::Formatter OAuth::Lite2::Formatters OAuth::Lite2::Formatter::FormURLEncoded.pm
OAuth::Lite2::Formatter::JSON OAuth::Lite2::Formatter::XML
Synopsis
my $formatter = OAuth::Lite2::Formatter::Text->new;
my $obj = $formatter->parse( $string );
$string = $formatter->format( $obj );
