-
Notifications
You must be signed in to change notification settings - Fork 1.1k
feat(iOS): Allow plugins to hook into handling WebView URL authentication challenges #8216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
theproducer
wants to merge
20
commits into
main
Choose a base branch
from
RMET-4519
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+49
−1
Open
Changes from 18 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
8488c75
Starting on ssl pinning in core on iOS
theproducer e2dc25b
Move iOS SSL pinning into a core plugin
theproducer 7cab068
Integrating SSLPinning with CapacitorHttp
theproducer 12bdbf9
Starting on Android SSL Pinnin core plugin
theproducer 05ab8c2
Integrating core SSL pinning with CapacitorHttp
theproducer 1cdbedf
fmt
theproducer 00c6d71
fmt
theproducer 12fb55c
Merge branch 'main' into RMET-4519
theproducer 2178078
Adding new handleWKWebViewURLAuthenticationChallenge plugin method
theproducer 04c1c12
Removing SSL Plugin plugin from core
theproducer c9cb8b4
Making sure cert copy works with open sourced SSL pinning plugin
theproducer fcd32b5
Removing Android SSL Pinning plugin from core
theproducer d7a6753
fmt
theproducer 024e289
fmt
theproducer 95cb948
Merge branch 'main' into RMET-4519
theproducer ebacd63
Add documentation to handleWKWebViewURLAuthenticationChallenge
theproducer d545f26
more adjustments
theproducer 1f0b878
Merge branch 'main' into RMET-4519
theproducer 61e978d
Merge branch 'main' into RMET-4519
theproducer bf78dac
Sending the challenge and completionHandler to plugins
theproducer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,9 @@ | ||
| @objc public class PluginURLAuthChallenge: NSObject { | ||
| public var disposition: URLSession.AuthChallengeDisposition = .performDefaultHandling | ||
| public var credential: URLCredential? | ||
|
|
||
| public init(disposition: URLSession.AuthChallengeDisposition, credential: URLCredential?) { | ||
| self.disposition = disposition | ||
| self.credential = credential | ||
| } | ||
| } |
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.