From 1c2173caacacd27095785e6712443436e491fd07 Mon Sep 17 00:00:00 2001 From: Zhaofeng Li Date: Sun, 8 Jan 2023 00:57:22 -0700 Subject: [PATCH] token: Update comments to reflect actual implementation --- token/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/token/src/lib.rs b/token/src/lib.rs index fd46dbc..117a763 100644 --- a/token/src/lib.rs +++ b/token/src/lib.rs @@ -1,11 +1,11 @@ //! Access control. //! //! Access control in Attic is simple and stateless [0] - The server validates -//! the JWT against a trusted public key and allows access based on the -//! `x-attic-access` claim. +//! the JWT against a HS256 key and allows access based on the `https://jwt.attic.rs/v1` +//! claim. //! //! One primary goal of the Attic Server is easy scalability. It's designed -//! to be deployed to serverless platforms like AWS Lambda and have fast +//! to be deployed to serverless platforms like fly.io and have fast //! cold-start times. Instances are created and destoyed rapidly in response //! to requests. //!