View Source JokenJwks.DefaultStrategyTemplate.EtsCache (Joken JWKS v1.7.0-rc.0)
Simple ETS counter based state machine
Summary
Functions
Returns 0 - no need to fetch signers or 1 - need to fetch
Loads fetched signers
Starts ETS cache - will only create if table doesn't exist already
Puts fetched signers
Sets the cache status
Functions
Returns 0 - no need to fetch signers or 1 - need to fetch
Loads fetched signers
Starts ETS cache - will only create if table doesn't exist already
Puts fetched signers
Sets the cache status