---
name: "OAuth::Lite2::Formatter::XML"
section: "3pm"
platform: "linux"
package: "liboauth-lite2-perl"
version: "0.11-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/OAuth::Lite2::Formatter::XML"
---

# OAuth::Lite2::Formatter::XML(3pm)

OAuth 2.0 XML formatters store

## NAME

OAuth::Lite2::Formatter::XML - OAuth 2.0 XML formatters store

## SYNOPSIS

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

## DESCRIPTION

DEPRECATED. OAuth 2.0 XML formatter.

## METHODS

### name

Accessor for name of this format, "xml".

### type

Accessor for content-type of this format, "application/xml".

### format( $object )

```
    my $xml_string = $formatter->format( $obj );
```

### parse( $xml\_string )

```
    my $obj = $formatter->parse( $xml_string );
```

## SEE ALSO

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

## AUTHOR

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

## 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.
