protected override AuthorizationResult OnAuthenticate() { AuthorizationResult result; using (var dialog = new WindowsFormsWebAuthenticationDialog(this.OwnerWindow)) { result = dialog.AuthenticateAAD(this.RequestUri, this.CallbackUri); } return(result); }
protected override AuthorizationResult OnAuthenticate() { AuthorizationResult result; using (_dialog = new WindowsFormsWebAuthenticationDialog(OwnerWindow) { RequestContext = RequestContext }) { result = _dialog.AuthenticateAAD(RequestUri, CallbackUri); } return(result); }