In this document, we outline the design for a Lightning Service Authentication Token (LSAT) for future services created by Lightning Labs. This specification is open source, with contributions accepted at our LSAT specification repository. LSATs are a new standard protocol for authentication and paid APIs developed by Lightning Labs. LSATs can serve both as authentication, as well as a payment mechanism (one can view it as a ticket) for paid APIs. In order to obtain a token, we require the user to pay us over Lightning in order to obtain a pre-image, which itself is a cryptographic component of the final LSAT token.
The implementation of the authentication token is chosen to be macaroons, as they allow us to package attributes and capabilities along with the token. This system allows us to automate pricing on the fly and allows for a number of novel constructs such as automated tier upgrades. In another light, this can be viewed as a global HTTP 402 reverse proxy at the load balancing level for all our services.
Sign up now to get your own personalized crypto world!Sign up
<iframe src="https://embed.block123.com/embed/s/253244073264.htm" style="border: none;" width="490" height="164" frameborder="0" scrolling="no" allowfullscreen></iframe>
- Matataki Find your partners in a wink, maximize the creativity for communities.
- Paybase Raising the bar of what payments can and should do!
- Chris Wessels Technical Lead at ConsenSys.
- Crypto Coinference The first Italian conference totally dedicated to crypto currencies.
- Amelia Tomasicchio Co-Founder and Editor in Chief at The Cryptonomist.
- This Week in Crypto Stay Woke Anywhere You Podcast.
- Christopher Whinfrey Co-Founder at Authereum.
- DAppLadies Creating a community of women in technology.
- Upstate Interactive The right software can change everything.
- Kseniya Lifanova Co-Founder, Partner, Smart Contract Developer at Upstate Interactive LLC.