| Net-OAuth documentation | Contained in the Net-OAuth distribution. |
Net::OAuth::SignatureMethod::PLAINTEXT - PLAINTEXT Signature Method for OAuth protocol
Keith Grennan, <kgrennan at cpan.org>
Copyright 2007 Keith Grennan, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| Net-OAuth documentation | Contained in the Net-OAuth distribution. |
package Net::OAuth::SignatureMethod::PLAINTEXT; use warnings; use strict; sub sign { my $self = shift; my $request = shift; return $request->signature_key; } sub verify { my $self = shift; my $request = shift; return $request->signature eq $self->sign($request); }
1;