mirror of
https://github.com/urbit/shrub.git
synced 2024-11-30 01:33:53 +03:00
oauth2 names
This commit is contained in:
parent
b7193da158
commit
dbc802a99b
@ -2,10 +2,12 @@
|
||||
::
|
||||
:::: /hoon/oauth2/lib
|
||||
::
|
||||
/+ hep-to-cab, interpolate
|
||||
/+ hep-to-cab, interpolate, old-zuse
|
||||
=, old-zuse
|
||||
=, eyre
|
||||
=, mimes:html
|
||||
=, html
|
||||
=, format
|
||||
|%
|
||||
++ parse-url parse-url:interpolate
|
||||
++ join
|
||||
@ -32,6 +34,21 @@
|
||||
(need (;~(biff de-json b) q:(need r.a)))
|
||||
--
|
||||
::
|
||||
::::
|
||||
::
|
||||
:: XX belongs back in zuse
|
||||
|%
|
||||
++ pack :: light path encoding
|
||||
|= {a/term b/path} ^- knot
|
||||
%+ rap 3 :- (wack a)
|
||||
(turn b |=(c/knot (cat 3 '_' (wack c))))
|
||||
::
|
||||
++ pick :: light path decoding
|
||||
=+ fel=(most cab (sear wick urt:ab))
|
||||
|=(a/knot `(unit {p/term q/path})`(rush a fel))
|
||||
::
|
||||
--
|
||||
::
|
||||
::::
|
||||
::
|
||||
|%
|
||||
|
Loading…
Reference in New Issue
Block a user