This repository was archived by the owner on Feb 5, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
WordPressAuthenticator/Authenticator Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,10 @@ public struct WordPressAuthenticatorConfiguration {
6161 ///
6262 let enableSignInWithApple : Bool
6363
64+ /// Flag indicating if the unified login/signup flow should be displayed.
65+ ///
66+ let enableUnifiedAuth : Bool
67+
6468 /// Designated Initializer
6569 ///
6670 public init ( wpcomClientId: String ,
@@ -75,7 +79,8 @@ public struct WordPressAuthenticatorConfiguration {
7579 userAgent: String ,
7680 showLoginOptions: Bool = false ,
7781 showLoginOptionsFromSiteAddress: Bool = false ,
78- enableSignInWithApple: Bool = false ) {
82+ enableSignInWithApple: Bool = false ,
83+ enableUnifiedAuth: Bool = false ) {
7984
8085 self . wpcomClientId = wpcomClientId
8186 self . wpcomSecret = wpcomSecret
@@ -90,5 +95,6 @@ public struct WordPressAuthenticatorConfiguration {
9095 self . showLoginOptions = showLoginOptions
9196 self . showLoginOptionsFromSiteAddress = showLoginOptionsFromSiteAddress
9297 self . enableSignInWithApple = enableSignInWithApple
98+ self . enableUnifiedAuth = enableUnifiedAuth
9399 }
94100}
You can’t perform that action at this time.
0 commit comments