API Reference fusion_jwt_authentication v#2.0.2

Modules

Documentation for FusionJwtAuthentication.

Handles api request to FusionAuth jwt endpoints

Fetch certificate for certain application and store it in ets table to cache values

Login that requires a cas token

This plug handles JWT from fusion auth

Perform HTTP-requests to Fusionauth to fetch applications The requests will authenticate with an API-key that is authorized in FusionAuth to use the application-endpoints. Each request will result in an ok-message, or error or failure, and return unique error-message when that occurs.

Behaviour for handling login

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

Mock client for calls to fusionauth

Utilities for faking a HTTP server and signer helpers

This module is used to verify the JWT token using JWKS fusionauth endpoint The module overides the before_verify hook in Joken package It is used by default as token_verifier, another module can be used by setting :token_verifier in the config.

This module is used to verify the JWT token using fusionauth public-key endpoint. To use it, set :token_verifier in config.