Skip to content

sjmelia/OAuth.Client

Repository files navigation

OAuth Client

Build Status nuget

A minimal dotnetcore library for authorising against OAuth services, useful for e.g. connecting to the Twitter API.

Usage

Grab your oAuth credentials and create an OAuthConfig instance; then best used as an additional handler for HttpClient:

using ArrayOfBytes.OAuth.Client;

...

var config = new OAuthConfig(...);
var handler = new OAuthHttpMessageHandler(config);
this.client = new HttpClient(handler);

Subsequent requests will have an Authorization: OAuth ... header. For further examples; have a look at TeensyTwitter which uses this library.

About

Minimal implementation of OAuth 1.0 for dotnetcore; with an HttpClient MessageHandler.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published