@sparksweb/nuxt-client-guard
v1.0.6
Published
Nuxt module that validates whether a user is an authorized SparksWeb client before granting access.
Readme
nuxt-client-guard
Description
Nuxt module that validates whether a user is an authorized SparksWeb client before granting access.
Quick Setup
Install the module to the Nuxt application:
npx nuxi module add @sparksweb/nuxt-client-guardOptions
| Option | Type | Description |
| ------------- | -------- |------------------------------------------------------|
| projectName | string | Name of the project to validate against. |
| apiUrl | string | Base URL of your auth/validation API. (Without /api) |
| apiKey | string | API key used to authenticate module requests. |
