DEV Community


Discussion on: Good Bye Web APIs

mvila profile image
Manuel Vila Author

Conceptually, authentication works the same as with typical web APIs. Instead of passing a token through a cookie or an HTTP header, you pass it through a static class attribute. You can find an example of implementation here:

About security concerns, you can expose your Layr backend through HTTPS.