NAME

Net::OAuth2::AuthorizationServer - Easier implementation of an OAuth2 Authorization Server

Build Status Coverage Status

VERSION

0.03

SYNOPSIS

my $Server = Net::OAuth2::AuthorizationServer->new;

my $Grant  = $Server->auth_code_grant(
    ...
);

DESCRIPTION

This module is the gateway to the various OAuth2 grant flows, as documented at https://tools.ietf.org/html/rfc6749. You should see the various modules within this distribution for the implementation and usage details on various types of grant flows.

auth_code_grant

OAuth Authorisation Code Grant as document at http://tools.ietf.org/html/rfc6749#section-4.1.

See Net::OAuth2::AuthorizationServer::AuthorizationCodeGrant.

implicit_grant

resource_owner_password_grant

client_grant

extension_grant

Not yet implemented.

EXAMPLES

There are examples included with this distribution in the examples/ dir. See examples/README for more information about these examples.

REFERENCES

SEE ALSO

Mojolicious::Plugin::OAuth2::Server - A Mojolicious plugin using this module

AUTHOR

Lee Johnson - leejo@cpan.org

LICENSE

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/G3S/net-oauth2-authorizationserver