Skip to content

A portable class library that provides a UI for OAuth authentication on desktop and mobile platforms.

License

Notifications You must be signed in to change notification settings

993544899/OAuthUI

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OAuthUI

A portable class library that provides a UI for OAuth authentication on desktop and mobile platforms.

Note that OAuthUI handles only the UI aspects of OAuth, i.e. it displays a page in an embedded web browser and waits for redirection to the specified URI. Constructing the start URI and parsing the result URI is application-specific and outside the scope of this library.

Usage

var handler = new OAuthUIHandler();
var result = await handler.AuthorizeAsync(startUri, redirectUri);
if (result.Status == OAuthStatus.Success)
{
    // Parse the URI in result.Data to get the authorization code
}

About

A portable class library that provides a UI for OAuth authentication on desktop and mobile platforms.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 99.0%
  • Batchfile 1.0%