The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

PayProp::API::Public::Client::Authorization::APIKey - API key authorization module.

SYNOPSIS

        use PayProp::API::Public::Client::Authorization::APIKey;

        my $APIKey = PayProp::API::Public::Client::Authorization::APIKey->new(
                token => 'YOUR_API_KEY', # Required: PayProp API key.
        );

DESCRIPTION

API key authorization module type to be provided for PayProp::API::Public::Client initialization. Note that storage_key is not overridden in this module as it's not expected for this module to utilize storage solution; an exception will be thrown by default if storage is provided for PayProp::API::Public::Client::Authorization::APIKey module.

ATTRIBUTES

PayProp::API::Public::Client::Authorization::APIKey implements the following attributes.

token

API key obtained from the PayProp platform.

token_type

API key authorization type. Default APIkey

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:

https://github.com/Humanstate/api-client-public-module