__construct
authorize
Default
__construct(\Slim\Slim $api, array $uri)
\Slim\Slim
array
authorize(string $controllerName)
Call this method in every API operation that needs to be authorized with the HTTP Basic Authorization technique.
Not available to child-controllers (private method).
If request does not provide the "Authorization" header or if the credentials are invalid.
If the username or password values are invalid.
string
Name of the parent controller for this api call.
api : \Slim\Slim
uri : array