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


Finance-Bank-Natwest documentation  | view source Contained in the Finance-Bank-Natwest distribution.

Index


NAME

Top

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

DESCRIPTION

Top

CredentialsProvider module that uses a callback to retrieve the credentials.

SYNOPSIS

Top

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

METHODS

Top

new
  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.

AUTHOR

Top

Jody Belka knew@cpan.org

COPYRIGHT AND LICENSE

Top


Finance-Bank-Natwest documentation  | view source Contained in the Finance-Bank-Natwest distribution.