Continue removing ExtensionPoint code. Start fixing build errors.

This commit is contained in:
Brent Simmons
2023-06-30 21:55:54 -07:00
parent d309c05cb0
commit 8a9c680cfc
17 changed files with 46 additions and 562 deletions

View File

@@ -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: []
)
]
)

View File

@@ -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 }
}

View File

@@ -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 }
}