Group
Extension

Mojolicious-Plugin-Web-Auth/lib/Mojolicious/Plugin/Web/Auth/Site/Yandex.pm

package Mojolicious::Plugin::Web::Auth::Site::Yandex;

use Mojo::Base qw/Mojolicious::Plugin::Web::Auth::OAuth2/;

has user_info        => 1;
has authorize_url    => 'https://oauth.yandex.ru/authorize';
has response_type    => '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;


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