title: Vuex - passing multiple parameters to mutation
body: <p>I am trying to authenticate a user using vuejs and laravel's passport.<br><br><strong>I am not able to figure out how to send multiple parameters to the vuex mutation via an action.</strong><br><br>
  <strong>- store -</strong></p>
  <pre><code>export default new Vuex.Store({
    state: {
      isAuth: !!localStorage.getItem('token')
    },
    getters: {
      isLoggedIn(state) {
        return state.isAuth
      }
    },
    mutations: {
      authenticate(token, expiration) {
        localStorage.setItem('token', token)
        localStorage.setItem('expiration', expiration)
      }
    },
    actions: {
      authenticate: ({
        commit
      }, token, expiration) =&gt; commit('authenticate', token, expiration)
    }
  })
  </code></pre>
  <p><strong>- login method -</strong></p>
  <pre><code>login() {
    var data = {
      client_id: 2,
      client_secret: '**************************',
      grant_type: 'password',
      username: this.email,
      password: this.password
    }
    // send data
    this.$http.post('oauth/token', data)
      .then(response =&gt; {
        // send the parameters to the action
        this.$store.dispatch({
          type: 'authenticate',
          token: response.body.access_token,
          expiration: response.body.expires_in + Date.now()
        })
      })
  }
  </code></pre>
  <p>I would be very thankful for any kind of help!</p>