Imgur::API::Endpoint::OAuth
OAuth2 auth for users.
Get Redirect URL for OAuth initiation.
grant_type REQUIRED code, token or pin.
Determines if Imgur returns an authorization_code, a PIN code, or an opaque access_token. If you choose code, then you must immediately exchange the authorization_code for an access_token. If you chose token, then the access_token and refresh_token will be given to you in the form of query string parameters attached to your redirect URL, which the user may be able to read. If you chose pin, then the user will receive a PIN code that they will enter into your app to complete the authorization process.
state OPTIONAL
An arbitrary string that will be passed back from imgur
Swap pin, code or auth token for access & refresh tokens
grant_type required
grant_type
code, token or pin.
code (for code authorization)
code
pin (for pin authorization)
pin
https://api.imgur.com/oauth2
4 POD Errors
The following errors were encountered while parsing the POD:
'=item' outside of any '=over'
You forgot a '=back' before '=head2'
You forgot a '=back' before '=head1'
To install Imgur::API, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Imgur::API
CPAN shell
perl -MCPAN -e shell install Imgur::API
For more information on module installation, please visit the detailed CPAN module installation guide.