call code iff user is logged in
call code iff user is logged in
Disable a route without having to comment out the entry in the routes file.
Disable a route without having to comment out the entry in the routes file. Useful for when we want to keep the code around but we don't want users to have access to it.
call code iff user has right permission for resource
call code iff user has right permission for resource
Use when you want to require the user to be logged in on a private server or the server is public.
Use when you want to require the user to be logged in on a private server or the server is public.
call code iff user is a server admin
call code iff user is a server admin
get user if logged in
get user if logged in
Build up our intermediary (proxied) request from the original
Copies the header values from our intermediary (proxied) response to the SimpleResult that we will return to the caller of the proxy API
Given a response, chunk its body and return/forward it as a SimpleResult
Perform a DELETE request to the specified endpoint_key on the user's behalf
Perform a GET request to the specified endpoint_key on the user's behalf
Translates an endpoint_key to a target endpoint based on Clowder's configuration
Return user based on request object
Return user based on request object
Perform a POST request to the specified endpoint_key on the user's behalf
Perform a PUT request to the specified endpoint_key on the user's behalf