1.4.12 • Published 3 years ago

@mdornian/vue-authenticate v1.4.12

Weekly downloads
11
License
MIT
Repository
github
Last release
3 years ago

vue-authenticate

This is a fork of the vue-authenticate package version 1.4.1 Please refer to npm vue-authenticate for more documentation. The differences are listed below.

Installation

npm install @mdornian/vue-authenticate

Support For Dynamic Storage

The user might decide that they want to stay logged in or log out automatically when the browser is closed. For example, this could translate into storing the token in either LocalStorage or Session. On startup, the application will look in all storage locations for an existing token and dynamically set the storage type to that location. On login, you have the option of overriding the storage type to a different location.

new Vue({
  methods: {
    login: function () {
      this.$auth.login({ email, password },,'localStorage').then(function () {
        // Execute application logic after successful login
      })
    }
  }
})
1.4.12

3 years ago

1.4.11

4 years ago

1.4.10

4 years ago

1.4.9

4 years ago

1.4.8

4 years ago

1.4.7

4 years ago

1.4.6

4 years ago

1.4.5

4 years ago

1.4.4

4 years ago

1.4.3

4 years ago

1.4.2

4 years ago

1.4.1

4 years ago