-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from venveo/develop
2.1.0
- Loading branch information
Showing
12 changed files
with
327 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,17 @@ | ||
<?php | ||
/** | ||
* OAuth 2.0 Client plugin for Craft CMS 3 | ||
* @link https://www.venveo.com | ||
* @copyright Copyright (c) 2018-2019 Venveo | ||
* @link https://www.venveo.com | ||
* @copyright Copyright (c) 2018-2019 Venveo | ||
*/ | ||
|
||
namespace venveo\oauthclient\events; | ||
|
||
use venveo\oauthclient\models\App; | ||
use craft\events\ModelEvent; | ||
use venveo\oauthclient\models\Token; | ||
use yii\base\Event; | ||
|
||
class TokenEvent extends Event | ||
class TokenEvent extends ModelEvent | ||
{ | ||
public function __construct(Token $token) | ||
{ | ||
parent::__construct(); | ||
$this->token = $token; | ||
} | ||
|
||
/** @var Token */ | ||
public $token; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.