FusionJWTAuthentication.JWKS_Strategy (fusion_jwt_authentication v1.1.0)
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
Link to this function
child_spec(init_arg)
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
fetch_and_cache_signers()
Fetch signers and save them in the ets table
Link to this function
fetch_signer_and_match_kid(kid)
Link to this function
match_signer_for_kid(kid)
Link to this function