Documentation
¶
Index ¶
- func RunAll(t *testing.T, factory Factory)
- func TestAddAndGetByKid(t *testing.T, factory Factory)
- func TestAsymmetricKeyRoundTrip(t *testing.T, factory Factory)
- func TestCleanExpired(t *testing.T, factory Factory)
- func TestExpiredKidNotReturned(t *testing.T, factory Factory)
- func TestGetByUnknownKid(t *testing.T, factory Factory)
- func TestGetKeyByClientIDAlwaysNotFound(t *testing.T, factory Factory)
- func TestListKids(t *testing.T, factory Factory)
- func TestOverwriteSameKid(t *testing.T, factory Factory)
- func TestPersistence(t *testing.T, factory Factory)
- func TestRemoveIdempotent(t *testing.T, factory Factory)
- func TestZeroExpiryNeverExpires(t *testing.T, factory Factory)
- type Factory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestAddAndGetByKid ¶
func TestCleanExpired ¶
func TestGetByUnknownKid ¶
func TestListKids ¶ added in v0.3.11
TestListKids checks keys.KidLister: every kid that GetKeyByKid would return, and no expired one, so a JWKS endpoint can publish retired public keys during their grace period (issue 421). A store that doesn't implement KidLister skips it.