Created
April 25, 2020 22:16
-
-
Save yuchung-chuang/1364da0838c460a62491ead72c007b24 to your computer and use it in GitHub Desktop.
For authentication
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
import MSAL | |
func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool { | |
guard let sourceApplication = options[UIApplication.OpenURLOptionsKey.sourceApplication] as? String else { | |
return false | |
} | |
return MSALPublicClientApplication.handleMSALResponse(url, sourceApplication: sourceApplication) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment