From fc3a1c20e0470b8003f033108e77bdb7d5c9a117 Mon Sep 17 00:00:00 2001 From: Artemiy Ryabinkov Date: Mon, 5 Jun 2017 16:26:20 +0300 Subject: [PATCH 1/2] Add claims to token interface Signed-off-by: Artemiy Ryabinkov --- .gitignore | 1 + src/Token.php | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/.gitignore b/.gitignore index 4e7599cf..47163a21 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ phpunit.xml composer.lock humbuglog.txt coverage +.idea \ No newline at end of file diff --git a/src/Token.php b/src/Token.php index c981edd9..58aeac52 100644 --- a/src/Token.php +++ b/src/Token.php @@ -25,6 +25,11 @@ interface Token */ public function headers(): DataSet; + /** + * Returns the token claims + */ + public function claims(): DataSet; + /** * Returns if the token is allowed to be used by the audience */ From 7ce8e05b133ad0f0eaf2efbd5efde78f9e6bc045 Mon Sep 17 00:00:00 2001 From: Artemiy Ryabinkov Date: Tue, 6 Jun 2017 11:15:38 +0300 Subject: [PATCH 2/2] Remove .idea from gitignore Signed-off-by: Artemiy Ryabinkov --- .gitignore | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 47163a21..997231cb 100644 --- a/.gitignore +++ b/.gitignore @@ -2,5 +2,4 @@ vendor phpunit.xml composer.lock humbuglog.txt -coverage -.idea \ No newline at end of file +coverage \ No newline at end of file