View Source CloudflareAccessEx.Plug (cloudflare_access_ex v0.1.0)
This plug is responsible for verifying the Cloudflare Access JWT token and ensuring that it is valid.
Examples
plug CloudflareAccessEx.Plug, cfa_app: :my_cfa_app
To allow anonymous tokens, use the following:
plug CloudflareAccessEx.Plug, cfa_app: :my_cfa_app, allow_anonymous: true
Summary
Functions
This function is responsible for verifying the Cloudflare Access JWT token It will reject the request if the token is invalid or if the token is anonymous and anonymous access is not allowed.
Functions
This function is responsible for verifying the Cloudflare Access JWT token It will reject the request if the token is invalid or if the token is anonymous and anonymous access is not allowed.