This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
D:\larkon>php -v | |
PHP 8.2.12 (cli) (built: Oct 24 2023 21:15:15) (ZTS Visual C++ 2019 x64) | |
Copyright (c) The PHP Group | |
Zend Engine v4.2.12, Copyright (c) Zend Technologies | |
D:\larkon>npm i | |
npm warn deprecated [email protected]: this package has been deprecated for breaking semver major | |
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. | |
npm warn deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Controllers\Admin; | |
use App\Controllers\BaseController; | |
use CodeIgniter\Shield\Entities\User; | |
use CodeIgniter\Shield\Models\UserModel; | |
use CodeIgniter\Shield\Models\GroupModel; | |
class Users extends BaseController |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class TwitchTokenGenerator | |
{ | |
public $tw_auth_url; | |
public $tw_client_id; | |
public $tw_client_secret; | |
public function getTwitchAccessToken() | |
{ | |
$ch = curl_init(); |