github AzureAD/azure-activedirectory-library-for-objc 4.0.3

latest releases: 6.0.5, 6.0.4, 6.0.3...
4 years ago
  • Support iOS broker in combination with UIScene delegates on iOS 13

If you adopted UISceneDelegate, you must also add an ADAL callback into the scene:openURLContexts: method.

This is needed so that ADAL can get a response from the Microsoft Authenticator application.

For example:

 - (void)scene:(UIScene *)scene openURLContexts:(NSSet<UIOpenURLContext *> *)URLContexts
 {
     UIOpenURLContext *context = URLContexts.anyObject;
     NSURL *url = context.URL;
     NSString *sourceApplication = context.options.sourceApplication;
     
     [ADAuthenticationContext handleADALResponse:url sourceApplication:sourceApplication];
 }

If you're not using UISceneDelegate functionality yet, you can ignore this step.

  • ADTokenCache threading improvements

See additional considerations about this release

Don't miss a new azure-activedirectory-library-for-objc release

NewReleases is sending notifications on new releases.