perl-Mojolicious-Plugin-OAuth2-Server-0.39-alt1.noarch.rpm


Advertisement

Description

perl-Mojolicious-Plugin-OAuth2-Server - Easier implementation of an OAuth2 Authorization Server / Resource Server with Mojolicious

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Mojolicious-Plugin-OAuth2-Server
Package version 0.39
Package release alt1
Package architecture noarch
Package type rpm
Installed size 60.51 KB
Download size 60.51 KB
Official Mirror ftp.altlinux.org
This plugin enables you to easily (?) write an OAuth2 Authorization Server (AS)
and OAuth2 Resource Server (RS) using Mojolicious. It implements the required
flows and checks leaving you to add functions that are necessary, for example,
to verify an auth code (AC), access token (AT), etc.
In its simplest form you can call the plugin with just a hashref of known clients
and the code will "just work" - however in doing this you will not be able to
run a multi process persistent OAuth2 AS/RS as the known ACs and ATs will not be
shared between processes and will be lost on a restart.
To use this plugin in a more realistic way you need to at a minimum implement
the following functions and pass them to the plugin:
login_resource_owner
confirm_by_resource_owner
verify_client
store_auth_code
verify_auth_code
store_access_token
verify_access_token
These will be explained in more detail below, in the REQUIRED FUNCTIONS entry elsewhere in this document, and you
can also see the tests and examples included with this distribution. OAuth2
seems needlessly complicated at first, hopefully this plugin will clarify the
various steps and simplify the implementation.
Note that OAuth2 requires https, so you need to have the optional Mojolicious
dependency required to support it. Run the command below to check if
the IO::Socket::SSL manpage is installed.
$ mojo version

Alternatives

Package Version Architecture Repository
perl-Mojolicious-Plugin-OAuth2-Server - - -

Requires

Name Value
/usr/share/perl5 -
perl(Mojo/Parameters.pm) -
perl(Mojo/URL.pm) -
perl(Mojo/Util.pm) -
perl(Mojolicious/Plugin.pm) -
perl(Net/OAuth2/AuthorizationServer.pm) >= 0.160
perl(base.pm) -
perl-base >= 1:5.10.0
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Mojolicious/Plugin/OAuth2/Server.pm) = 0.390
perl-Mojolicious-Plugin-OAuth2-Server = 0.39-alt1

Download

Type URL
Binary Package perl-Mojolicious-Plugin-OAuth2-Server-0.39-alt1.noarch.rpm
Source Package perl-Mojolicious-Plugin-OAuth2-Server-0.39-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Mojolicious-Plugin-OAuth2-Server rpm package:
    # sudo apt-get install perl-Mojolicious-Plugin-OAuth2-Server

Files

Path
/usr/share/doc/perl-Mojolicious-Plugin-OAuth2-Server-0.39/Changes
/usr/share/doc/perl-Mojolicious-Plugin-OAuth2-Server-0.39/README.md
/usr/share/doc/perl-Mojolicious-Plugin-OAuth2-Server-0.39/README.pod
/usr/share/perl5/Mojolicious/
/usr/share/perl5/Mojolicious/Plugin/
/usr/share/perl5/Mojolicious/Plugin/OAuth2/README.pod
/usr/share/perl5/Mojolicious/Plugin/OAuth2/Server.pm

See Also

Package Description
perl-Mojolicious-Plugin-OnFork-0.006-alt1.noarch.rpm Do Something Whenever a Worker Starts
perl-Mojolicious-Plugin-OpenAPI-1.23-alt1.noarch.rpm OpenAPI / Swagger plugin for Mojolicious
perl-Mojolicious-Plugin-PDFRenderer-0.09-alt1.noarch.rpm Uses wkhtmltopdf via PDF::WebKit to render your app exactly as it looks in Chrome/WebKit but vector
perl-Mojolicious-Plugin-PNGCast-0.22-alt1.noarch.rpm in-process server to display a screencast
perl-Mojolicious-Plugin-PPI-0.07-alt1_3.noarch.rpm Mojolicious Plugin for Rendering Perl Code Using PPI
perl-Mojolicious-Plugin-Pager-0.05-alt1.noarch.rpm Pagination plugin for Mojolicious
perl-Mojolicious-Plugin-Paging-0.0.2-alt1.noarch.rpm Mojolicious paging Plugin
perl-Mojolicious-Plugin-ParamExpand-0.03-alt1.noarch.rpm Use objects and data structures in your forms
perl-Mojolicious-Plugin-ParamLogger-0.03-alt2.noarch.rpm Log request parameters
perl-Mojolicious-Plugin-ParamsAuth-0.03-alt1.noarch.rpm URL Parameters Auth Helper
perl-Mojolicious-Plugin-PayPal-0.08-alt1.noarch.rpm Make payments using PayPal
perl-Mojolicious-Plugin-PetalTinyRenderer-0.05-alt1.noarch.rpm Petal::Tiny renderer plugin
perl-Mojolicious-Plugin-PgAsync-0.03-alt1.noarch.rpm perl module Mojolicious-Plugin-PgAsync
perl-Mojolicious-Plugin-PgLock-0.01-alt1.noarch.rpm postgres advisory locks for Mojolicious application
perl-Mojolicious-Plugin-PgURLHelper-0.03-alt1.noarch.rpm Mojolicious::Plugin::PgURLHelper - Mojolicious Plugin to easily create PostgreSQL URLs suitable for
Advertisement
Advertisement