45 lab 5 api security enhancement and mvc refactor#58
Merged
Conversation
Signed-off-by: jvspeed74 <javaugh@iu.edu>
Signed-off-by: jvspeed74 <javaugh@iu.edu>
Signed-off-by: jvspeed74 <javaugh@iu.edu>
Signed-off-by: jvspeed74 <javaugh@iu.edu>
Signed-off-by: jvspeed74 <javaugh@iu.edu>
Signed-off-by: jvspeed74 <javaugh@iu.edu>
Signed-off-by: jvspeed74 <javaugh@iu.edu>
Signed-off-by: jvspeed74 <javaugh@iu.edu>
Signed-off-by: jvspeed74 <javaugh@iu.edu>
Signed-off-by: jvspeed74 <javaugh@iu.edu>
Signed-off-by: jvspeed74 <javaugh@iu.edu>
Signed-off-by: jvspeed74 <javaugh@iu.edu>
Signed-off-by: jvspeed74 <javaugh@iu.edu>
Signed-off-by: jvspeed74 <javaugh@iu.edu>
Signed-off-by: jvspeed74 <javaugh@iu.edu>
Signed-off-by: jvspeed74 <javaugh@iu.edu>
Signed-off-by: jvspeed74 <javaugh@iu.edu>
Signed-off-by: jvspeed74 <javaugh@iu.edu>
Signed-off-by: jvspeed74 <javaugh@iu.edu>
Signed-off-by: jvspeed74 <javaugh@iu.edu>
…t-and-mvc-refactor' into 45-lab-5-api-security-enhancement-and-mvc-refactor
Signed-off-by: jvspeed74 <javaugh@iu.edu>
730c372 to
10bf40c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request includes several changes to improve security, update dependencies, and enhance the database schema. The most important changes include adding authentication middleware, updating the database schema with new tables and constraints, and updating documentation to reflect these changes.
Security Enhancements:
config/routes.php: AddedAuthMiddlewareto secure team routes.docs/openapi.yaml: Added security schemes forbasicAuth,bearerAuth, andJWTAuth.docs/paths/teams.yaml: Updated endpoints to include security requirements. [1] [2] [3] [4]Dependency Updates:
composer.json: Addedfirebase/php-jwtto dependencies and removedphpstan/phpstan-strict-rules..idea/php.xml: Updated include paths to reflect new dependencies.Database Schema Changes:
f1_db.sql: Added newtokensanduserstables, updatedteamstable data, and added constraints and indexes for new tables. [1] [2] [3] [4] [5] [6]Documentation Updates:
docs/components/responses.yaml: Added401 Unauthorizedresponse.docs/paths/teams.yaml: Updated security and response schemas for team-related endpoints.