private async Task HandleLogin(OAuth2ServiceBase service)
 {
     this.User = await service.Login();
     if (this.User.IsValid)
     {
         AuthorizedUser.Instance.Store(this.User, service);
     }
 }
        private async Task HandleLogin(OAuth2ServiceBase service)
        {
            this.User = await service.Login();

            if (this.User.IsValid)
            {
                AuthorizedUser.Instance.Store(this.User, service);
            }
        }
예제 #3
0
 private async void Login()
 {
     this.User = await oAuth2Service.Login();
 }