OAuth::Lite2::Formatter(3pm)

OAuth::Lite2::Formatter3pm

Oauth 2.0 formatter base class

Usage

    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 );

Overview

OAuth 2.0 formatter base class

Methods

name

Accessor for name of this format.

type

Accessor for content-type of this format.

format( $object )

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

parse( $formatted_string )

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

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

Author

Lyo Kato, <[email protected]>

From liboauth-lite2-perl 0.11-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.