Why not adopt me?
This distribution is up for adoption!
If you're interested then please contact the PAUSE module admins via
email.
NAME
Net::OAuth2::Profile::Password - OAuth2 for web-server use
INHERITANCE
Net::OAuth2::Profile::Password
is a Net::OAuth2::Profile
SYNOPSIS
my $auth = Net::OAuth2::Profile::Password->new(...);
$auth->get_access_token(...);
METHODS
Constructors
- Net::OAuth2::Profile::Password->new(OPTIONS)
-
-Option --Defined in --Default client_id Net::OAuth2::Profile <required> client_secret Net::OAuth2::Profile <required> grant_type Net::OAuth2::Profile 'password' scope Net::OAuth2::Profile undef site Net::OAuth2::Profile undef token_scheme Net::OAuth2::Profile 'auth-header:Bearer' user_agent Net::OAuth2::Profile <created internally>
Accessors
- $obj->bearer_token_scheme()
- $obj->grant_type()
- $obj->id()
- $obj->scope()
- $obj->secret()
- $obj->site()
- $obj->user_agent()
Actions
HTTP
- $obj->request(REQUEST, [MORE])
- $obj->request_auth(TOKEN, (REQUEST | (METHOD, URI, [HEADER, CONTENT])))
Helpers
- $obj->add_token(REQUEST, TOKEN, SCHEME)
- $obj->build_request(METHOD, URI, PARAMS)
- $obj->params_from_response(RESPONSE, REASON)
- $obj->site_url((URI|PATH), PARAMS)
Action
SEE ALSO
This module is part of Net-OAuth2 distribution version 0.54, built on March 28, 2013. Website: http://perl.overmeer.net.
COPYRIGHTS
Copyrights 2013 on the perl code and the related documentation by [Mark Overmeer] for SURFnet bv, The Netherlands. For other contributors see Changes.
Copyrights 2011-12 by Keith Grennan.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html