Net::Salesforce - An authentication module for Salesforce OAuth 2.
version 1.101
use Net::Salesforce; my $sf = Net::Salesforce->new( 'key' => $ENV{SFKEY}, 'secret' => $ENV{SFSECRET}, 'redirect_uri' => 'https://localhost:8081/callback' );
Returns a Mojo::URL of the Salesforce api host, defaults to https://na15.salesforce.com/
Endpoint to Salesforce's authorize page.
Endpoint to Salesforce's access token page
Form parameters attribute
Callback URI defined in your Salesforce application
Response type for authorization callback
Scopes available as defined by the Salesforce application.
Acts as Salesforce client_secret
Acts as Salesforce client_key
A Mojo::UserAgent object.
A Mojo::JSON object.
Adam Stokes <adamjs@cpan.org>
This software is copyright (c) 2014 by Adam Stokes.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Net::Salesforce, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Salesforce
CPAN shell
perl -MCPAN -e shell install Net::Salesforce
For more information on module installation, please visit the detailed CPAN module installation guide.