151 up and running baby

This commit is contained in:
Henry Ault 2016-02-22 17:50:21 -08:00
parent d146f1d9e4
commit c16488d6af
3 changed files with 10 additions and 10 deletions

View File

@ -15,7 +15,7 @@
:: for webhook-powered event notifications. For event list,
:: see https://developer.github.com/webhooks/.
::
:: See the %github app for example usage.
:: See the%github app for example usage.
::
/? 314
/- rfc, gmail-label

View File

@ -8,26 +8,26 @@
!:
[sole .]
:- %ask
|= $: [now=@da eny=@uvI bec=beak]
[arg=$|(~ [dom=path ~])]
~
|= $: {now/@da eny/@uvI bec/beak}
{arg/$@($~ {dom/path $~})}
$~
==
^- (sole-result ,[%write-sec-atom p=host q=@])
^- (sole-result {$write-sec-atom p/host q/@})
=- ?~ arg -
(fun.q.q [%& dom.arg])
%+ sole-lo
[%& %oauth-hostname "api hostname: https://"]
%+ sole-go thos:urlp
|= hot=host
?: ?=(%| -.hot)
|= hot/host
?: ?=($| -.hot)
~|(%ips-unsupported !!)
%+ sole-lo
[%& %oauth-client "client id: "]
%+ sole-go (boss 256 (star prn))
|= cid=@t
|= cid/@t
%+ sole-lo
[%& %oauth-secret "client secret: "]
%+ sole-go (boss 256 (star prn))
|= cis=@t
|= cis/@t
%+ sole-so %write-sec-atom :: XX typed pair
[hot (role cid cis ~)]

View File

@ -34,7 +34,7 @@
++ token ?(~ @t)
++ refresh {tok/token needed/@da pending/_`?`|}
++ keys cord:{cid/@t cis/@t}
++ core-move |*(a/* $&([sec-move _a] sec-move))
++ core-move |*(a/* $&({sec-move _a} sec-move)) ::here's a change
++ decode-keys :: XX from bale w/ typed %jael
|=(key/keys ((hard {cid/@t cis/@t $~}) (lore key)))
--