Password;
use Moo;
use Azure::AD::Errors;
use Types::Standard qw/Str Int InstanceOf/;
use JSON::MaybeXS;
use HTTP::Tiny;
our $VERSION = '0.02';
has ua_agent => (is => 'ro', isa => Str,
ntialsFailed',
status => $auth_response->{ status }
);
}
my $auth = decode_json($auth_response->{content});
$self->current_creds($auth);
$self->expiration($auth->{ expir
ntialsV2;
use Moo;
use Azure::AD::Errors;
use Types::Standard qw/Str Int InstanceOf/;
use JSON::MaybeXS;
use HTTP::Tiny;
our $VERSION = '0.01';
has ua_agent => (
is => 'ro',
is
dentialsFailed',
status => $auth_response->{status}
);
}
my $auth = decode_json($auth_response->{content});
$self->current_creds($auth);
$self->expiration($auth->{expire
dentials;
use Moo;
use Azure::AD::Errors;
use Types::Standard qw/Str Int InstanceOf/;
use JSON::MaybeXS;
use HTTP::Tiny;
our $VERSION = '0.02';
has ua_agent => (is => 'ro', isa => Str,
ntialsFailed',
status => $auth_response->{ status }
);
}
my $auth = decode_json($auth_response->{content});
$self->current_creds($auth);
$self->expiration($auth->{ expir
;
use Moo;
use Azure::AD::Errors;
use Types::Standard qw/Str Int InstanceOf CodeRef/;
use JSON::MaybeXS;
use HTTP::Tiny;
our $VERSION = '0.02';
has ua_agent => (is => 'ro', isa => Str,
viceCodeFailed',
status => $device_response->{ status }
);
}
return decode_json($device_response->{ content });
}
sub get_auth_payload_for {
my ($self, $device_payload)
tAuthTokenFailed',
status => $auth_response->{ status }
);
}
return decode_json($auth_response->{content});
}
sub _refresh {
my $self = shift;
if (not defined $sel