From aed0c16acc6d39485f68567d255f923a34febcd3 Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Tue, 15 Apr 2014 16:16:01 -0700 Subject: [PATCH] Remove github auth token methods --- package.json | 1 - src/atom.coffee | 12 ------------ 2 files changed, 13 deletions(-) diff --git a/package.json b/package.json index 1bb1386de..311b31c71 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,6 @@ "grim": "0.6.0", "guid": "0.0.10", "jasmine-tagged": "^1.1.1", - "keytar": "1.x", "less-cache": "0.12.0", "mixto": "1.x", "mkdirp": "0.3.5", diff --git a/src/atom.coffee b/src/atom.coffee index 59c3d1578..6a096a22f 100644 --- a/src/atom.coffee +++ b/src/atom.coffee @@ -1,6 +1,5 @@ crypto = require 'crypto' ipc = require 'ipc' -keytar = require 'keytar' os = require 'os' path = require 'path' remote = require 'remote' @@ -484,17 +483,6 @@ class Atom extends Model isReleasedVersion: -> @constructor.isReleasedVersion() - getGitHubAuthTokenName: -> - 'Atom GitHub API Token' - - # Public: Set the the github token in the keychain - setGitHubAuthToken: (token) -> - keytar.replacePassword(@getGitHubAuthTokenName(), 'github', token) - - # Public: Get the github token from the keychain - getGitHubAuthToken: -> - keytar.getPassword(@getGitHubAuthTokenName(), 'github') - # Public: Get the directory path to Atom's configuration area. # # Returns the absolute path to ~/.atom