LibJWT 3.5.0
The C JSON Web Token Library +JWK +JWKS
jwks_url_config_t Struct Reference

Configuration for a cached remote JWKS source. More...

Data Fields

int verify
int ttl
int cooldown

Detailed Description

Configuration for a cached remote JWKS source.

Passed to jwks_load_fromurl_cached(). All fields may be 0 to take the defaults.

Since
3.6.0

Field Documentation

◆ cooldown

int jwks_url_config_t::cooldown

Minimum seconds between forced (kid-miss) refreshes (< 0 = a built-in default)

◆ ttl

int jwks_url_config_t::ttl

Fallback cache lifetime in seconds when the server sends no Cache-Control: max-age (<= 0 = a built-in default)

◆ verify

int jwks_url_config_t::verify

TLS verification: peer + host (0 = insecure)