Skip to content
Myr

refactor(utils/basic-auth): Moved Internal function to utils (#3359)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

* refactor(utils/basic-auth): Split the code into utils * remove: dependency on HonoRequest

authored by sugar · committed by GitHub · parent fa19540 · Browse files · 3 files+85 added−25 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+85 added−25 removed

  • tests:+57 added−0 removed
  • other:+28 added−25 removed

3 files+85 added−25 removed

modified:src/middleware/basic-auth/index.ts+2 added-25 removed
added:src/utils/basic-auth.test.ts+57 added
added:src/utils/basic-auth.ts+26 added