public override void ViewWillAppear(bool animated) { base.ViewWillAppear(animated); if (accountKit == null) { accountKit = new AccountKit(ResponseType.AccessToken); } RequestAccountHandler handler = AccountHandlerDelegate; accountKit.RequestAccount(handler); }
public override void ViewDidLoad() { base.ViewDidLoad(); // Perform any additional setup after loading the view, typically from a nib. if (accountKit == null) { accountKit = new AccountKit(ResponseType.AccessToken); //Or use Code } pendingLoginViewController = accountKit.GetViewControllerForLoginResume(); fbtcs = new TaskCompletionSource <string>(); }
public void GetCurrentAccount() { AccountKit.GetCurrentAccount(this); }
public void Logout() { AccountKit.LogOut(); }