{"batchcomplete":"","continue":{"lecontinue":"20231204095255|8","continue":"-||"},"query":{"logevents":[{"logid":18,"ns":0,"title":"Menambahkan JWT Verifikasi node js","pageid":14,"logpage":14,"revid":36,"params":{},"type":"create","action":"create","user":"Adminmaul","timestamp":"2024-04-04T04:39:41Z","comment":"Created page with \"<nowiki>#</nowiki> Menambahkan JWT Verifikasi node js  Tutorial ini menjelaskan cara menambahkan middleware jwt verifikasi di node js  <nowiki>##</nowiki> Prasyarat  1. Sebelum memulai, pastikan Anda telah menginstal Node.js dan npm di sistem Anda.  2. Pastikan server sso laravel telah berjalan  3. Pastikan telah berhasil mengimplementasikan login sso client  <nowiki>##</nowiki> Langkah-langkah  <nowiki>###</nowiki> 1. Instal Dependensi  Pertama, pastikan untuk menginsta...\""},{"logid":17,"ns":0,"title":"Cara mengatasi undefined method 'createToken' intelephense","pageid":13,"logpage":13,"revid":33,"params":{},"type":"create","action":"create","user":"124.158.184.41","anon":"","timestamp":"2024-01-24T03:26:29Z","comment":"Created page with \"Tambahkan kode ini   /** @var \\App\\Models\\User $user **/  $user = Auth::user();\""},{"logid":16,"ns":0,"title":"Basic Register Laravel API","pageid":12,"logpage":12,"revid":31,"params":{},"type":"create","action":"create","user":"103.18.76.205","anon":"","timestamp":"2024-01-24T02:58:56Z","comment":"Created page with \" public function register(Request $request): JsonResponse      {          $validator = Validator::make($request->all(), [              'name' => 'required',              'email' => 'required|email',              'password' => 'required',          ]);                 if($validator->fails()){              return $this->sendError('Validation Error.', $validator->errors());                 }                 $input = $request->all();          $input['password'] = bcrypt($inpu...\""},{"logid":15,"ns":0,"title":"Global respon di laravel","pageid":11,"logpage":11,"revid":28,"params":{},"type":"create","action":"create","user":"103.18.76.205","anon":"","timestamp":"2024-01-24T02:49:14Z","comment":"Created page with \"# masukan kode respon ini di file  controller.php<blockquote>public function sendResponse($result, $message) \u00a0 \u00a0 {  \u00a0 \u00a0 \u00a0 \u00a0 $response = [  \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 'success' => true,  \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 'data' \u00a0 \u00a0=> $result,  \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 'message' => $message,  \u00a0 \u00a0 \u00a0 \u00a0 ];  \u00a0 \u00a0 \u00a0 \u00a0 return response()->json($response, 200);  \u00a0 \u00a0 }  \u00a0 \u00a0 public function sendError($error, $errorMessages = [], $code = 404)  \u00a0 \u00a0 {  \u00a0 \u00a0 \u00a0 \u00a0 $response = [  \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0...\""},{"logid":14,"ns":0,"title":"Cara menambahkan JWT di laravel Passport","pageid":10,"logpage":10,"revid":27,"params":{},"type":"create","action":"create","user":"103.18.76.205","anon":"","timestamp":"2024-01-24T02:30:20Z","comment":"Created page with \"# Install laravel seperti biasa<blockquote>composer create-project laravel/laravel example-app</blockquote> # Tambahkan library passport<blockquote>composer require laravel/passport</blockquote> # Silahkan setting database di file env dan setting field migrasi user sebelum melakukan migrasi. # Lakukan migrasi<blockquote>php artisan migrate</blockquote>5. Setelah sukses migrasi database, langkah selanjutnya adalah membuat '''''token keys''''' dengan perintah:<blockquote>p...\""},{"logid":13,"ns":8,"title":"MediaWiki:Common.js","pageid":9,"logpage":9,"revid":24,"params":{},"type":"create","action":"create","user":"Adminmaul","timestamp":"2023-12-07T03:34:01Z","comment":"Created page with \"/* Any JavaScript here will be loaded for all users on every page load. */ /*!   Highlight.js v11.9.0 (git: f47103d4f1)   (c) 2006-2023 undefined and other contributors   License: BSD-3-Clause  */ var hljs=function(){\"use strict\";function e(n){ return n instanceof Map?n.clear=n.delete=n.set=()=>{ throw Error(\"map is read-only\")}:n instanceof Set&&(n.add=n.clear=n.delete=()=>{ throw Error(\"set is read-only\") }),Object.freeze(n),Object.getOwnPropertyNames(n).forEach((t=>{...\""},{"logid":12,"ns":8,"title":"MediaWiki:Common.css","pageid":8,"logpage":8,"revid":16,"params":{},"type":"create","action":"create","user":"Adminmaul","timestamp":"2023-12-07T02:33:34Z","comment":"Created page with \"/* CSS placed here will be applied to all skins */ blockquote {     background: black;     padding: 30px;     color: white;     border-top: double;     border-top-color: blue;     border-top-width: thick; }\""},{"logid":11,"ns":8,"title":"MediaWiki:Print.css","pageid":7,"logpage":7,"revid":15,"params":{},"type":"create","action":"create","user":"Adminmaul","timestamp":"2023-12-07T02:30:30Z","comment":"Created page with \"/* CSS placed here will affect the print output */ blockquote {     background: black;     padding: 30px;     color: white;     border-top: double;     border-top-color: blue;     border-top-width: thick; }\""},{"logid":10,"ns":8,"title":"MediaWiki:Sidebar","pageid":6,"logpage":6,"revid":11,"params":{},"type":"create","action":"create","user":"Adminmaul","timestamp":"2023-12-04T10:04:33Z","comment":"Created page with \" * navigation ** mainpage|mainpage-description *** Laravel ** recentchanges-url|recentchanges * SEARCH * TOOLBOX * LANGUAGES\""},{"logid":9,"ns":0,"title":"Cara membuat custom tabel untuk JWT Passport","pageid":3,"logpage":3,"revid":10,"params":{"description":"\u200e[edit=sysop] (indefinite)\u200e[move=sysop] (indefinite)","details":[{"type":"edit","level":"sysop","expiry":"infinite"},{"type":"move","level":"sysop","expiry":"infinite"}]},"type":"protect","action":"protect","user":"Adminmaul","timestamp":"2023-12-04T09:53:09Z","comment":""}]}}