We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9fc1b6 commit ab0ee9bCopy full SHA for ab0ee9b
1 file changed
src/Enum/Repository.php
@@ -0,0 +1,20 @@
1
+<?php declare(strict_types=1);
2
+
3
+namespace Pdsinterop\Solid\Auth\Enum;
4
5
+use Pdsinterop\Solid\Auth\Repository\AccessToken;
6
+use Pdsinterop\Solid\Auth\Repository\AuthCode;
7
+use Pdsinterop\Solid\Auth\Repository\Client;
8
+use Pdsinterop\Solid\Auth\Repository\RefreshToken;
9
+use Pdsinterop\Solid\Auth\Repository\Scope;
10
11
+class Repository
12
+{
13
+ public const ACCESS_TOKEN = AccessToken::class;
14
+ public const AUTH_CODE = AuthCode::class;
15
+ public const CLIENT = Client::class;
16
+ public const REFRESH_TOKEN = RefreshToken::class;
17
+ public const SCOPE = Scope::class;
18
+ // The USER class is only used by the deprecated password grant
19
+ // public const USER = \Pdsinterop\Solid\Auth\Repository\User::class;
20
+}
0 commit comments