Skip to content

Commit 2ceb62f

Browse files
authored
[MixerApi/JwtAuth] - Adds JwtAuth plugin (#95)
1 parent f643348 commit 2ceb62f

44 files changed

Lines changed: 3216 additions & 778 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,5 @@ nbproject/*
5454
.vscode
5555
# Sass preprocessor
5656
.sass-cache/
57+
/plugins/jwt-auth/tests/mixerapi_dev_test
58+
/plugins/jwt-auth/mixerapi_dev_test

composer.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"require": {
88
"php": "^8.0",
99
"ext-json": "*",
10+
"ext-openssl": "*",
1011
"ext-simplexml": "*",
1112
"ext-xml": "*",
1213
"adbario/php-dot-notation": "^2.2",
@@ -20,10 +21,12 @@
2021
"require-dev": {
2122
"ext-mysqli": "*",
2223
"ext-sqlite3": "*",
24+
"cakephp/authentication": "^2.9",
2325
"cakephp/bake": "^2.0.3",
2426
"cakephp/cakephp-codesniffer": "^4.2",
2527
"cakephp/debug_kit": "^4.1",
2628
"dereuromark/cakephp-ide-helper": "^1.10",
29+
"firebase/php-jwt": "^5.5",
2730
"josegonzalez/dotenv": "^3.2",
2831
"phpmd/phpmd": "^2.10",
2932
"phpro/grumphp": "^1.3",
@@ -50,6 +53,7 @@
5053
"MixerApi\\ExceptionRender\\": "plugins/exception-render/src/",
5154
"MixerApi\\HalView\\": "plugins/hal-view/src/",
5255
"MixerApi\\JsonLdView\\": "plugins/json-ld-view/src/",
56+
"MixerApi\\JwtAuth\\": "plugins/jwt-auth/src/",
5357
"MixerApi\\Rest\\": "plugins/rest/src/"
5458
}
5559
},
@@ -69,6 +73,8 @@
6973
"MixerApi\\ExceptionRender\\Test\\App\\": "plugins/exception-render/tests/test_app/src/",
7074
"MixerApi\\HalView\\Test\\": "plugins/hal-view/tests/",
7175
"MixerApi\\HalView\\Test\\App\\": "plugins/hal-view/tests/test_app/src/",
76+
"MixerApi\\JwtAuth\\Test\\": "plugins/jwt-auth/tests/",
77+
"MixerApi\\JwtAuth\\Test\\App\\": "plugins/jwt-auth/tests/test_app/src/",
7278
"MixerApi\\JsonLdView\\Test\\": "plugins/json-ld-view/tests/",
7379
"MixerApi\\JsonLdView\\Test\\App\\": "plugins/json-ld-view/tests/test_app/src/",
7480
"MixerApi\\Test\\": "plugins/mixerapi/tests/",
@@ -114,7 +120,12 @@
114120
"prefer-stable": true,
115121
"minimum-stability": "dev",
116122
"config": {
117-
"sort-packages": true
123+
"sort-packages": true,
124+
"allow-plugins": {
125+
"dealerdirect/phpcodesniffer-composer-installer": true,
126+
"cakephp/plugin-installer": true,
127+
"phpro/grumphp": true
128+
}
118129
},
119130
"repositories": [
120131
{

0 commit comments

Comments
 (0)