-
- Downloads
Started refactoring for making the code more testable. Added first unit test
Showing
- .gitignore 1 addition, 0 deletions.gitignore
- README.md 1 addition, 1 deletionREADME.md
- auth/oauth2/index.php 0 additions, 53 deletionsauth/oauth2/index.php
- classes/AuthPageModel.php 63 additions, 0 deletionsclasses/AuthPageModel.php
- classes/AuthenticationMethods.php 27 additions, 0 deletionsclasses/AuthenticationMethods.php
- classes/DAO.php 3 additions, 3 deletionsclasses/DAO.php
- classes/InternalClient.php 15 additions, 0 deletionsclasses/InternalClient.php
- classes/Locator.php 99 additions, 0 deletionsclasses/Locator.php
- classes/MySQLDAO.php 14 additions, 14 deletionsclasses/MySQLDAO.php
- classes/OAuth2Client.php 5 additions, 5 deletionsclasses/OAuth2Client.php
- classes/OAuth2Data.php 1 addition, 2 deletionsclasses/OAuth2Data.php
- classes/OAuth2RequestHandler.php 64 additions, 0 deletionsclasses/OAuth2RequestHandler.php
- classes/RAPClient.php 13 additions, 0 deletionsclasses/RAPClient.php
- classes/SessionData.php 8 additions, 68 deletionsclasses/SessionData.php
- classes/exceptions/BadRequestException.php 13 additions, 0 deletionsclasses/exceptions/BadRequestException.php
- composer.json 11 additions, 0 deletionscomposer.json
- config-example.json 41 additions, 0 deletionsconfig-example.json
- include/front-controller.php 49 additions, 86 deletionsinclude/front-controller.php
- include/init.php 4 additions, 27 deletionsinclude/init.php
- js/admin.js 2 additions, 2 deletionsjs/admin.js
auth/oauth2/index.php
deleted
100644 → 0
classes/AuthPageModel.php
0 → 100644
classes/AuthenticationMethods.php
0 → 100644
classes/InternalClient.php
0 → 100644
classes/Locator.php
0 → 100644
classes/OAuth2RequestHandler.php
0 → 100644
classes/RAPClient.php
0 → 100644
classes/exceptions/BadRequestException.php
0 → 100644
{ | { | ||
"name": "ia2/rap", | |||
"description": "Remote Authentication Portal", | |||
"license": "GPL-3.0-or-later", | |||
"require": { | "require": { | ||
"mikecao/flight": "1.3.2", | "mikecao/flight": "1.3.2", | ||
"google/apiclient": "2.1.3", | "google/apiclient": "2.1.3", | ||
"facebook/graph-sdk": "^5.5", | "facebook/graph-sdk": "^5.5", | ||
"monolog/monolog": "^1.22", | "monolog/monolog": "^1.22", | ||
"phpmailer/phpmailer": "^6.0" | "phpmailer/phpmailer": "^6.0" | ||
}, | |||
"require-dev": { | |||
"phpunit/phpunit": "^8.2" | |||
}, | |||
"autoload": { | |||
"classmap": [ | |||
"classes/" | |||
] | |||
} | } | ||
} | } |
config-example.json
0 → 100644
Please register or sign in to comment