mirror of
https://github.com/urbit/shrub.git
synced 2024-12-14 11:08:45 +03:00
9 lines
254 B
Plaintext
9 lines
254 B
Plaintext
!:
|
|
=+ keys=@t
|
|
|= bal/(bale keys)
|
|
?~ key.bal
|
|
~|(%basic-auth-no-key ~_(leaf+"Run |init-auth-basic {<`path`dom.bal>}" !!))
|
|
=+ aut=authorization+(cat 3 'Basic ' key.bal)
|
|
~& aut=`{@tas @t}`aut
|
|
|=(a/hiss [%send %_(a q.q (~(add ja q.q.a) -.aut +.aut))])
|