You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/StytchCore/SharedModels/Errors/StytchSDKError.swift
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -173,7 +173,7 @@ public class StytchSDKNotConfiguredError: StytchSDKError {
173
173
init(clientName:String){
174
174
self.clientName = clientName
175
175
super.init(
176
-
message:"\(clientName) not yet configured. Must include a `StytchConfiguration.plist` in your main bundle or call `\(clientName).configure(publicToken:hostUrl:)` prior to other \(clientName) calls.",
176
+
message:"\(clientName) not yet configured. Must include a `StytchConfiguration.plist` in your main bundle or call `\(clientName).configure(publicToken:)` prior to other \(clientName) calls.",
Copy file name to clipboardExpand all lines: Sources/StytchCore/SharedModels/StytchClientConfiguration.swift
-19Lines changed: 0 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,6 @@ public struct StytchClientConfiguration: Equatable, Codable {
7
7
case publicToken ="StytchPublicToken"
8
8
case defaultSessionDuration
9
9
case enableAutomaticSessionExtension
10
-
case hostUrl ="StytchHostURL"
11
10
case dfppaDomain ="StytchDfppaDomain"
12
11
case testDomain ="StytchTestDomain"
13
12
case liveDomain ="StytchLiveDomain"
@@ -16,7 +15,6 @@ public struct StytchClientConfiguration: Equatable, Codable {
16
15
publicletpublicToken:String
17
16
publicletdefaultSessionDuration:Minutes
18
17
publicletenableAutomaticSessionExtension:Bool
19
-
publiclethostUrl:URL?
20
18
publicletdfppaDomain:String?
21
19
publiclettestDomain:String
22
20
publicletliveDomain:String
@@ -28,9 +26,6 @@ public struct StytchClientConfiguration: Equatable, Codable {
28
26
- defaultSessionDuration: The default session length in minutes, must be less than or equal to the value set in the Stytch Dashboard (Frontend SDKs > Session duration).
29
27
Applies to all authentication calls unless explicitly overridden, defaults to 5 minutes.
30
28
- enableAutomaticSessionExtension: If true, the session heartbeat will attempt to extend the session duration instead of only checking the validity.
31
-
- hostUrl: Generally this is your backend's base url, where your apple-app-site-association file is hosted.
32
-
This is an https url which will be used as the domain for setting session-token cookies to be sent to your servers on subsequent requests.
33
-
If not passed here, no cookies will be set on your behalf.
34
29
- dfppaDomain: The domain that should be used for DFPPA
35
30
- testDomain: The custom domain to use for Stytch API calls for test projects
36
31
- liveDomain: The custom domain to use for Stytch API calls for live projects
@@ -39,15 +34,13 @@ public struct StytchClientConfiguration: Equatable, Codable {
0 commit comments