Skip to content

sk8tz/OAuthManager-Xamarin

Repository files navigation

OAuthManager-Xamarin

Usage:

var oAuth = new OAuth2WebServerFlow(ClientId, ClientSecret, CallbackUrl, Scope, 
                                    AuthorizationUrl, AccessTokenUrl);
                                    
OAuthUiBroker.ShowOAuthView(oAuth);

OAuthUiBroker.OnAuthenticated += async (sender, args) => {
  await Application.Current.MainPage.DisplayAlert("Message", "Access Token: " + args.AccessToken + 
                          "\nRefreshToken: " + args.RefreshToken + 
                          "\nExpires In: " + args.ExpiresIn, "OK");
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages