FusionJWTAuthentication.JWKS_Strategy (fusion_jwt_authentication v2.0.2)

Contain strategy to fetch the JWKS if Token is choosen as token_verifier. Automatically fetch the jwks when the application is started. Refetch the jwks once each time a kid isn't found inside the jwks. The jwks is cached in an ets table

Summary

Functions

Returns a specification to start this module under a supervisor.

Fetch signers and save them in the ets table

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

fetch_and_cache_signers()

Fetch signers and save them in the ets table

fetch_signer_and_match_kid(kid)

match_signer_for_kid(kid)

start_link(arg)