Password
OTP
Biométrie
L'auteur principal de OAuth 2.0, Eran Hammer, s'est retiré du projet et a demandé à ce que son nom soit supprimé de la spec.
Ceci n'est pas un tas de macarons
identifier : lien vers le secret
location : URL
signature : HMAC(secret, identifier)
> let m = create "random secret key"
"we used our secret"
"http://filecloud.com"
> inspect m
location "http://filecloud.com"
identifier "we used our secret"
signature "ACD99D7B0A278FB85657E9E4972F4BF69C78A1FBFE748FBBABCBA46EC0BED397"
Permissif
Root token
> secret m
"ACD99D7B0A278FB85657E9E4972F4BF69C78A1FBFE748FBBABCBA46EC0BED397"
> let m'= addFirstPartyCaveat "account = alice" m
> inspect m'
location "http://filecloud.com"
identifier "we used our secret"
cid "account = alice"
signature "48D0DA8B1191F503434EF9D01ECE5140F31C5AA3FD525E69DBCFC8CB34D59FD4"
> let m'' = addFirstPartyCaveat "account = bob" m
> inspect m''
location "http://filecloud.com"
identifier "we used our secret"
cid "account = bob"
signature "A729B1C69979EB4D40B04674C3E698D32FEB1DD0C88C0BC311EDC0B5258D3E49"
sig = HMAC(secret,identifier)
sig' = HMAC(sig,cid)
Partagé entre nous et le service tiers
encrypt(sig,caveat_key)
M
verify(cid)
D = macaron@(cl,caveat_key, identifier)
D
est lié à M
: D' = bind(D,M)
M
est envoyé avec D'
/