UNPKG

hexaeight-sessions

Version:

Authenticate Any Email User In Front-End Apps Using HexaEight Sessions

56 lines (28 loc) 2.46 kB
# Hexaeight-Sessions Hexaeight-Sessions is a powerful npm library designed to simplify session management and authentication in web applications. Whether you're working with React, Angular, or Quasar (Vue), Hexaeight-Sessions provides an intuitive interface for managing user sessions efficiently. ## Installation You can install Hexaeight-Sessions via npm: ```bash npm install hexaeight-sessions ``` ## Samples Upon installation, Hexaeight-Sessions provides sample directories for React, Angular, and Quasar (Vue), demonstrating how to integrate the library into your projects seamlessly. ### React Inside the `samples/react` directory, you'll find a sample React application showcasing the integration of Hexaeight-Sessions. ### Angular Navigate to the `samples/angular` directory to explore a sample Angular application demonstrating the usage of Hexaeight-Sessions. ### Quasar (Vue) The `samples/quasar` directory contains a Quasar (Vue) application illustrating the integration of Hexaeight-Sessions. ## Public Folder Additionally, upon installation, Hexaeight-Sessions creates a `public` folder with essential files required for proper functioning. It's crucial to ensure that all files within the `public` folder are available in the root directory (`/`) of your application. ### Note For the library to work seamlessly, make sure all files from the `public` folder are accessible in the root directory (`/`) of your project. ## Authentication Hexaeight-Sessions allows users to implement authentication using any email address without redirecting to other sites or social logins. This authentication library integrates an Authentication Co-pilot in any language of your choice based on the browser support. This feature assists users in logging into the application seamlessly. ## Documentation This library is actively used in [Controlled GPT FrontEnd](https://www.hexaeight.com/index.html#building-controlled-Chatgpt-assistants) and you can refer to its developer guide for building Applications using hexaeight-sessions. [Developer Guide](https://pitch.com/v/controlled-gpt-front-end-developer-guide-npsnmg) ## License This project is licensed under the Apache License 2.0 - see the [LICENSE](LICENSE) file for details. ## Support For support, bug reports, or feature requests, please [open an issue](https://github.com/HexaEightTeam/hexaeight-sessions/issues).