This Pull Request introduces the implementation of an authorization and authentication service for the Mr Market v2 system. This service is designed to protect specified endpoints from unauthorized access and manage user roles (Admin and User) with different levels of access.
Summary of changes
Implemented auth module.
Added role-based access control: Defined roles (Admin and User) and ensured endpoints are protected based on these roles.
Integrated with Mixin: Authentication is integrated with the Mixin platform for secure user management.
Unit tests added: Verified the correct functionality of authentication and authorization methods.
Description
This Pull Request introduces the implementation of an authorization and authentication service for the Mr Market v2 system. This service is designed to protect specified endpoints from unauthorized access and manage user roles (Admin and User) with different levels of access.
Summary of changes
auth
module.Related issues
Fixes #17