t1mmen / opauth-campaignmonitor
CampaignMonitor strategy for Opauth
Requires
- php: >=5.2.0
- opauth/opauth: >=0.2.0
This package is not auto-updated.
Last update: 2024-12-17 03:35:38 UTC
README
Opauth strategy for CampaignMonitor authentication.
This strategy relies on an API endpoint that is currently stable, but undocumented (https://api.createsend.com/api/v3.1/me.json
).
Getting started
-
Install Opauth-CampaignMonitor:
Using git:
cd path_to_opauth/Strategy git clone https://github.com/t1mmen/opauth-campaignmonitor.git CampaignMonitor
Or, using Composer, just add this to your composer.json
:
{ "require": { "t1mmen/opauth-campaignmonitor": "*" } }
Then run composer install
.
-
Create a CampaignMonitor application (see instructions)
-
Configure Opauth-CampaignMonitor strategy with
client_id
,client_secret
andscope
(See permissions) -
Direct user to
http://path_to_opauth/campaignmonitor
to authenticate
Strategy configuration
Required parameters:
<?php 'CampaignMonitor' => array( 'client_id' => 'YOUR CLIENT ID', 'client_secret' => 'YOUR CLIENT SECRET', 'scope' => 'YOUR,SCOPES,HERE' )
License
Opauth-CampaignMonitor is MIT Licensed Copyright © 2014 Timm Stokke (http://timm.stokke.me)