mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Continue removing ExtensionPoint code. Start fixing build errors.
This commit is contained in:
@@ -3,21 +3,18 @@ import PackageDescription
|
||||
|
||||
let package = Package(
|
||||
name: "Secrets",
|
||||
platforms: [.macOS(SupportedPlatform.MacOSVersion.v11), .iOS(SupportedPlatform.IOSVersion.v14)],
|
||||
platforms: [.macOS(SupportedPlatform.MacOSVersion.v11), .iOS(SupportedPlatform.IOSVersion.v14)],
|
||||
products: [
|
||||
.library(
|
||||
name: "Secrets",
|
||||
type: .dynamic,
|
||||
type: .dynamic,
|
||||
targets: ["Secrets"]),
|
||||
],
|
||||
dependencies: [
|
||||
.package(url: "https://github.com/OAuthSwift/OAuthSwift.git", .exact("2.1.2")),
|
||||
],
|
||||
dependencies: [],
|
||||
targets: [
|
||||
.target(
|
||||
name: "Secrets",
|
||||
dependencies: [
|
||||
"OAuthSwift",
|
||||
]),
|
||||
dependencies: []
|
||||
)
|
||||
]
|
||||
)
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
//
|
||||
// OAuth1SwiftProvider.swift
|
||||
// Secrets
|
||||
//
|
||||
// Created by Maurice Parker on 4/14/20.
|
||||
// Copyright © 2020 Ranchero Software, LLC. All rights reserved.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import OAuthSwift
|
||||
|
||||
public protocol OAuth1SwiftProvider {
|
||||
|
||||
static var oauth1Swift: OAuth1Swift { get }
|
||||
static var callbackURL: URL { get }
|
||||
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
//
|
||||
// OAuth2SwiftProvider.swift
|
||||
// Secrets
|
||||
//
|
||||
// Created by Maurice Parker on 5/2/20.
|
||||
// Copyright © 2020 Ranchero Software, LLC. All rights reserved.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
import OAuthSwift
|
||||
|
||||
public protocol OAuth2SwiftProvider {
|
||||
|
||||
static var oauth2Swift: OAuth2Swift { get }
|
||||
static var callbackURL: URL { get }
|
||||
static var oauth2Vars: (state: String, scope: String, params: [String: String]) { get }
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user