Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
sagishm committed Nov 5, 2023
2 parents 4541f2e + ce1391f commit 5263907
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion GigyaSwift/Global/Api/BusinessApiServiceProtocol.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import UIKit

protocol BusinessApiServiceProtocol {
public protocol BusinessApiServiceProtocol {
var config: GigyaConfig { get }

var apiService: ApiServiceProtocol { get }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@

import Foundation

protocol BiometricServiceInternalProtocol {
public protocol BiometricServiceInternalProtocol {
func clearBiometric()
}
6 changes: 3 additions & 3 deletions GigyaSwift/Global/Plugins/GigyaWebBridge.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import WebKit
The `GigyaWebBridge` acts as the optimal bridge between the Gigya webSdk and the iOS sdk. Supporting complex flows such as screensets, saml etc.
*/

final public class GigyaWebBridge<T: GigyaAccountProtocol>: NSObject, WKScriptMessageHandler {
open class GigyaWebBridge<T: GigyaAccountProtocol>: NSObject, WKScriptMessageHandler {

let config: GigyaConfig

Expand All @@ -39,7 +39,7 @@ final public class GigyaWebBridge<T: GigyaAccountProtocol>: NSObject, WKScriptMe
let hideSpinner = "gigya._.plugins.instances.pluginContainer.undimScreenSet()"

// MARK: - initialization
init(config: GigyaConfig, persistenceService: PersistenceService, sessionService: SessionServiceProtocol, businessApiService: BusinessApiServiceProtocol, interruptionManager: WebBridgeInterruptionResolverFactoryProtocol) {
public init(config: GigyaConfig, persistenceService: PersistenceService, sessionService: SessionServiceProtocol, businessApiService: BusinessApiServiceProtocol, interruptionManager: WebBridgeInterruptionResolverFactoryProtocol) {
self.config = config
self.persistenceService = persistenceService
self.sessionService = sessionService
Expand All @@ -59,7 +59,7 @@ final public class GigyaWebBridge<T: GigyaAccountProtocol>: NSObject, WKScriptMe
*/


public func attachTo(webView: WKWebView, viewController: UIViewController, pluginEvent: @escaping (GigyaPluginEvent<T>) -> Void) {
open func attachTo(webView: WKWebView, viewController: UIViewController, pluginEvent: @escaping (GigyaPluginEvent<T>) -> Void) {
guard let apikey = config.apiKey else { return }

let contentController = webView.configuration.userContentController
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ enum WebBridgeInterruption: Int {
case forceLink = 409003
}

protocol WebBridgeInterruptionResolverFactoryProtocol {
public protocol WebBridgeInterruptionResolverFactoryProtocol {
func interruptionHandler(error: NetworkError)

func responseManager<T: GigyaAccountProtocol>(apiMethod: String, params: [String: String], data: T, completion: @escaping (GigyaPluginEvent<T>) -> Void)
Expand Down
2 changes: 1 addition & 1 deletion GigyaSwift/Global/Providers/Provider.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import UIKit

protocol Provider: AnyObject {
public protocol Provider: AnyObject {

var delegate: BusinessApiDelegate? { get set }

Expand Down
2 changes: 1 addition & 1 deletion GigyaSwift/Global/Providers/SocialProvidersManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import Foundation

protocol SocialProvidersManagerProtocol {
public protocol SocialProvidersManagerProtocol {
func getProvider(with socialProvider: GigyaSocialProviders, delegate: BusinessApiDelegate) -> Provider

func registerProvider(by provider: GigyaNativeSocialProviders, wrapper: ProviderWrapperProtocol)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import Foundation

protocol InterruptionResolverFactoryProtocol {
public protocol InterruptionResolverFactoryProtocol {

var isEnabled: Bool { get }

Expand Down

0 comments on commit 5263907

Please sign in to comment.