GitHub-Authorization
view release on metacpan or search on metacpan
token => "****************************************",
updated_at => "2012-12-24T14:28:17Z",
url => "https://api.github.com/authorizations/xxxxxxx",
}
The "token" slot is probably the bit you want.
On failure/error...
On failure, we confess() our sins:
Failed: 401/Unauthorized / Bad credentials ...
That is, we "confess" in Carp with the status code, status message, and
the message returned from GitHub itself.
legal_scopes
Returns a list of legal scope names. (See get_gh_token() doc for the
list)
is_legal_scope('scope_name')
Returns true if the scope name given is a legal scope.
lib/GitHub/Authorization.pm view on Meta::CPAN
updated_at => "2012-12-24T14:28:17Z",
url => "https://api.github.com/authorizations/xxxxxxx",
}
The C<token> slot is probably the bit you want.
=head3 On failure/error...
On failure, we confess() our sins:
Failed: 401/Unauthorized / Bad credentials ...
That is, we L<Carp/confess> with the status code, status message, and the
message returned from GitHub itself.
=head2 legal_scopes
Returns a list of legal scope names. (See get_gh_token() doc for the list)
=head2 is_legal_scope('scope_name')
( run in 0.239 second using v1.01-cache-2.11-cpan-4d50c553e7e )