OAuth::Lite2::Formatters(3pm)

OAuth::Lite2::Formatters3pm

Oauth 2.0 formatters store

Usage

    my $formatter = OAuth::Lite2::Formatter->get_formatter_by_name("json");
    my $formatter = OAuth::Lite2::Formatter->get_formatter_by_type("application/json");
    my $obj = $formatter->parse( $string );
    $string = $formatter->format( $obj );

Overview

OAuth 2.0 formatters store. from draft-v8, specification requires only JSON format. This library leaves the other formatters for interop.

Methods

get_formatter_by_name( $name )

return formatter by name

get_formatter_by_type( $content_type )

return formatter by content type

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.