@biz-storefront/auth

A embeddable single page application to handle authentication for your storefront.
1,882
Install
npm install @biz-storefront/auth@1.1.8
Latest Version:1.1.8
Vue:2
Last Updated:Aug 19, 2021
Links: npm
Maintainer: bizcommerce

Biz Auth

A embeddable single page application to handle authentication for your storefront.

Requirements

In order for the application to work, it requires a Auth and Customer service interface implementation to be injected.

import Store from 'bizstore'
import Authentication from 'biz-auth'
import { AuthService, CustomerService } from '@biz-storefront/services'

const store = new Vuex.Store(Store)
const app = new Vue({
    provide(){
        return {
            CustomerService,
            AuthService
        }
    },
    store,
    ...Authentication
})

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your tests

npm run test

Lints and fixes files

npm run lint

Run your end-to-end tests

npm run test:e2e

Run your unit tests

npm run test:unit

Customize configuration

See Configuration Reference.

Related Packages

@biz-storefront/bizy

Bizy-Bizcommerce component library

1,452
biz

Version History

Version Released Vue License
1.1.8 ^2.6.10
1.1.7 ^2.6.10
1.1.6 ^2.6.10
1.1.5 ^2.6.10
1.1.4 ^2.6.10
Pre-releases (49)
Version Released Vue License
2.0.86-alpha.0 ^3.0.5
2.0.85-alpha.0 ^3.0.5
2.0.84-alpha.0 ^3.0.5
2.0.83-alpha.0 ^3.0.5
2.0.82-alpha.0 ^3.0.5