'use strict'

const ElectronConfig = require('electron-config')
const storage = new ElectronConfig()

const KEY = 'token'

class GitHubAuth {
  isAuthenticated() {
    return storage.has(KEY)
  }

  setToken(token) {
    storage.set(KEY, token)
  }

  getToken() {
    return storage.get(KEY)
  }
}

module.exports = GitHubAuth

@@ -137,16 +137,23 @@
 uth %7B%0A  
+static 
 isAuthen
@@ -160,24 +160,24 @@
 ticated() %7B%0A
-
     return s
@@ -199,16 +199,23 @@
 %0A  %7D%0A%0A  
+static 
 setToken
@@ -257,18 +257,25 @@
 n)%0A  %7D%0A%0A
-
   
+static 
 getToken

Make GitHubAuth methods static