Mailru::Cloud::Auth - authorize on site https://cloud.mail.ru and return csrf token
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";
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
LWP::UserAgent, Carp, HTTP::Request
Pavel Andryushin <vrag867@gmail.com>
This software is copyright (c) 2017 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.
To install Mailru::Cloud, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mailru::Cloud
CPAN shell
perl -MCPAN -e shell install Mailru::Cloud
For more information on module installation, please visit the detailed CPAN module installation guide.