• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

yylego / kratos-static-auth
99%
main: 99%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.0.3
DEFAULT BRANCH: main
Repo Added 12 Mar 2026 12:21PM UTC
Token FxhgrWiJHrp1U0e8Y1Bdd7N9fJm6932Cg regen
Build 8 Last
Files 2
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH refs/tags/v0.0.3
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • main
  • refs/tags/v0.0.0
  • refs/tags/v0.0.1
  • refs/tags/v0.0.2
  • refs/tags/v0.0.3

21 Nov 2026 10:05AM UTC coverage: 98.864% (+0.08%) from 98.788%
44893399967

push

github

yyle88
Build auth faults with callbacks, reject a token shared between two usernames

- WithMissingErk and WithInvalidErk take a func(ctx) that builds the Kratos fault
- Panic at startup when two usernames share one token and the simple type is enabled
- Rename GetFieldName to FieldName, GetSimpleTokens to SimpleTokens, GetBase64Tokens to Base64Tokens
- Replace SetUsername and GetUsername with NewContext and FromContext
- Rewrite log wording, comments and both README files
- Refresh dependencies

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

35 of 36 new or added lines in 1 file covered. (97.22%)

174 of 176 relevant lines covered (98.86%)

33.59 hits per line

Relevant lines Covered
Build:
Build:
176 RELEVANT LINES 174 COVERED LINES
33.59 HITS PER LINE
Source Files on main
  • Tree
  • List 2
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
44893399967 refs/tags/v0.0.3 Build auth faults with callbacks, reject a token shared between two usernames - WithMissingErk and WithInvalidErk take a func(ctx) that builds the Kratos fault - Panic at startup when two usernames share one token and the simple type is enabled -... push 21 Nov 2026 10:15AM UTC yyle88 github
98.86
44893221346 main Build auth faults with callbacks, reject a token shared between two usernames - WithMissingErk and WithInvalidErk take a func(ctx) that builds the Kratos fault - Panic at startup when two usernames share one token and the simple type is enabled -... push 21 Nov 2026 10:13AM UTC yyle88 github
98.86
42890981418 refs/tags/v0.0.2 Check the config at startup and drop the debug switch and span hooks - NewMiddleware panics when no token type is enabled, and when a username has a blank token, which would let "Basic base64(username:)" pass - Drop WithDebugMode: each match and ... push 10 Nov 2026 08:01PM UTC yyle88 github
98.79
42890615527 main Check the config at startup and drop the debug switch and span hooks - NewMiddleware panics when no token type is enabled, and when a username has a blank token, which would let "Basic base64(username:)" pass - Drop WithDebugMode: each match and ... push 10 Nov 2026 07:59PM UTC yyle88 github
98.79
28314256134 refs/tags/v0.0.1 migrate to kratos v3 with slog logging - bump go-kratos to v3.0.0 (from v2.9.2) - swap the kratos log types to stdlib slog - rewrite the printf-style logs as slog field pairs - the public funcs now accept a stdlib slog value - bump grpc and proto... push 28 Jun 2026 06:49AM UTC yyle88 github
0.0
28314214973 main migrate to kratos v3 with slog logging - bump go-kratos to v3.0.0 (from v2.9.2) - swap the kratos log types to stdlib slog - rewrite the printf-style logs as slog field pairs - the public funcs now accept a stdlib slog value - bump grpc and proto... push 28 Jun 2026 06:47AM UTC yyle88 github
0.0
23001668867 refs/tags/v0.0.0 add kratos-static-auth package Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> push 12 Mar 2026 12:21PM UTC yyle88 github
0.0
23001666792 main add kratos-static-auth package Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> push 12 Mar 2026 12:21PM UTC yyle88 github
0.0
See All Builds (8)

Badge your Repo: kratos-static-auth

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc