Group
Extension

Matches 3

Plack-Auth-SSO ( N/NJ/NJFRANCK/Plack-Auth-SSO-0.0137.tar.gz, NJFRANCK, 2019; MetaCPAN )
Plack-Auth-SSO/lib/Plack/Auth/SSO/Shibboleth.pm ( view source; MetaCPAN )
eature qw(:5.10);
use Data::Util qw(:check);
use Moo;
use Plack::Request;
use Plack::Session;
use JSON;

our $VERSION = "0.0137";

with "Plack::Auth::SSO";

#cf. https://github.com/toyokazu/omniauth-s
/;
    $env->{"HTTP_${key}"};

}

sub to_app {
    my $self = $_[0];
    sub {

        state $json = JSON->new()->utf8(1);

        my $env = $_[0];

        my $request = Plack::Request->new($env);
              response   => {
                    content => $json->encode($content),
                    content_type => "application/json"
                }
            }
        );

        $self->
Plack-Auth-SSO ( N/NJ/NJFRANCK/Plack-Auth-SSO-0.0137.tar.gz, NJFRANCK, 2019; MetaCPAN )
Plack-Auth-SSO/lib/Plack/Auth/SSO/ResponseParser/ORCID.pm ( view source; MetaCPAN )
(:check);
use JSON;
use Moo;
use Clone qw();

our $VERSION = "0.0137";

with "Plack::Auth::SSO::ResponseParser";

has json => (
    is => "ro",
    lazy => 1,
    builder => "_build_json",
    init_ar
g => undef
);

sub _build_json {
    JSON->new();
}

sub dig {

    my( $hash, @keys ) = @_;

    while( my $key = shift(@keys) ){
        return unless exists $hash->{$key};
        return $hash->{$k
 {

        $obj = $self->json()->decode( $obj );

    }
    else {

        $obj = Clone::clone( $obj );

    }

    if ( is_string( $obj2 ) ) {

        $obj2 = $self->json()->decode( $obj2 );

    
Plack-Auth-SSO ( N/NJ/NJFRANCK/Plack-Auth-SSO-0.0137.tar.gz, NJFRANCK, 2019; MetaCPAN )
Plack-Auth-SSO/lib/Plack/Auth/SSO/ORCID.pm ( view source; MetaCPAN )
use Moo;
use Plack::Request;
use Plack::Session;
use URI;
use LWP::UserAgent;
use WWW::ORCID;
use JSON;
use Plack::Auth::SSO::ResponseParser::ORCID;

our $VERSION = "0.0137";

with "Plack::Auth::SSO";
ponseParser::ORCID->new();
    },
    init_arg => undef
);
has json => (
    is => "ro",
    lazy => 1,
    default => sub {
        JSON->new->utf8(1);
    },
    init_arg => undef
);

sub _build_orc
pp {
    my $self = $_[0];

    sub {

        state $orcid = $self->orcid;
        state $json = $self->json;
        state $response_parser = $self->response_parser;

        my $env = $_[0];

     

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.