Skip to content

service that allows you to send requests (including OAuth and Basic Auth) and parse the response in one step and removing all the retry logic, encoding, serialization, refreshing tokens.

License

ZuechB/Authsome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Authsome

This project is no longer maintained

Nuget

  1. .net Standard: https://www.nuget.org/packages/Authsome
  2. Portable: https://www.nuget.org/packages/Authsome.Portable

Method Example:

Return / Response


var response = await authsome.GetAsync("https://www.bing.com/HPImageArchive.aspx?format=js&idx=0&n=1&mkt=en-US");
if (response.httpStatusCode == System.Net.HttpStatusCode.OK)
{
    var image = response.Content.images.FirstOrDefault();
    Console.WriteLine("image url" + image.url);
}
else
{
    Console.WriteLine(response.httpStatusCode.ToString() + " - " + response.ErrorJson);
}

*** Look at CoreConsoleApp within the solution to see an example of how to generate an invoice within Quickbooks online.

About

service that allows you to send requests (including OAuth and Basic Auth) and parse the response in one step and removing all the retry logic, encoding, serialization, refreshing tokens.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages