NAME
Net::Salesforce - An authentication module for Salesforce OAuth 2.
VERSION
version 1.101
SYNOPSIS
use Net::Salesforce;
my $sf = Net::Salesforce->new(
'key' => $ENV{SFKEY},
'secret' => $ENV{SFSECRET},
'redirect_uri' => 'https://localhost:8081/callback'
);
ATTRIBUTES
api_host
Returns a Mojo::URL of the Salesforce api host, defaults to https://na15.salesforce.com/
authorize_path
Endpoint to Salesforce's authorize page.
access_token_path
Endpoint to Salesforce's access token page
params
Form parameters attribute
redirect_uri
Callback URI defined in your Salesforce application
response_type
Response type for authorization callback
scope
Scopes available as defined by the Salesforce application.
secret
Acts as Salesforce client_secret
key
Acts as Salesforce client_key
ua
A Mojo::UserAgent object.
json
A Mojo::JSON object.
METHODS
verify_signature
refresh
oauth2
authorize_url
access_token_url
authenticate
password
AUTHOR
Adam Stokes <adamjs@cpan.org>
COPYRIGHT AND LICENSE
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.