Net::GitHub::V3::OAuth(3pm)

Net::GitHub::V3::OAuth3pm

Github oauth api

Usage

    use Net::GitHub::V3;
    my $gh = Net::GitHub::V3->new; # read L<Net::GitHub::V3> to set right authentication info
    my $oauth = $gh->oauth;

Description

For Web Application Flow, we suggest to use Net::OAuth.

For Non-Web Application Flow, read the Net::GitHub FAQ.

Methods

OAuth

<http://developer.github.com/v3/oauth/>

authorizations
    my @authorizations = $oauth->authorizations();
authorization
    my $authorization  = $oauth->authorization($authorization_id);
create_authorization
update_authorization
    my $oauth = $oauth->create_authorization( {
        scopes => ['public_repo'],
        note   => 'admin script',
    } );
    my $oauth = $oauth->update_authorization( $authorization_id, $new_authorization_data );
delete
    my $is_deleted = $oauth->delete_authorization($authorization_id);

Releases

7 releases since Debian 7 (Wheezy); the text changed 5 times.

  1. 7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12–13

From libnet-github-perl 1.05-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.