NAME
Mailru::Cloud::Auth - authorize on site https://cloud.mail.ru and return csrf token
VERSION version 0.10
SYNOPSYS
use Mailru::Cloud::Auth;
my $cloud = Mailru::Cloud::Auth->new;
my $token = $cloud->login(-login => 'test', -password => '12345') or die "Cant login on mail.ru";
METHODS
login(%opt)
Login on cloud.mail.ru server.Return csrf token if success. Return undef if false
$cloud->login(-login => 'test', -password => '12345');
Options:
-login => login form cloud.mail.ru
-password => password from cloud.mail.ru
DEPENDENCE
LWP::UserAgent, Carp, HTTP::Request
AUTHORS
Pavel Andryushin <vrag867@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2018 by Pavel Andryushin.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.