DOKK / manpages / debian 10 / libnet-oauth2-perl / Net::OAuth2::Profile::Password.3pm.en
Net::OAuth2::Profile::Password(3pm) User Contributed Perl Documentation Net::OAuth2::Profile::Password(3pm)

Net::OAuth2::Profile::Password - OAuth2 for web-server use

 Net::OAuth2::Profile::Password
   is a Net::OAuth2::Profile

  my $auth = Net::OAuth2::Profile::Password->new(...);
  $auth->get_access_token(...);

Extends "DESCRIPTION" in Net::OAuth2::Profile.

Extends "METHODS" in Net::OAuth2::Profile.

Extends "Constructors" in Net::OAuth2::Profile.

 -Option           --Defined in          --Default
  client_id          Net::OAuth2::Profile  <required>
  client_secret      Net::OAuth2::Profile  <required>
  grant_type         Net::OAuth2::Profile  'password'
  hd                 Net::OAuth2::Profile  undef
  scope              Net::OAuth2::Profile  undef
  secrets_in_params  Net::OAuth2::Profile  <true>
  site               Net::OAuth2::Profile  undef
  state              Net::OAuth2::Profile  undef
  token_scheme       Net::OAuth2::Profile  'auth-header:Bearer'
  user_agent         Net::OAuth2::Profile  <created internally>
    

Extends "Accessors" in Net::OAuth2::Profile.

$obj->bearer_token_scheme()
Inherited, see "Accessors" in Net::OAuth2::Profile
$obj->grant_type()
Inherited, see "Accessors" in Net::OAuth2::Profile
$obj->hd()
Inherited, see "Accessors" in Net::OAuth2::Profile
$obj->id()
Inherited, see "Accessors" in Net::OAuth2::Profile
$obj->scope()
Inherited, see "Accessors" in Net::OAuth2::Profile
$obj->secret()
Inherited, see "Accessors" in Net::OAuth2::Profile
$obj->site()
Inherited, see "Accessors" in Net::OAuth2::Profile
$obj->state()
Inherited, see "Accessors" in Net::OAuth2::Profile
$obj->user_agent()
Inherited, see "Accessors" in Net::OAuth2::Profile

Extends "Actions" in Net::OAuth2::Profile.

Extends "Helpers" in Net::OAuth2::Profile.

$obj->add_token($request, $token, $scheme)
Inherited, see "Helpers" in Net::OAuth2::Profile
$obj->build_request($method, $uri, $params)
Inherited, see "Helpers" in Net::OAuth2::Profile
$obj->params_from_response($response, $reason)
Inherited, see "Helpers" in Net::OAuth2::Profile
$obj->site_url( <$uri|$path>, $params )
Inherited, see "Helpers" in Net::OAuth2::Profile

$obj->get_access_token(%options)
 -Option  --Default
  password  <required>
  username  <required>
    

This module is part of Net-OAuth2 distribution version 0.64, built on March 21, 2018. Website: http://perl.overmeer.net/CPAN/.

Copyrights 2013-2018-2018 on the perl code and the related documentation
by [Mark Overmeer <markov@cpan.org>] for SURFnet bv, The Netherlands. For other contributors see ChangeLog.

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://dev.perl.org/licenses/

2018-04-03 perl v5.26.1