__construct
authorize
Default
__construct(\Slim\Slim $api, array $uri)
\Slim\Slim
array
authorize()
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.
api : \Slim\Slim
uri : array