TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
arvind baldaniya
NA
339
140.8k
AccessTockenUrl is null
May 5 2017 2:22 AM
AccessTockenUrl is null how to Login google without webview
public class ServerInfo
{
public static Uri AuthorizationEndpoint = new Uri("http://xamuath.azurewebsites.net/oauth/authorize");
public static Uri TokenEndpoint = new Uri("http://xamuath.azurewebsites.net/oauth/token");
public static Uri ApiEndpoint = new Uri("http://xamuath.azurewebsites.net/api/whoami");
public static Uri RedirectionEndpoint = new Uri("http://www.xamarin.com");
public static string ClientId = "129890716-tlcae38h8k4va7so4kq25theeiml1iv8.apps.googleusercontent.com";
public static string ClientSecret = "Qt3jLqJn65034gfacHB3AX";
}
public void Button_Login_Google(object sender, EventArgs e)
{
OAuth2Authenticator authenticator = new OAuth2Authenticator
(
ServerInfo.ClientId,
Scope,
ServerInfo.AuthorizationEndpoint,
ServerInfo.RedirectionEndpoint,
null,
isUsingNativeUI: native_ui
);
authenticator.Completed += OnAuthCompleted;
authenticator.Error += OnAuthError;
var presenter = new Xamarin.Auth.Presenters.OAuthLoginPresenter();
presenter.Login(authenticator);
return;
}
Attachment:
MyError.rar
Reply
Answers (
0
)
how to create sqldatasource for dropdownlist into gridview
How to allow multithreading to generate 100000 datamatrix 2d