简体   繁体   中英

dotnetopenauth and google login without redirection

I'm trying to use dotnetopenauth to check if user have an account in gmail. If the password and username is corrent, I want my application to show the user some information. However all examples I found of dotnetopenauth require redirection to gmail login page. Is there any way to just pass login and password parameters to some function and check if it is possible to login with this credentials? I'm writing a desktop application that is why I don't want redirection.

 Google.GData.Client.RequestSettings rsLoginInfo = new Google.GData.Client.RequestSettings("", txtEmail.Text, txtPassword.Text);

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM