예제 #1
0
        private async void LogoutButton_Clicked(object sender, EventArgs e)
        {
            AzureADAuth auth = new AzureADAuth();

            auth.ClearCache();
            auth.AuthenticateUser();
        }
예제 #2
0
        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;
        }