NAME
PayProp::API::Public::Client::Authorization::ClientCredentials - Client credentials authorization module.
SYNOPSIS
use PayProp::API::Public::Client::Authorization::ClientCredentials;
my $ClientCredentials = PayProp::API::Public::Client::Authorization::ClientCredentials->new( client => 'OAUTH_CLIENT', # Required: OAuth v2.0 client. secret => 'OAUTH_CLIENT_SECRET', # Required: OAuth v2.0 client secret. domain => 'API-DOMAIN.com', # Required: API server domain name. application_user_id => 123456, # Required: Client for which to request OAuth v2.0 access token.
scheme => 'https', # Optional: API domain URL scheme. Default C<https>.
storage_key => 'CACHE_KEY', # Optional: Token storage key. This *should* be unique per C<application_user_id> if overridden.
storage => C<PayProp::API::Public::Client::Authorization::Storage::*>, # Optional: One of available storage solutions.
);
DESCRIPTION
Client credentials authorization module type to be provided for PayProp::API::Public::Client
initialization.
ATTRIBUTES
PayProp::API::Public::Client::Authorization::ClientCredentials
implements the following attributes.
client
OAuth v2.0 client.
secret
OAuth v2.0 client secret.
domain
API server domain name.
application_user_id
Client for which to request OAuth v2.0 access token.
AUTHOR
Yanga Kandeni <yangak@cpan.org>
Valters Skrupskis <malishew@cpan.org>
COPYRIGHT
Copyright 2023- PayProp
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
If you would like to contribute documentation or file a bug report then please raise an issue / pull request: