-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MBL-1158: Add stub for presenting OAuth login controller when feature…
… flag is enabled
- Loading branch information
1 parent
905c9d7
commit 856d19c
Showing
3 changed files
with
38 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import Foundation | ||
|
||
public struct OAuth { | ||
public init() {} | ||
|
||
public static let redirectScheme = "ksrauth2" | ||
public static func authorizationURL() -> URL { | ||
let base = AppEnvironment.current.apiService.serverConfig.webBaseUrl | ||
// TODO: MBL-1159: This will take URL parameters, as defined in the ticket, for PKCE | ||
return base | ||
} | ||
} |