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 3b6b192 commit 67ec443Copy full SHA for 67ec443
Networking/Networking/CookieNonce/CookieNonceAuthenticator.swift
@@ -5,6 +5,9 @@ import Foundation
5
/// This differs from WordPressKit's version by handling the nonce retrieval as a separate request
6
/// instead of a redirect from the login request - to fix issues with Pressable sites.
7
///
8
+/// This authenticator uses Ajax nonce retrieval method by default
9
+/// since we are not supporting sites with WP versions earlier than 5.6.0.
10
+///
11
final class CookieNonceAuthenticator: RequestRetrier & RequestAdapter {
12
private let username: String
13
private let password: String
0 commit comments