akkoma-fe/src/modules/oauth.js

19 lines
329 B
JavaScript
Raw Normal View History

2018-10-26 13:16:23 +00:00
const oauth = {
state: {
client_id: false,
client_secret: false,
token: false
},
mutations: {
setClientData (state, data) {
state.client_id = data.client_id
state.client_secret = data.client_secret
},
setToken (state, token) {
state.token = token
}
}
}
export default oauth