SteveSandersonMS / WebWindow

.NET Core library to open native OS windows containing web UI on Windows, Mac, and Linux. Experimental.
Apache License 2.0
1.99k stars 214 forks source link

Added EventHandler for UriChanging #44

Closed malscent closed 4 years ago

malscent commented 4 years ago

Added functionality to add an event handler for URI Changes.

This allows for usage of WebWindow in an OAuth context to capture the redirect URI for the Authorization Code flow.

Added functionality and tested for Windows (Win10), Linux (Ubuntu 19.10) and OSX (10.14 Mojave)

malscent commented 4 years ago

Thanks for contributing this, @malscent! It looks like really good functionality.

Before I merge this, would you be willing to take a further pass through the PR and address the comments I've posted? Thanks again!

Absolutely, I'll get it straightened out today. The only one that I'll need to really dig into is the strlen. def not my area of expertise, but i'll see what I can find out.