Larabros\Elogram\Http\Middleware\AuthMiddleware¶
-
class
AuthMiddleware¶ A middleware class for authenticating requests made to Instagram’s API.
-
property
nextHandler¶ protected callable
The next handler in the stack.
-
property
config¶ protected ConfigInterface
The application configuration.
-
__invoke(RequestInterface $request, $options)¶ -
Parameters: - $request (RequestInterface) –
- $options –
-
create(ConfigInterface $config)¶ Factory method used to register this middleware on a handler stack.
Parameters: - $config (ConfigInterface) –
Returns: Closure
-
__construct($nextHandler, ConfigInterface $config)¶ Creates an instance of
AbstractMiddleware.Parameters: - $nextHandler –
- $config (ConfigInterface) –
-
property