liboauth

C library implementing OAuth Core RFC 5849 standard for authentication

brewmacoslinux
Try with needOr install directly
Source

About

C library for the OAuth Core RFC 5849 standard

Commands

liboauth

Examples

Generate OAuth signature for API request$ oauth_sign_request2 --consumer-key KEY --consumer-secret SECRET --token TOKEN --token-secret TSECRET GET http://api.example.com/endpoint
Encode parameters for OAuth request$ oauth_url_escape 'hello world' | oauth_b64_encode
Verify OAuth signature in received request$ oauth_verify_signature REQUEST_TOKEN CONSUMER_SECRET TOKEN_SECRET SIGNATURE