
Finance::Bank::Natwest::CredentialsProvider::Callback - Credentials provider that uses a callback to gather the required information

CredentialsProvider module that uses a callback to retrieve the credentials.

my $credentials = Finance::Bank::Natwest::CredentialsProvider::Callback->new(
callback => \&credentials_callback
);

my $credentials = Finance::Bank::Natwest::CredentialsProvider::Callback->new(
callback => \&credentials_callback
);
# Or we can also provide an ID to pass into the callback routine
my $credentials = Finance::Bank::Natwest::CredentialsProvider::Callback->new(
callback => \&credentials_callback, id => 1
);
If id is provided then it must be a simple scalar, and not a reference.

Jody Belka knew@cpan.org

Copyright 2003 by Jody Belka
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.