Skip to content

mspratap6/MvvX.Plugins.OauthClient

 
 

Repository files navigation

MvvX.Plugins.OAuthClient

OAuth client for MvvMCross

Build

Build status

Nuget

NuGet package

How to use it ?

Create an instance of IOAuthClient with Mvx.Resolve();

WPF

Configure it with the New method :

var auth = Mvx.Resolve<IOAuthClient>();
auth.New(this,
    "temporaryKey",
    "<client_id>",
    "<client_secret>",
    "",
    new Uri("<authorization_uri>"),
    new Uri("<redirect_uri>"),
    new Uri("<token_uri>"));

You can configure the MaxWidth and MaxHeight of the popin by adding app settings in your app.config file :

  <appSettings>
    <add key="MvvX.Plugins.IOAuthClient.Wpf.Window.MaxWidth" value="800"/>
    <add key="MvvX.Plugins.IOAuthClient.Wpf.Window.MaxHeight" value="600"/>
  </appSettings>

MvvX.Plugins.IOAuthClient.Wpf.Window.MaxWidth key corresponds to the MaxWidth

MvvX.Plugins.IOAuthClient.Wpf.Window.MaxHeight key corresponds to the MaxHeight

Android

To do

iOS

To do

About

OAuth client for MvvMCross

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 98.4%
  • PowerShell 1.2%
  • Pascal 0.4%