From 5ca215231314165de6790f0666df183bc936c3bf Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Sat, 9 Apr 2016 15:17:11 +0100 Subject: [PATCH] Updated examples --- examples/src/Entities/AuthCodeEntity.php | 13 +++++++++ examples/src/Entities/RefreshTokenEntity.php | 12 ++++++++ .../src/Repositories/AuthCodeRepository.php | 29 ++++++++++--------- .../Repositories/RefreshTokenRepository.php | 29 ++++++++++--------- src/Entities/Traits/AuthCodeTrait.php | 27 +++++++++++++++++ 5 files changed, 82 insertions(+), 28 deletions(-) create mode 100644 examples/src/Entities/AuthCodeEntity.php create mode 100644 examples/src/Entities/RefreshTokenEntity.php create mode 100644 src/Entities/Traits/AuthCodeTrait.php diff --git a/examples/src/Entities/AuthCodeEntity.php b/examples/src/Entities/AuthCodeEntity.php new file mode 100644 index 00000000..a54217ef --- /dev/null +++ b/examples/src/Entities/AuthCodeEntity.php @@ -0,0 +1,13 @@ +redirectUri; + } + + /** + * @param string $uri + */ + public function setRedirectUri($uri) + { + $this->redirectUri = $uri; + } +}