Discover Packages
github.com/rosschiu/kiban
modulekit
kittest
package
Version:
v0.1.4
Opens a new window with list of versions in this module.
Published: Oct 21, 2026
License: Apache-2.0, Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package kittest is the test JWKS issuer a module's tests use to mint bearers for
modulekit.TokenVerifier: an RSA key pair, an httptest JWKS server and a signer.
Issuer serves one public key at JWKS.URL and signs with its private half.
NewIssuer generates an RS256 key pair (kid "test-key") and starts the JWKS server; both are
released on t.Cleanup.
Sign mints a signed token with the given issuer, audience, subject and expiry.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.