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

Commit b07cf8f

Browse files
authored
Merge pull request #112 from wordpress-mobile/feature/new_login_flow_site_address
Log In: show login options after site address validated.
2 parents 1e35cf6 + eccf511 commit b07cf8f

File tree

5 files changed

+187
-148
lines changed

5 files changed

+187
-148
lines changed

WordPressAuthenticator.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "WordPressAuthenticator"
3-
s.version = "1.8.0-beta.1"
3+
s.version = "1.8.0-beta.2"
44
s.summary = "WordPressAuthenticator implements an easy and elegant way to authenticate your WordPress Apps."
55

66
s.description = <<-DESC

WordPressAuthenticator/Authenticator/WordPressAuthenticatorConfiguration.swift

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ public struct WordPressAuthenticatorConfiguration {
5151
///
5252
let showNewLoginFlow: Bool
5353

54+
/// Flag indicating if the login options button view should be displayed in the site address flow.
55+
/// If enabled, the options button view will be displayed after the site address has been entered
56+
/// and verified.
57+
///
58+
let showLoginOptionsFromSiteAddress: Bool
5459

5560
/// Designated Initializer
5661
///
@@ -64,7 +69,8 @@ public struct WordPressAuthenticatorConfiguration {
6469
googleLoginServerClientId: String,
6570
googleLoginScheme: String,
6671
userAgent: String,
67-
showNewLoginFlow: Bool = false) {
72+
showNewLoginFlow: Bool = false,
73+
showLoginOptionsFromSiteAddress: Bool = false) {
6874

6975
self.wpcomClientId = wpcomClientId
7076
self.wpcomSecret = wpcomSecret
@@ -77,5 +83,6 @@ public struct WordPressAuthenticatorConfiguration {
7783
self.googleLoginScheme = googleLoginScheme
7884
self.userAgent = userAgent
7985
self.showNewLoginFlow = showNewLoginFlow
86+
self.showLoginOptionsFromSiteAddress = showLoginOptionsFromSiteAddress
8087
}
8188
}

0 commit comments

Comments
 (0)