EndPointBlank. Commands. EndpointAuthorize
(end_point_blank_elixir v0.3.1)
Copy Markdown
Sends an authorization check to the EndPointBlank API.
Equivalent to EndPointBlank::Commands::EndpointAuthorize in the Ruby gem.
Summary
Functions
Authorizes conn against the EndPointBlank service.
Functions
Authorizes conn against the EndPointBlank service.
Successful results are cached in AuthCache keyed on
(client_auth, path, method, app_name). Cache hits skip the network
call entirely and return immediately.
Returns {:ok, conn} on success (HTTP 201), with the
source_application_environment_id stored in RequestStore.
Returns {:error, reason} otherwise.