private async void LogoutButton_Clicked(object sender, EventArgs e) { AzureADAuth auth = new AzureADAuth(); auth.ClearCache(); auth.AuthenticateUser(); }
public void Init() { auth.ClearCache(); ContentPage content = new ContentPage { Title = "PCL Electronic Onboarding", Content = new StackLayout { VerticalOptions = LayoutOptions.Center, Children = { new ActivityIndicator() { IsRunning = true, Color = Color.Black } } } }; MainPage = content; }