AppAuth-iOS
AppAuth-iOS copied to clipboard
Update OIDRedirectHTTPHandler.h
fix macOS startHTTPListener memory crash if there is an error and return nil URL
related issue: https://github.com/openid/AppAuth-iOS/issues/107 When there is a starting error happened, the Swift call to startHTTPListener will crash, because of the return URL is nullable but the interface announce it nonnull.
The right behavior should throw an SwiftError. after this fix, the Swift call to startHTTPListener will be right to handle the error.