We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4128d74 commit eef45f4Copy full SHA for eef45f4
WooCommerce/Classes/Authentication/AuthenticatedWebViewModel.swift
@@ -11,10 +11,6 @@ protocol AuthenticatedWebViewModel {
11
/// Initial URL to be loaded on the web view
12
var initialURL: URL? { get }
13
14
- /// Optional credentials for authenticating with WP.org
15
- ///
16
- var wporgCredentials: WordPressOrgCredentials? { get }
17
-
18
/// Triggered when the web view is dismissed
19
func handleDismissal()
20
@@ -24,8 +20,3 @@ protocol AuthenticatedWebViewModel {
24
/// Handler for a navigation URL
25
21
func decidePolicy(for navigationURL: URL) async -> WKNavigationActionPolicy
26
22
}
27
28
-/// Default implementation
29
-extension AuthenticatedWebViewModel {
30
- var wporgCredentials: WordPressOrgCredentials? { nil }
31
-}
0 commit comments