3.4.3 • Published 4 months ago

@marketally/nopwd-vue3-library v3.4.3

Weekly downloads
-
License
MIT
Repository
-
Last release
4 months ago

NoPWD Vue3 Library

Easy NoPWD Authentication Library for Vue3.

NoPWD is a powerful, easy-to-use library for incorporating NoPWD based login functionality into your Vue 3 applications. It primarily focuses on leveraging QR codes for seamless and secure passwordless authentication.

🚀 Features

  • QR Code Integration: Generate and display QR codes for login to the NoPWD System platform.
  • Responsive: Adaptable display for various screen sizes, including mobile screens.
  • Custom Theming: Configurable themes for light and dark modes.
  • Event Emitters: Emit events for errors, redirections, and authentication status updates.
  • Encrypted Data Transmission: Securely handle data with encryption.
  • Vue3 Compatible: Designed specifically for Vue 3 environments.

🔧 Installation

Install NoPWD with npm:

npm install @marketally/nopwd-vue3-library

🎈 Usage

To use the NoPWD Vue3 component in your project, follow the steps below:

  1. Using the Component:
<script setup>
import Login from '@marketally/nopwd-vue3-library';
</script>

<template>
  <Login 
    :isMobileScreen="true"
    :isDark="false"
    primaryDark="#c48a56"
    secondaryDark="#18181b"
    logoDark="path_to_dark_logo.png"
  />
</template>
  1. Listening to Events:

You can also listen to events emitted by the component, such as Error, Redirect, and Status to handle different scenarios in the authentication process.

📖 Documentation

PropertyTypeDefault ValueDescription
isMobileScreenBooleanfalseDetermines if the screen size is mobile.
primaryDarkString#c48a56Primary dark color theme.
primaryLightString#606C38Primary light color theme.
secondaryDarkString#18181bSecondary dark color theme.
secondaryLightString#ffffffSecondary light color theme.
isDarkBooleanfalseDetermines if dark mode is active.
positionLightString#000000Light color for QR code position markers.
positionDarkString#ffffffDark color for QR code position markers.
accentColorString#ffffffAccent color for various UI elements.
logoDarkString''URL for the dark-themed logo.
logoLightString''URL for the light-themed logo.
configDevString''Configuration URL for the development environment. (e.g. http://localhost:3000)
configProductionString''Configuration URL for the production environment. (e.g. https://www.yoursite.com)
configAppString''App configuration URL. (e.g. '/app')
configLoginString''Login configuration URL. (e.g. '/auth/login')
configRequestString''Request configuration URL. This is used to request the code from your service which contacts the NoPWD system.
configVerifyString''Verify configuration URL. Calls your service to verify the status of the request
configConfirmString''Confirmation configuration URL. oOnfirms the access is still valid
configLogoutString''Logout configuration URL. THe service call to your service whethr to log the user out.

Each property can be easily customized to fit the design and functionality needs of your application. Adjust the defaults as necessary to achieve your desired look and behavior.

📃 License

NoPWD is licensed under the MIT License.

🎯 Support

If you need help or have any questions, please open an issue on our GitHub page.

🎉 About Us

NoPWD is maintained by @MarketAlly. We are a team of passionate developers dedicated to creating useful, high-quality software.

3.4.3

4 months ago

3.4.0

4 months ago

3.3.6

4 months ago

3.3.5

4 months ago

3.1.3

5 months ago

3.3.4

5 months ago

3.3.3

5 months ago

3.0.3

9 months ago

3.0.2

9 months ago

3.0.1

9 months ago

3.0.0

9 months ago

2.3.4

9 months ago

2.3.3

9 months ago

2.3.2

9 months ago

2.3.1

9 months ago

2.3.0

9 months ago

2.2.2

9 months ago

2.1.1

9 months ago

2.0.1

9 months ago

2.0.0

9 months ago

1.4.0

9 months ago

1.3.2

9 months ago

1.3.1

9 months ago

1.3.0

9 months ago

1.2.5

9 months ago

1.2.4

9 months ago

1.2.3

9 months ago

1.2.2

9 months ago

1.2.1

9 months ago

1.1.7

9 months ago

1.1.6

9 months ago

1.1.5

9 months ago

1.1.3

9 months ago

1.1.2

9 months ago

1.1.1

9 months ago

1.1.0

9 months ago

1.0.6

9 months ago

1.0.5

9 months ago

1.0.4

9 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago

0.5.5

9 months ago

0.5.4

9 months ago

0.5.3

9 months ago

0.5.2

9 months ago

0.5.1

9 months ago

0.5.0

9 months ago

0.4.6

9 months ago

0.4.5

9 months ago

0.4.4

9 months ago

0.4.2

9 months ago

0.4.1

9 months ago

0.4.0

9 months ago

0.3.8

9 months ago

0.3.7

9 months ago

0.3.6

9 months ago

0.3.5

9 months ago

0.3.4

9 months ago

0.3.3

9 months ago

0.3.2

9 months ago

0.3.1

9 months ago

0.3.0

9 months ago

0.2.2

9 months ago

0.2.1

9 months ago

0.2.0

9 months ago

0.1.9

9 months ago

0.1.8

9 months ago

0.1.7

9 months ago

0.1.6

9 months ago

0.1.5

9 months ago

0.1.4

9 months ago

0.1.3

9 months ago

0.1.2

9 months ago

0.1.1

9 months ago

0.1.0

9 months ago

0.0.3

10 months ago

0.0.2

10 months ago