Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
Cache provides in-memory owerlay for JWT key storage with key rotation functionality.
func (*Cache) GetCurrentKey ¶
GetCurrentKey fetch latest key from cache, it should have privatekey.
func (*Cache) RefreshKeys ¶
RefreshKeys refresh the keys from database.
Click to show internal directories.
Click to hide internal directories.