public OAuthPasswordApi (string identifier, string clientId, string clientSecret, string serverUrl, string tokenUrl, string refreshUrl) : base (identifier, clientId, clientSecret, tokenUrl, refreshUrl) { BaseAddress = new Uri (serverUrl); Scopes = new [] { "null" }; #if __IOS__ CurrentShowAuthenticator = (auth) => { var invoker = new Foundation.NSObject(); invoker.BeginInvokeOnMainThread(() => { var controller = new BasicAuthController(auth); controller.Show(); }); }; #endif }
partial void LoginAction(Foundation.NSObject sender);
partial void ClickedButton(Foundation.NSObject sender) { // Update counter and label ClickedLabel.StringValue = string.Format("The button has been clicked {0} time{1}.", ++numberOfTimesClicked, (numberOfTimesClicked < 2) ? "" : "s"); }
partial void MoreAction(Foundation.NSObject sender);
partial void EvalScript (Foundation.NSObject sender);
partial void HeaderViewClicked(Foundation.NSObject sender);
partial void AddFaceAction(Foundation.NSObject sender);
partial void OnNextBookmarkClicked(Foundation.NSObject sender) { model.OnNextBookmarkButtonClicked(); }
partial void IBDateTimeDoneClicked(Foundation.NSObject sender);
partial void IBAccountDoneClicked(Foundation.NSObject sender);
partial void OnRefresh(Foundation.NSObject sender) { RefreshDataFromServer(null); }
partial void OnConnect(Foundation.NSObject sender);
partial void BtnOperator(Foundation.NSObject sender);
partial void BtnNum(Foundation.NSObject sender);
partial void BtnEqual(Foundation.NSObject sender);
partial void OnPrevUserActionClicked(Foundation.NSObject sender) { model.OnPrevUserEventButtonClicked(); }
partial void IBEntityDoneClicked(Foundation.NSObject sender);
partial void OnCurrentTimeClicked(Foundation.NSObject sender) { model.OnFindCurrentTimeButtonClicked(); }
partial void IBSearchBtnClicked(Foundation.NSObject sender);
partial void ChooseImageAction(Foundation.NSObject sender);
partial void CancelButtonClick(Foundation.NSObject sender);
partial void FindProduct(Foundation.NSObject sender) { UpdateDataSource(FindField.StringValue); }
partial void DeleteButtonClick(Foundation.NSObject sender);
partial void LessAction(Foundation.NSObject sender);
partial void OKButtonClick(Foundation.NSObject sender);
partial void StartStopAction(Foundation.NSObject sender);
partial void didClickConfirmButton(Foundation.NSObject sender);
partial void start_volt_button(Foundation.NSObject sender);
partial void OnPing(Foundation.NSObject sender) { }
partial void OnZoomOutClicked(Foundation.NSObject sender) { model.OnZoomOutButtonClicked(); }
partial void BtnClear(Foundation.NSObject sender);