pleroma-fe/src/modules/oauth.js
2018-10-26 15:16:23 +02:00

18 lines
329 B
JavaScript

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