hedgedoc/backend
Erik Michelson 2c6717e1ee refactor(api-token): drop passport, rename to ApiToken
We don't need a library that requires as much boilerplate code as
writing the AuthGuard ourselves, especially since the token validation
was already custom code by us.

The previous name PublicAuthToken was a bit misleading, since PublicAuth
 could also be interpreted as being used for the public frontend in
contrast to the API. The old name before that (AuthToken) wasn't better
since it wasn't clear what type of auth is meant. I know, this is the
second renaming of the same module in less than a month. However, I
would say the name ApiToken seems rather reasonable and understandable.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2024-09-18 19:14:32 +02:00
..
docker
public
src refactor(api-token): drop passport, rename to ApiToken 2024-09-18 19:14:32 +02:00
test refactor(api-token): drop passport, rename to ApiToken 2024-09-18 19:14:32 +02:00
.editorconfig
.env
.eslintrc.js
.gitignore
.prettierrc.json
.prettierrc.json.license
CHANGELOG.md
eslint-local-rules.js
jest-e2e.json
jest-e2e.json.license
nest-cli.json
nest-cli.json.license
package.json refactor(api-token): drop passport, rename to ApiToken 2024-09-18 19:14:32 +02:00
package.json.license
tsconfig.build.json
tsconfig.build.json.license
tsconfig.json
tsconfig.json.license