优化结构
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# Internal Security
|
||||
|
||||
This package owns the application's administrator JWT policy. It is kept
|
||||
inside `internal` because its claims, audience, issuer and password-version
|
||||
fields are KRA-specific security protocol, not a reusable JWT utility.
|
||||
|
||||
Generic stateless helpers may live in `pkg`, but admin token signing and
|
||||
verification stay here so other services cannot accidentally depend on this
|
||||
application's security contract.
|
||||
Reference in New Issue
Block a user