Net::OAuth2::AuthorizationServer - Easier implementation of an OAuth2 Authorization Server
0.28
my $Server = Net::OAuth2::AuthorizationServer->new; my $Grant = $Server->$grant_type( ... );
This module is the gateway to the various OAuth2 grant flows, as documented at https://tools.ietf.org/html/rfc6749. Each module implements a specific grant flow and is designed to "just work" with minimal detail and effort.
Please see Net::OAuth2::AuthorizationServer::Manual for more information on how to use this module and the various grant types. You should use the manual in conjunction with the grant type module you are using to understand how to override the defaults if the "just work" mode isn't good enough for you.
OAuth Authorisation Code Grant as document at http://tools.ietf.org/html/rfc6749#section-4.1.
See Net::OAuth2::AuthorizationServer::AuthorizationCodeGrant.
OAuth Implicit Grant as document at https://tools.ietf.org/html/rfc6749#section-4.2.
See Net::OAuth2::AuthorizationServer::ImplicitGrant.
OAuth Resource Owner Password Grant as document at http://tools.ietf.org/html/rfc6749#section-4.3.
See Net::OAuth2::AuthorizationServer::PasswordGrant.
OAuth Client Credentials Grant as document at http://tools.ietf.org/html/rfc6749#section-4.4.
See Net::OAuth2::AuthorizationServer::ClientCredentialsGrant.
Mojolicious::Plugin::OAuth2::Server - A Mojolicious plugin using this module
Crypt::JWT - encode/decode JWTs
Lee Johnson - leejo@cpan.org
leejo@cpan.org
With contributions from:
Martin Renvoize - martin.renvoize@ptfs-europe.com
martin.renvoize@ptfs-europe.com
Pierre VIGIER - pierre.vigier@gmail.com
pierre.vigier@gmail.com
Ian Sillitoe - https://github.com/sillitoe
Mirko Tietgen - mirko@abunchofthings.net
Dylan William Hardison - dylan@hardison.net
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. If you would like to contribute documentation or file a bug report then please raise an issue / pull request:
https://github.com/Humanstate/net-oauth2-authorizationserver
To install Net::OAuth2::AuthorizationServer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::OAuth2::AuthorizationServer
CPAN shell
perl -MCPAN -e shell install Net::OAuth2::AuthorizationServer
For more information on module installation, please visit the detailed CPAN module installation guide.