The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::Salesforce - Authentication against Salesforce OAuth 2 endpoints.

SYNOPSIS

  use Net::Salesforce;

  my $sf = Net::Salesforce->new(
      'key'          => $ENV{SFKEY},
      'secret'       => $ENV{SFSECRET},
      'redirect_uri' => 'https://localhost:8081/callback'
  );

DESCRIPTION

Net::Salesforce is an authentication module for Salesforce OAuth 2.

ATTRIBUTES

authorize_url

key

params

password

redirect_uri

response_type

scope

secret

ua

A Mojo::UserAgent object.

json

A Mojo::JSON object.

METHODS

verify_signature

refresh

oauth2

access_token_url

authenticate

AUTHOR

Adam Stokes <adamjs@cpan.org>

COPYRIGHT

Copyright 2014- Adam Stokes

LICENSE

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

SEE ALSO