NAME Dancer2::Plugin::OAuth2::Server - Easier implementation of an OAuth2 Authorization Server / Resource Server with Dancer2 Port of Mojolicious implementation : https://github.com/G3S/mojolicious-plugin-oauth2-server SYNOPSIS use Dancer2::Plugin::OAuth2::Server; To protect a route, declare it like following: get '/protected' => oauth_scopes 'desired_scope' => sub { ... } DESCRIPTION Dancer2::Plugin::OAuth2::Server is a port of Mojolicious plugin for OAuth2 server AUTHOR Pierre Vigier <pierre.vigier@gmail.com> COPYRIGHT Copyright 2015- Pierre Vigier LICENSE This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO