OAuth::Lite2::Formatter(3pm) User Contributed Perl Documentation OAuth::Lite2::Formatter(3pm)

OAuth::Lite2::Formatter - OAuth 2.0 formatter base class

    package OAuth::Lite2::Formatter::Foo;
    use parent 'OAuth::Lite2::Formatter';
    ...
    my $formatter = OAuth::Lite2::Formatter::Foo->new;
    my $obj = $formatter->parse( $string );
    $string = $formatter->format( $obj );

OAuth 2.0 formatter base class

Accessor for name of this format.

Accessor for content-type of this format.

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

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

OAuth::Lite2::Formatters OAuth::Lite2::Formatter::JSON OAuth::Lite2::Formatter::XML OAuth::Lite2::Formatter::FormURLEncoded

Lyo Kato, <lyo.kato@gmail.com>

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.

2023-07-01 perl v5.36.0