From fc784ccc0f73de1a29ccd444bbf518a4703099c8 Mon Sep 17 00:00:00 2001 From: Gustavo <11652547+gofeuer@users.noreply.github.com> Date: Thu, 8 Aug 2024 08:52:35 -0300 Subject: [PATCH] Spelling --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4b22cd2..f2f3ecb 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ To use L402 Core you need to provide the L402 middleware a couple of components: ### An implementation of `l402.MacaroonMinter` -The minter is used by the authorization handler to provide the user a new set of macaroons and an invoice. +The minter is used by the authentication handler to provide the user a new set of macaroons and an invoice. ```go type YourMacaroonMinter struct { @@ -66,7 +66,7 @@ func (m YourMacaroonMinter) MintWithChallenge(r *http.Request) (string, l402.Cha ID: id, // An unique ID assigned to this macaroon }) - rootKey := []byte("{secret_key}") // A secret key that is used to singn and verify your macaroons + rootKey := []byte("{secret_key}") // A secret key that is used to sign and verify your macaroons // Create a macaroon that when paid gives access to the resouce requested by: (r *http.Request) mac, _ := macaroon.New(rootKey, macaroonID, "", macaroon.LatestVersion)