CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Wed, 20 Aug 2025 23:54:54 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20080803214840
location: https://web.archive.org/web/20080803214840/https://github.com/tim/erlang-oauth/tree/master
server-timing: captures_list;dur=0.573752, exclusion.robots;dur=0.019928, exclusion.robots.policy;dur=0.009213, esindex;dur=0.009675, cdx.remote;dur=50.563294, LoadShardBlock;dur=180.526098, PetaboxLoader3.datanode;dur=90.176636, PetaboxLoader3.resolve;dur=57.936355
x-app-server: wwwb-app210
x-ts: 302
x-tr: 272
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app210; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Wed, 20 Aug 2025 23:54:55 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.31
x-archive-orig-date: Sun, 03 Aug 2008 21:48:40 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-x-runtime: 0.92133
x-archive-orig-etag: "e86a60a1874d68ba14d210073840ffa3"
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 15256
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sun, 03 Aug 2008 21:48:40 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sat, 24 May 2008 01:20:03 GMT", ; rel="prev memento"; datetime="Sat, 24 May 2008 01:20:03 GMT", ; rel="memento"; datetime="Sun, 03 Aug 2008 21:48:40 GMT", ; rel="next memento"; datetime="Thu, 05 Nov 2009 12:56:39 GMT", ; rel="last memento"; datetime="Mon, 15 Apr 2024 20:15:51 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_4_20080803194655_crawl101-c/51_4_20080803213955_crawl103.arc.gz
server-timing: captures_list;dur=0.465970, exclusion.robots;dur=0.017231, exclusion.robots.policy;dur=0.007348, esindex;dur=0.009997, cdx.remote;dur=326.759091, LoadShardBlock;dur=263.966253, PetaboxLoader3.datanode;dur=129.316600, PetaboxLoader3.resolve;dur=274.680980, load_resource;dur=227.330377
x-app-server: wwwb-app210
x-ts: 200
x-tr: 865
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
tim's erlang-oauth at master — GitHub
This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (

This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (

Description: | An Erlang wrapper around the OAuth protocol |
Homepage: | https://tfletcher.com/dev/erlang-oauth |
Clone URL: |
git://github.com/tim/erlang-oauth.git
Give this clone URL to anyone.
git clone git://github.com/tim/erlang-oauth.git
|
Search Repo: |
name | age | message | |
---|---|---|---|
![]() |
.gitignore | Fri May 16 07:51:38 -0700 2008 | Initial commit. [tim] |
![]() |
EMakefile | Fri May 16 07:51:38 -0700 2008 | Initial commit. [tim] |
![]() |
License.txt | Fri May 16 07:51:38 -0700 2008 | Initial commit. [tim] |
![]() |
Makefile | Fri May 16 07:51:38 -0700 2008 | Initial commit. [tim] |
![]() |
README.txt | Sun Jun 22 14:49:15 -0700 2008 | Small correction to the README. [tim] |
![]() |
src/ | Sun Jun 22 14:47:58 -0700 2008 | Fix broken post functions. [tim] |
README.txt
============ erlang-oauth ============ What is this? ------------- An Erlang wrapper around the OAuth protocol. What is OAuth? -------------- An "open protocol to allow secure API authentication in a simple and standard method from desktop and web applications". See https://oauth.net/ for more info. What do I need? --------------- Erlang, and erlang-fmt (https://tfletcher.com/dev/erlang-fmt). The Makefile assumes that erlang-fmt is contained in the parent directory of this one, so you might want to edit the Makefile if you have it elsewhere. How do I use it? ---------------- The crypto and inets applications need to be running, and---as it's easy to forget---all the code needs to be compiled. A typical authentication flow would be similar to the following: ConsumerKey = "key", ConsumerSecret = "secret", SignatureMethod = "HMAC-SHA1", Consumer = oauth_consumer:new(ConsumerKey, ConsumerSecret, SignatureMethod), {ok, RequestTokens} = oauth:tokens(oauth:get(RequestTokenURL, Consumer)), % If necessary, direct user to the Service Provider, % with Token = oauth:token(RequestTokens). {ok, AccessTokens} = oauth:tokens(oauth:get(AccessTokenURL, Consumer, RequestTokens)), oauth:get(ProtectedResourceURL, Consumer, AccessTokens, ExtraParams). Calling oauth:get or oauth:post returns an HTTP response tuple, as returned from http:request/4. Type "make termie", or look at oauth_test:termie/0 for a working example. Thanks Andy! Alternatively, you can use oauth_request:header/6 to generate an HTTP Authorization header, as described by https://oauth.net/core/1.0/#auth_header. This isn't (currently) integrated into oauth:get and oauth:post, so you would need to use http:request/4 directly in this case. Who can I contact if I have another question? --------------------------------------------- Tim Fletcher (https://tfletcher.com/).
This feature is coming soon. Sit tight!