NAME

Net::PMP::Credentials - PMP credentials object

SYNOPSIS

my $credentials = $pmp_client->create_credentials(
   username => 'i-am-a-user',
   password => 'secret-phrase-here',
   scope    => 'read', 
   expires  => 86400,
   label    => 'pmp ftw!',
);

DESCRIPTION

Net::PMP::Credentials represents a PMP API credentials object. See https://github.com/publicmediaplatform/pmpdocs/wiki/Authentication-Model#client-credentials-management.

METHODS

token_expires_in

client_id

client_secret

label

scope

AUTHOR

Peter Karman, <karman at cpan.org>

BUGS

Please report any bugs or feature requests to bug-net-pmp at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-PMP. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Net::PMP::CollectionDoc

You can also look for information at:

ACKNOWLEDGEMENTS

American Public Media and the Public Media Platform sponsored the development of this module.

LICENSE AND COPYRIGHT

Copyright 2013 American Public Media Group

See the LICENSE file that accompanies this module.