Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit c99f2a7

Browse files
committed
Update comment to explain the parameters of showVerifyEmailForWPCom
1 parent 1b6b543 commit c99f2a7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

WordPressAuthenticator/Authenticator/WordPressAuthenticator.swift

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,13 @@ import WordPressKit
194194
showGetStarted(from: presenter, jetpackLogin: jetpackLogin, connectedEmail: connectedEmail, siteURL: siteURL)
195195
}
196196

197-
/// Used to present the Verify Email flow from the app delegate
197+
/// Used to present the Verify Email flow from the app delegate.
198+
///
199+
/// - Parameters:
200+
/// - presenter: The view controller that presents the Verify Email view.
201+
/// - xmlrpc: The URL to reach the XMLRPC file of the site to log in to.
202+
/// - connectedEmail: The email address used to authorized Jetpack connection with the site.
203+
/// - siteURL: The URL of the site to log in to.
198204
///
199205
@objc public class func showVerifyEmailForWPCom(from presenter: UIViewController, xmlrpc: String, connectedEmail: String, siteURL: String) {
200206
guard let xmlrpcURL = URL(string: xmlrpc) else {

0 commit comments

Comments
 (0)