This allows us to implement other methods of authentication other than google oauth, and let the user decide on which to use. What still needs to be done is to remove the google oauth specific authentication code from models/user/usermodel.php and controllers/orion.php and modify controllers/authenticate.php so that it doesn't rely specifically on google oauth. In order to use no authentication, the config/orion.php AUTHENTICATION_METHOD variable should be an empty string. To use Google OAuth 2.0, for now, a non-empty string can be used, however in the future it should be 'OAUTH2'.
This allows us to implement other methods of authentication other than google oauth, and let the user decide on which to use. What still needs to be done is to remove the google oauth specific authentication code from models/user/usermodel.php and controllers/orion.php and modify controllers/authenticate.php so that it doesn't rely specifically on google oauth. In order to use no authentication, the config/orion.php AUTHENTICATION_METHOD variable should be an empty string. To use Google OAuth 2.0, for now, a non-empty string can be used, however in the future it should be 'OAUTH2'.