2017-01-22 01:42:36 +08:00
|
|
|
//
|
|
|
|
|
// DefaultKeys.swift
|
|
|
|
|
// pass
|
|
|
|
|
//
|
|
|
|
|
// Created by Mingshen Sun on 21/1/2017.
|
|
|
|
|
// Copyright © 2017 Bob Sun. All rights reserved.
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
import Foundation
|
|
|
|
|
import SwiftyUserDefaults
|
|
|
|
|
|
|
|
|
|
extension DefaultsKeys {
|
2017-02-10 22:15:01 +08:00
|
|
|
// static let pgpKeyURL = DefaultsKey<URL?>("pgpKeyURL")
|
2017-02-17 13:44:25 +08:00
|
|
|
static let pgpKeySource = DefaultsKey<String?>("pgpKeySource")
|
2017-02-10 22:15:01 +08:00
|
|
|
static let pgpPublicKeyURL = DefaultsKey<URL?>("pgpPublicKeyURL")
|
|
|
|
|
static let pgpPrivateKeyURL = DefaultsKey<URL?>("pgpPrivateKeyURL")
|
2017-02-17 13:44:25 +08:00
|
|
|
|
|
|
|
|
static let pgpPublicKeyArmor = DefaultsKey<String?>("pgpPublicKeyArmor")
|
|
|
|
|
static let pgpPrivateKeyArmor = DefaultsKey<String?>("pgpPrivateKeyArmor")
|
|
|
|
|
|
2017-02-13 14:30:38 +08:00
|
|
|
static let pgpKeyPassphrase = DefaultsKey<String?>("pgpKeyPassphrase")
|
2017-02-17 13:44:25 +08:00
|
|
|
static let pgpPrivateKeyURLPassphrase = DefaultsKey<String?>("pgpPrivateKeyURLPassphrase")
|
|
|
|
|
static let pgpPrivateKeyArmorPassphrase = DefaultsKey<String?>("pgpPrivateKeyArmorPassphrase")
|
2017-02-13 14:30:38 +08:00
|
|
|
static let pgpKeyID = DefaultsKey<String?>("pgpKeyID")
|
|
|
|
|
static let pgpKeyUserID = DefaultsKey<String?>("pgpKeyUserID")
|
2017-01-22 01:42:36 +08:00
|
|
|
|
|
|
|
|
static let gitRepositoryURL = DefaultsKey<URL?>("gitRepositoryURL")
|
2017-02-13 14:30:38 +08:00
|
|
|
static let gitRepositoryAuthenticationMethod = DefaultsKey<String?>("gitRepositoryAuthenticationMethod")
|
|
|
|
|
static let gitRepositoryUsername = DefaultsKey<String?>("gitRepositoryUsername")
|
|
|
|
|
static let gitRepositoryPassword = DefaultsKey<String?>("gitRepositoryPassword")
|
2017-01-24 01:49:55 +08:00
|
|
|
static let gitRepositorySSHPublicKeyURL = DefaultsKey<URL?>("gitRepositorySSHPublicKeyURL")
|
|
|
|
|
static let gitRepositorySSHPrivateKeyURL = DefaultsKey<URL?>("gitRepositorySSHPrivateKeyURL")
|
|
|
|
|
static let gitRepositorySSHPrivateKeyPassphrase = DefaultsKey<String?>("gitRepositorySSHPrivateKeyPassphrase")
|
2017-02-06 19:13:33 +08:00
|
|
|
static let lastUpdatedTime = DefaultsKey<Date?>("lasteUpdatedTime")
|
2017-02-07 18:51:52 +08:00
|
|
|
|
|
|
|
|
static let isTouchIDOn = DefaultsKey<Bool>("isTouchIDOn")
|
2017-02-07 20:24:58 +08:00
|
|
|
static let passcodeKey = DefaultsKey<String?>("passcodeKey")
|
2017-02-14 11:16:30 +08:00
|
|
|
|
|
|
|
|
static let isHideUnknownOn = DefaultsKey<Bool>("isHideUnknownOn")
|
|
|
|
|
|
2017-01-22 01:42:36 +08:00
|
|
|
}
|