|
1 | 1 | <?php |
2 | 2 |
|
| 3 | +declare(strict_types=1); |
| 4 | + |
3 | 5 | namespace Staffbase\plugins\sdk; |
4 | 6 |
|
5 | 7 | use Staffbase\plugins\sdk\SSOData\SharedDataTrait; |
|
10 | 12 | */ |
11 | 13 | abstract class SSOData |
12 | 14 | { |
13 | | - use SSODataTrait, SharedDataTrait; |
| 15 | + use SSODataTrait; |
| 16 | + use SharedDataTrait; |
14 | 17 |
|
15 | 18 | /** |
16 | 19 | * @deprecated Please use \Staffbase\plugins\sdk\SSOToken::CLAIM_AUDIENCE |
17 | 20 | * @see \Staffbase\plugins\sdk\SSOToken::CLAIM_AUDIENCE |
18 | 21 | */ |
19 | | - const CLAIM_AUDIENCE = 'aud'; |
| 22 | + public const CLAIM_AUDIENCE = 'aud'; |
20 | 23 |
|
21 | 24 | /** |
22 | 25 | * @deprecated Please use \Staffbase\plugins\sdk\SSOToken::CLAIM_EXPIRE_AT |
23 | 26 | * @see \Staffbase\plugins\sdk\SSOToken::CLAIM_EXPIRE_AT |
24 | 27 | */ |
25 | | - const CLAIM_EXPIRE_AT = 'exp'; |
| 28 | + public const CLAIM_EXPIRE_AT = 'exp'; |
26 | 29 |
|
27 | 30 | /** |
28 | 31 | * @deprecated Please use \Staffbase\plugins\sdk\SSOToken::CLAIM_NOT_BEFORE |
29 | 32 | * @see \Staffbase\plugins\sdk\SSOToken::CLAIM_NOT_BEFORE |
30 | 33 | */ |
31 | | - const CLAIM_NOT_BEFORE = 'nbf'; |
| 34 | + public const CLAIM_NOT_BEFORE = 'nbf'; |
32 | 35 |
|
33 | 36 | /** |
34 | 37 | * @deprecated Please use \Staffbase\plugins\sdk\SSOToken::CLAIM_ISSUED_AT |
35 | 38 | * @see \Staffbase\plugins\sdk\SSOToken::CLAIM_ISSUED_AT |
36 | 39 | */ |
37 | | - const CLAIM_ISSUED_AT = 'iat'; |
| 40 | + public const CLAIM_ISSUED_AT = 'iat'; |
38 | 41 |
|
39 | 42 | /** |
40 | 43 | * @deprecated Please use \Staffbase\plugins\sdk\SSOToken::CLAIM_ISSUER |
41 | 44 | * @see \Staffbase\plugins\sdk\SSOToken::CLAIM_ISSUER |
42 | 45 | */ |
43 | | - const CLAIM_ISSUER = 'iss'; |
| 46 | + public const CLAIM_ISSUER = 'iss'; |
44 | 47 |
|
45 | 48 | /** |
46 | 49 | * @deprecated Please use \Staffbase\plugins\sdk\SSOToken::CLAIM_INSTANCE_ID |
47 | 50 | * @see \Staffbase\plugins\sdk\SSOToken::CLAIM_INSTANCE_ID |
48 | 51 | */ |
49 | | - const CLAIM_INSTANCE_ID = 'instance_id'; |
| 52 | + public const CLAIM_INSTANCE_ID = 'instance_id'; |
50 | 53 |
|
51 | 54 | /** |
52 | 55 | * @deprecated Please use \Staffbase\plugins\sdk\SSOToken::CLAIM_INSTANCE_NAME |
53 | 56 | * @see \Staffbase\plugins\sdk\SSOToken::CLAIM_INSTANCE_NAME |
54 | 57 | */ |
55 | | - const CLAIM_INSTANCE_NAME = 'instance_name'; |
| 58 | + public const CLAIM_INSTANCE_NAME = 'instance_name'; |
56 | 59 |
|
57 | 60 | /** |
58 | 61 | * @deprecated Please use \Staffbase\plugins\sdk\SSOToken::CLAIM_BRANCH_ID |
59 | 62 | * @see \Staffbase\plugins\sdk\SSOToken::CLAIM_BRANCH_ID |
60 | 63 | */ |
61 | | - const CLAIM_BRANCH_ID = 'branch_id'; |
| 64 | + public const CLAIM_BRANCH_ID = 'branch_id'; |
62 | 65 |
|
63 | 66 | /** |
64 | 67 | * @deprecated Please use \Staffbase\plugins\sdk\SSOToken::CLAIM_BRANCH_SLUG |
65 | 68 | * @see \Staffbase\plugins\sdk\SSOToken::CLAIM_BRANCH_SLUG |
66 | 69 | */ |
67 | | - const CLAIM_BRANCH_SLUG = 'branch_slug'; |
| 70 | + public const CLAIM_BRANCH_SLUG = 'branch_slug'; |
68 | 71 |
|
69 | 72 | /** |
70 | 73 | * @deprecated Please use \Staffbase\plugins\sdk\SSOToken::CLAIM_USER_ID |
71 | 74 | * @see \Staffbase\plugins\sdk\SSOToken::CLAIM_USER_ID |
72 | 75 | */ |
73 | | - const CLAIM_USER_ID = 'sub'; |
| 76 | + public const CLAIM_USER_ID = 'sub'; |
74 | 77 |
|
75 | 78 | /** |
76 | 79 | * @deprecated Please use \Staffbase\plugins\sdk\SSOToken::CLAIM_USER_EXTERNAL_ID |
77 | 80 | * @see \Staffbase\plugins\sdk\SSOToken::CLAIM_USER_EXTERNAL_ID |
78 | 81 | */ |
79 | | - const CLAIM_USER_EXTERNAL_ID = 'external_id'; |
| 82 | + public const CLAIM_USER_EXTERNAL_ID = 'external_id'; |
80 | 83 |
|
81 | 84 | /** |
82 | 85 | * @deprecated Please use \Staffbase\plugins\sdk\SSOToken::CLAIM_AUDIENCE |
83 | 86 | * @see \Staffbase\plugins\sdk\SSOToken::CLAIM_AUDIENCE |
84 | 87 | */ |
85 | | - const CLAIM_USER_FULL_NAME = 'name'; |
| 88 | + public const CLAIM_USER_FULL_NAME = 'name'; |
86 | 89 |
|
87 | 90 | /** |
88 | 91 | * @deprecated Please use \Staffbase\plugins\sdk\SSOToken::$USER_FIRST_NAME |
89 | 92 | * @see \Staffbase\plugins\sdk\SSOToken::$USER_FIRST_NAME |
90 | 93 | */ |
91 | | - const CLAIM_USER_FIRST_NAME = 'given_name'; |
| 94 | + public const CLAIM_USER_FIRST_NAME = 'given_name'; |
92 | 95 |
|
93 | 96 | /** |
94 | 97 | * @deprecated Please use \Staffbase\plugins\sdk\SSOToken::$USER_LAST_NAME |
95 | 98 | * @see \Staffbase\plugins\sdk\SSOToken::$USER_LAST_NAME |
96 | 99 | */ |
97 | | - const CLAIM_USER_LAST_NAME = 'family_name'; |
| 100 | + public const CLAIM_USER_LAST_NAME = 'family_name'; |
98 | 101 |
|
99 | 102 | /** |
100 | 103 | * @deprecated Please use \Staffbase\plugins\sdk\SSOToken::CLAIM_USER_ROLE |
101 | 104 | * @see \Staffbase\plugins\sdk\SSOToken::CLAIM_USER_ROLE |
102 | 105 | */ |
103 | | - const CLAIM_USER_ROLE = 'role'; |
| 106 | + public const CLAIM_USER_ROLE = 'role'; |
104 | 107 |
|
105 | 108 | /** |
106 | 109 | * @deprecated Please use \Staffbase\plugins\sdk\SSOToken::CLAIM_ENTITY_TYPE |
107 | 110 | * @see \Staffbase\plugins\sdk\SSOToken::CLAIM_ENTITY_TYPE |
108 | 111 | */ |
109 | | - const CLAIM_ENTITY_TYPE = 'type'; |
| 112 | + public const CLAIM_ENTITY_TYPE = 'type'; |
110 | 113 |
|
111 | 114 | /** |
112 | 115 | * @deprecated Please use \Staffbase\plugins\sdk\SSOToken::CLAIM_THEME_TEXT_COLOR |
113 | 116 | * @see \Staffbase\plugins\sdk\SSOToken::CLAIM_THEME_TEXT_COLOR |
114 | 117 | */ |
115 | | - const CLAIM_THEME_TEXT_COLOR = 'theming_text'; |
| 118 | + public const CLAIM_THEME_TEXT_COLOR = 'theming_text'; |
116 | 119 |
|
117 | 120 | /** |
118 | 121 | * @deprecated Please use \Staffbase\plugins\sdk\SSOToken::CLAIM_THEME_BACKGROUND_COLOR |
119 | 122 | * @see \Staffbase\plugins\sdk\SSOToken::CLAIM_THEME_BACKGROUND_COLOR |
120 | 123 | */ |
121 | | - const CLAIM_THEME_BACKGROUND_COLOR = 'theming_bg'; |
| 124 | + public const CLAIM_THEME_BACKGROUND_COLOR = 'theming_bg'; |
122 | 125 |
|
123 | 126 | /** |
124 | 127 | * @deprecated Please use \Staffbase\plugins\sdk\SSOToken::CLAIM_USER_LOCALE |
125 | 128 | * @see \Staffbase\plugins\sdk\SSOToken::CLAIM_USER_LOCALE |
126 | 129 | */ |
127 | | - const CLAIM_USER_LOCALE = 'locale'; |
| 130 | + public const CLAIM_USER_LOCALE = 'locale'; |
128 | 131 |
|
129 | 132 | /** |
130 | 133 | * @deprecated Please use \Staffbase\plugins\sdk\SSOToken::CLAIM_USER_TAGS |
131 | 134 | * @see \Staffbase\plugins\sdk\SSOToken::CLAIM_USER_TAGS |
132 | 135 | */ |
133 | | - const CLAIM_USER_TAGS = 'tags'; |
| 136 | + public const CLAIM_USER_TAGS = 'tags'; |
134 | 137 |
|
135 | 138 | /** |
136 | 139 | * @deprecated Will be removed |
137 | 140 | */ |
138 | | - const USER_ROLE_EDITOR = 'editor'; |
| 141 | + public const USER_ROLE_EDITOR = 'editor'; |
139 | 142 |
|
140 | 143 | /** |
141 | 144 | * @deprecated Will be removed |
142 | 145 | */ |
143 | | - const REMOTE_CALL_DELETE = 'delete'; |
| 146 | + public const REMOTE_CALL_DELETE = 'delete'; |
144 | 147 | } |
0 commit comments