A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/jdennes/omniauth-createsend below:

jdennes/omniauth-createsend: An OmniAuth strategy for authenticating with the Campaign Monitor API.

This is the OmniAuth strategy for authenticating with the Campaign Monitor API. You'll need to register an OAuth Application in your Campaign Monitor account to get a Client ID and Client Secret to use with this OmniAuth strategy.

Add a dependency to your Gemfile then bundle install.

gem "omniauth-createsend"

In Rack applications:

use OmniAuth::Builder do
  provider "createsend", ENV["CREATESEND_CLIENT_ID"], ENV["CREATESEND_CLIENT_SECRET"], :scope => "ViewReports,CreateCampaigns,SendCampaigns"
end

In Rails applications:

Rails.application.config.middleware.use OmniAuth::Builder do
  provider "createsend", ENV["CREATESEND_CLIENT_ID"], ENV["CREATESEND_CLIENT_SECRET"], :scope => "ViewReports,CreateCampaigns,SendCampaigns"
end

This gem also includes an example Rack application which demonstrates how to authenticate with the Campaign Monitor API using this OmniAuth strategy.

Once you've authenticated, you should use the createsend gem to access Campaign Monitor resources.

Please check the guidelines for contributing to this repository.

This stuff should be green


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4