Skip to content

Commit eef45f4

Browse files
committed
Remove wporgCredentials from AuthenticatedWebViewModel
1 parent 4128d74 commit eef45f4

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

WooCommerce/Classes/Authentication/AuthenticatedWebViewModel.swift

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ protocol AuthenticatedWebViewModel {
1111
/// Initial URL to be loaded on the web view
1212
var initialURL: URL? { get }
1313

14-
/// Optional credentials for authenticating with WP.org
15-
///
16-
var wporgCredentials: WordPressOrgCredentials? { get }
17-
1814
/// Triggered when the web view is dismissed
1915
func handleDismissal()
2016

@@ -24,8 +20,3 @@ protocol AuthenticatedWebViewModel {
2420
/// Handler for a navigation URL
2521
func decidePolicy(for navigationURL: URL) async -> WKNavigationActionPolicy
2622
}
27-
28-
/// Default implementation
29-
extension AuthenticatedWebViewModel {
30-
var wporgCredentials: WordPressOrgCredentials? { nil }
31-
}

0 commit comments

Comments
 (0)