/** * AccessTokenController constructor. * * @param \League\OAuth2\Server\AuthorizationServer $server * @param \Laravel\Passport\TokenRepository $tokens * @param \Lcobucci\JWT\Parser $jwt */ public function __construct(AuthorizationServer $server, TokenRepository $tokens, JwtParser $jwt) { parent::__construct(); $this->jwt = $jwt; $this->server = $server; $this->tokens = $tokens; }
/** * LoginController constructor. */ public function __construct() { parent::__construct(); $this->middleware('guest', ['except' => 'logout']); }
/** * WatermarkController constructor. * * @param \Notadd\Foundation\Setting\Contracts\SettingsRepository $settings */ public function __construct(SettingsRepository $settings) { parent::__construct(); $this->settings = $settings; }
/** * AuthorizationController constructor. * * @param \League\OAuth2\Server\AuthorizationServer $server * @param \Illuminate\Contracts\Routing\ResponseFactory $response */ public function __construct(AuthorizationServer $server, ResponseFactory $response) { parent::__construct(); $this->server = $server; $this->response = $response; }
/** * InstallController constructor. * * @param \Notadd\Install\Contracts\Prerequisite $prerequisite */ public function __construct(Prerequisite $prerequisite) { parent::__construct(); $this->prerequisite = $prerequisite; }
/** * ClientsController constructor. * * @param \Laravel\Passport\ClientRepository $clients * @param \Illuminate\Validation\Factory $validation */ public function __construct(ClientRepository $clients, ValidationFactory $validation) { parent::__construct(); $this->clients = $clients; $this->validation = $validation; }