You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: MSAL/src/public/MSALWebviewParameters.h
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -44,10 +44,10 @@ NS_ASSUME_NONNULL_BEGIN
44
44
#pragma mark - Configuration options
45
45
46
46
/**
47
-
The view controller to present from. If nil, MSAL will attempt to still proceed with the authentication, but the results will be unexpected.
48
-
It is strongly recommended to provide a non-null parentViewController to avoid unexpected results.
47
+
The view controller to present from. This property must be valid. If nil is provided, or if the view controller is not attached to a window (i.e., parentViewController.view.window is nil), MSAL will return an error and will not proceed with authentication.
48
+
It is required to provide a valid parentViewController with a window to proceed with authentication.
Creates an instance of MSALWebviewParameters with a provided parentViewController.
86
-
@param parentViewController The view controller to present authorization UI from.
87
-
@note parentViewController is mandatory on iOS 13+ and macOS 10.15+. Your app will experience unexpected results if parentViewController is not provided.
86
+
@param parentViewController The view controller to present authorization UI from. This property must be valid
87
+
@note parentViewController is mandatory on iOS 13+ and macOS 10.15+. If nil is provided, or if the view controller is not attached to a window (i.e., parentViewController.view.window is nil), MSAL will return an error and authentication will not proceed. It is required to provide a valid parentViewController with a window to proceed with authentication.
0 commit comments