Skip to content
  • Iqbal Maulana's avatar
    feat(naco): add Naco authentication for Hyperf framework · 83482731
    Iqbal Maulana authored
    This commit introduces the Naco auth component for the Hyperf framework. It includes the implementation of features like issuing tokens, user login, and fetching user details. The authentication mechanism has been set up using the OAuth protocol, where the user credentials like client id and client secret are configured using environment variables. The commit also incorporates components to handle, extract and manage tokens effectively. A new route and a corresponding controller have been added for fetching user account details. Exception handling for authorization has also been addressed.
    83482731
This project is licensed under the MIT License. Learn more