NAME
Net::Salesforce
VERSION
version 1.100
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.
NAME
Net::Salesforce - Authentication against Salesforce OAuth 2 endpoints.
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
INSTALL
$ cpanm git://github.com/battlemidget/Net-Salesforce.git
If you'd wish to try out the latest code base you can do so with above command.
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
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.