Group
Extension

Matches 4

Mojolicious-Plugin-Web-Auth ( H/HA/HAYAJO/Mojolicious-Plugin-Web-Auth-0.17.tar.gz, HAYAJO, 2019; MetaCPAN )
Mojolicious-Plugin-Web-Auth/lib/Mojolicious/Plugin/Web/Auth/OAuth.pm ( view source; MetaCPAN )
:OAuth;

use Mojo::Base 'Mojolicious::Plugin::Web::Auth::Base';
use Net::OAuth::Client;
use Mojo::JSON;

has 'request_token_url';
has is_v1a           => 0;
has token_key        => 'token';
has token_
or}->( $res->decoded_content )
            unless ( $res->is_success );
        push @args, Mojo::JSON::j( $res->decoded_content );
    } else {
        push @args, undef;
    }

    return $callback-
Mojolicious-Plugin-Web-Auth ( H/HA/HAYAJO/Mojolicious-Plugin-Web-Auth-0.17.tar.gz, HAYAJO, 2019; MetaCPAN )
Mojolicious-Plugin-Web-Auth/lib/Mojolicious/Plugin/Web/Auth/Site/Twitter.pm ( view source; MetaCPAN )
thorize';
has access_token_url  => 'https://api.twitter.com/oauth/access_token';
has user_info_url     => 'https://api.twitter.com/1.1/account/verify_credentials.json';

sub moniker { 'twitter' }

1;
Mojolicious-Plugin-Web-Auth ( H/HA/HAYAJO/Mojolicious-Plugin-Web-Auth-0.17.tar.gz, HAYAJO, 2019; MetaCPAN )
Mojolicious-Plugin-Web-Auth/lib/Mojolicious/Plugin/Web/Auth/Site/Yandex.pm ( view source; MetaCPAN )
  => 'code';
has access_token_url => 'https://oauth.yandex.ru/token';
has user_info_url    => 'https://login.yandex.ru/info?format=json';
has authorize_header => 'OAuth';

sub moniker {'yandex'};

1;
Mojolicious-Plugin-Web-Auth ( H/HA/HAYAJO/Mojolicious-Plugin-Web-Auth-0.17.tar.gz, HAYAJO, 2019; MetaCPAN )
Mojolicious-Plugin-Web-Auth/lib/Mojolicious/Plugin/Web/Auth/OAuth2.pm ( view source; MetaCPAN )
d %s', $res->code, $res->default_message ) )
            if $tx->error;
        push @args, $res->json;
    } else {
        push @args, undef;
    }

    push @args, { %$dat }; # append rest of the r
->type(json => ['application/json', 'text/javascript']);
    my $exts = $types->detect( $res->headers->content_type );
    return ( scalar(@$exts) && $exts->[0] eq 'json' )
        ? $res->json
      

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