An implementation of OAuth 1.0a, as per RFC 5849.

The client portion is designed for use with the http package. The server portion is designed to work with the dart:io HttpServer class.

Supports only HMAC-SHA1 signatures. In practice, RSA-SHA1 signatures are rare and most users have switched to OAuth 2. PLAINTEXT signatures are also not supported, and hopefully less common.

Comes with a test suite. Please report any incompatibility issues.

Libraries

oauth

A convinience library providing both client and server support for OAuth 1.0a.

oauth.client

Client support for OAuth 1.0a with http.BaseClient

oauth.server

Server support for OAuth 1.0a with the dart:io HttpServer