urbit/lib/basic-auth.hoon
Philip C Monk d285cc5055 151ization complete
Conflicts:
	Makefile
2016-02-18 19:12:31 -05:00

7 lines
164 B
Plaintext

!:
=+ keys=@t
|= bal/(bale keys)
=+ aut=authorization+(cat 3 'Basic ' key.bal)
~& aut=`{@tas @t}`aut
|=(a/hiss [%send %_(a q.q (~(add ja q.q.a) -.aut +.aut))])