From fb21af3dd707c695da51864c87ba922e9bcd5604 Mon Sep 17 00:00:00 2001 From: Ransom Date: Fri, 26 Mar 2021 11:57:27 -0400 Subject: [PATCH] Fix compatibility issue --- CHANGELOG.md | 7 +++---- composer.json | 5 +++-- src/Provider.php | 5 +++++ 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a0794a..1d75e3b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,7 @@ -# OAuth Infusionsoft Changelog -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## 1.0.1 - 2021-03-26 +### Fixed +- Fix compatibility with oauthclient 2.1 ## 1.0.0 - 2019-04-15 ### Added diff --git a/composer.json b/composer.json index 87133ed..2018a17 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "venveo/oauth-infusionsoft", "description": "Infusionsoft provider for Venveo OAuth Client", "type": "craft-plugin", - "version": "1.0.0", + "version": "1.0.1", "keywords": [ "craft", "cms", @@ -22,7 +22,8 @@ } ], "require": { - "craftcms/cms": "^3.0.0-RC1", + "craftcms/cms": "^3.1.0", + "venveo/craft-oauthclient": "^2.0.0", "adespresso/oauth2-infusionsoft": "^0.1.1" }, "autoload": { diff --git a/src/Provider.php b/src/Provider.php index c0ddb4f..cc88478 100644 --- a/src/Provider.php +++ b/src/Provider.php @@ -43,4 +43,9 @@ public function getAuthorizeURL($options = []): String { $options) ); } + + public static function getProviderClass(): string + { + return InfusionsoftProvider::class; + } }