MooseX::HasDefaults::RO;
use MooseX::StrictConstructor;
use namespace::autoclean;
use Carp;
use JSON;
use LWP::UserAgent;
use Params::Validate qw(:all);
use URI;
use XML::Simple;
use version;
our $
scope => "http://api.microsofttranslator.com",
});
my $resp_data = JSON::decode_json $r->decoded_content;
$self->_token($resp_data->{access_token});
$self->_token_expi