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 [email protected]
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.