Business-TrueLayer
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/Business/TrueLayer/Authenticator.pm view on Meta::CPAN
$self->_auth_token
&& $self->_token_type
&& ! $self->_token_is_expired
) {
return $self;
}
my $url = "https://" . $self->host . "/connect/token";
my $json = JSON->new->utf8->canonical->encode(
{
grant_type => 'client_credentials',
client_id => $self->client_id,
client_secret => $self->client_secret,
scope => join( " ",$self->scope->@* ),
}
);
my $res_content = $self->_ua_request( $url, $json );
# If any of these are missing, we get "interesting" errors from Moose
# constraint violations.
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.980 second using v1.00-cache-2.02-grep-82fe00e-cpan-2c419f77a38b )