GWM
This commit is contained in:
parent
5ff4b64fec
commit
e10d56a717
@ -17,22 +17,36 @@ $routes->post('logout', 'SamlController::slo');
|
|||||||
$routes->get('metadata', 'SamlController::metadata');
|
$routes->get('metadata', 'SamlController::metadata');
|
||||||
|
|
||||||
|
|
||||||
//login api
|
|
||||||
// $routes->group('api', ['filter' => 'appSignature'], function ($routes) {
|
$routes->group('api', ['filter' => 'appSignature'], function ($routes) {
|
||||||
|
|
||||||
|
// Login api
|
||||||
$routes->post('auth/login', 'AuthController::login');
|
$routes->post('auth/login', 'AuthController::login');
|
||||||
$routes->get('auth/oauthClient', 'AuthController::oauthClient');
|
$routes->get('auth/oauthClient', 'AuthController::oauthClient');
|
||||||
$routes->post('auth/oauthlogin', 'AuthController::oauthlogin');
|
$routes->post('auth/oauthlogin', 'AuthController::oauthlogin');
|
||||||
$routes->get('auth/msRedirectionHandler', 'AuthController::msRedirectionHandler');
|
$routes->get('auth/msRedirectionHandler', 'AuthController::msRedirectionHandler');
|
||||||
// });
|
|
||||||
|
|
||||||
|
// MS OAuth api's
|
||||||
|
$routes->get('auth/mslogin', 'AuthController::mslogin');
|
||||||
|
$routes->get('auth/verifyMSAuthUser', 'AuthController::verifyMSAuthUser');
|
||||||
|
|
||||||
|
// Google OAuth api's
|
||||||
|
$routes->get('googleoauth', 'AuthController::receiveGoogleOAuthResponse');
|
||||||
|
$routes->get('auth/googlelogin', 'AuthController::initiateGoogleOAuth');
|
||||||
|
$routes->get('logout', 'AuthController::logout');
|
||||||
|
|
||||||
//forgot password
|
//forgot password
|
||||||
$routes->post('forgotPassword/verifyUser', 'UserController::verifyUser');
|
$routes->post('forgotPassword/verifyUser', 'UserController::verifyUser');
|
||||||
$routes->post('forgotPassword/changePassword', 'UserController::forgotChangePassword');
|
$routes->post('forgotPassword/changePassword', 'UserController::forgotChangePassword');
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//api's with token
|
//api's with token
|
||||||
$routes->group('api', ['filter' => 'jwtAuth'], function ($routes) {
|
$routes->group('api', ['filter' => ["jwtAuth","appSignature"] ], function ($routes) {
|
||||||
|
|
||||||
|
|
||||||
//Organization
|
//Organization
|
||||||
@ -167,15 +181,7 @@ $routes->get('review', 'PlanController::protectedPage', ['filter' => 'signedUrl'
|
|||||||
$routes->get('url', 'PlanController::url');
|
$routes->get('url', 'PlanController::url');
|
||||||
|
|
||||||
|
|
||||||
// MS OAuth api's
|
|
||||||
$routes->get('auth/mslogin', 'AuthController::mslogin');
|
|
||||||
$routes->get('auth/verifyMSAuthUser', 'AuthController::verifyMSAuthUser');
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$routes->get('googleoauth', 'AuthController::receiveGoogleOAuthResponse');
|
|
||||||
$routes->get('auth/googlelogin', 'AuthController::initiateGoogleOAuth');
|
|
||||||
$routes->get('logout', 'AuthController::logout');
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user