PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
jwks_provider.h File Reference

JSON Web Key Set (JWKS) provider with key caching. More...

#include <chrono>
#include <cstdint>
#include <functional>
#include <mutex>
#include <optional>
#include <string>
#include <string_view>
#include <vector>
Include dependency graph for jwks_provider.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kcenon::pacs::web::auth::jwk_key
 Represents a single JSON Web Key converted to PEM format. More...
 
class  kcenon::pacs::web::auth::jwks_provider
 

Namespaces

namespace  kcenon
 
namespace  kcenon::pacs
 
namespace  kcenon::pacs::web
 
namespace  kcenon::pacs::web::auth
 

Typedefs

using kcenon::pacs::web::auth::jwks_fetch_callback
 Callback type for fetching JWKS JSON from a URL.
 

Detailed Description

JSON Web Key Set (JWKS) provider with key caching.

Manages public keys for JWT signature verification. Supports loading JWKS from JSON strings and callback-based URL fetching with TTL caching.

See also
RFC 7517 - JSON Web Key (JWK)
Issue #852 - Implement OAuth 2.0 authorization for DICOMweb endpoints
Author
kcenon
Since
1.0.0

Definition in file jwks_provider.h.