{"id":11174,"date":"2022-12-12T07:00:01","date_gmt":"2022-12-11T22:00:01","guid":{"rendered":"https:\/\/blog.capilano-fw.com\/?p=11174"},"modified":"2022-11-14T05:52:08","modified_gmt":"2022-11-13T20:52:08","slug":"laravel-react-%e3%83%95%e3%82%a3%e3%83%b3%e3%82%ac%e3%83%bc%e3%83%97%e3%83%aa%e3%83%b3%e3%83%88%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e4%b8%8d%e6%ad%a3%e3%83%ad%e3%82%b0%e3%82%a4%e3%83%b3%e5%af%be","status":"publish","type":"post","link":"https:\/\/blog.capilano-fw.com\/?p=11174","title":{"rendered":"Laravel + React \u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c8\u3092\u4f7f\u3063\u3066\u4e0d\u6b63\u30ed\u30b0\u30a4\u30f3\u5bfe\u7b56"},"content":{"rendered":"<p>\u3055\u3066\u3055\u3066\u3001\u79c1\u306f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306e\u5c02\u9580\u3067\u306f\u306a\u3044\u3067\u3059\u304c\u3001\u305d\u3046\u306f\u8a00\u3063\u3066\u3082\u958b\u767a\u8005\u3068\u3057\u3066\u3042\u308b\u7a0b\u5ea6\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306e\u77e5\u8b58\u306f\u3082\u3063\u3066\u304a\u304b\u306a\u3044\u3068\u3044\u3051\u307e\u305b\u3093\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u300c<strong>\u8ab0\u304b\u306b\u306a\u308a\u3059\u307e\u3057\u3066\u30ed\u30b0\u30a4\u30f3<\/strong>\u300d\u3059\u308b\u3001\u3044\u308f\u3086\u308b\u300c<strong>\u4e0d\u6b63\u30ed\u30b0\u30a4\u30f3<\/strong>\u300d\u306f\u6709\u540d\u306a\u82b8\u80fd\u4eba\u306e\u88ab\u5bb3\u304c\u30cb\u30e5\u30fc\u30b9\u3067\u5831\u3058\u3089\u308c\u305f\u308a\u3057\u3066\u307e\u3059\u3088\u306d\u3002<\/p>\n<p>\u305d\u3053\u3067\u2757<\/p>\n<p>\u4eca\u56de\u306f<code>Google<\/code>\u306a\u3069\u3067\u3082\u63d0\u4f9b\u3055\u308c\u3066\u3044\u308b<\/p>\n<p><strong style=\"font-size: 35px;\">\u672a\u77e5\u306e\u74b0\u5883\u304b\u3089\u30ed\u30b0\u30a4\u30f3\u304c\u3042\u3063\u305f\u3089\u3001\u30e1\u30fc\u30eb\u3067\u304a\u77e5\u3089\u305b\u3059\u308b<\/strong><\/p>\n<p>\u3068\u3044\u3046\u6a5f\u80fd\u3092\u300c<strong>\u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c8<\/strong>\u300d\u3092\u4f7f\u3063\u3066\u5b9f\u88c5\u3057\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u5834\u5408\u306e\u300c\u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c8\uff08\u6307\u7d0b\uff09\u300d\u3068\u306f\u3001\u30d6\u30e9\u30a6\u30b6\u3084\u5b9f\u884c\u74b0\u5883\u304b\u3089\u8ab0\u304c\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3044\u308b\u306e\u304b\u3092\u77e5\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u500b\u5225ID\u306e\u3053\u3068\u3067\u3001\u4eca\u56de\u306f<a href=\"https:\/\/fingerprint.com\/\" target=\"_blank\" rel=\"noopener\">Fingerprint.com<\/a> \uff08\u203b\uff11\uff09\u3092\u4f7f\u3063\u3066\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<p>\u203b\uff11\uff1a \u4eca\u56de\u306f\u6709\u6599\u7248\u306e\u30c8\u30e9\u30a4\u30a2\u30eb\uff0820,000\u56de\u307e\u3067\u7121\u6599\u30022022.11.2\u73fe\u5728\uff09\u3092\u4f7f\u3044\u307e\u3059\u304c\u3001\u7cbe\u5ea6\u306f\u843d\u3061\u308b\u3082\u306e\u306e\u5b8c\u5168\u7121\u6599\u7248\u3082\u5b58\u5728\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u305c\u3072\u4f55\u304b\u306e\u53c2\u8003\u306b\u306a\u308a\u307e\u3057\u305f\u3089\u5b09\u3057\u3044\u3067\u3059\u3002\ud83d\ude04\u2728<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11002 aligncenter\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/09\/no_10.png\" alt=\"\" width=\"370\" height=\"290\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/09\/no_10.png 370w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/09\/no_10-300x235.png 300w\" sizes=\"auto, (max-width: 370px) 100vw, 370px\" \/>\u300c\u30ef\u30a4\u30c9\u30e2\u30cb\u30bf\u30fc<br \/>\n\u8cb7\u3063\u305f\u3089\u30b9\u30da\u30c3\u30af\u4e0d\u8db3\u3067<br \/>\n\u7d50\u5c40 1920 x 1080 \u3067\u8868\u793a\u4e2d\u2026\u300d<\/p>\n<p><strong>\u958b\u767a\u74b0\u5883\uff1a<\/strong> Laravel 9.x\u3001React\u3001Inertia.js\u3001TailwindCSS\u3001Vite\u3001PHP 8.1<\/p>\n<h1>\u524d\u63d0\u3068\u3057\u3066<\/h1>\n<p><code>Laravel 9.x<\/code>\u306b\u30ed\u30b0\u30a4\u30f3\u6a5f\u80fd\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u524d\u63d0\u3067\u3059\u3002<br \/>\n\u3082\u3057\u307e\u3060\u306e\u65b9\u306f\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3057\u3066\u6e96\u5099\u3092\u6e08\u307e\u305b\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\ud83d\udcdd\u00a0<a href=\"https:\/\/blog.capilano-fw.com\/?p=10845\" target=\"_blank\" rel=\"noopener\">\u3010Laravel\u3011Vite + Inertia + React \u3067\u30ed\u30b0\u30a4\u30f3\u6a5f\u80fd\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/a><\/p>\n<h1>\u5b9f\u88c5\u3059\u308b\u624b\u9806<\/h1>\n<ol>\n<li>\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u6642\u306b\u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c8\u3082\u4fdd\u5b58\u3059\u308b<\/li>\n<li>\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u3068\u304d\u306b\u518d\u5ea6\u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c8\u3092\u53d6\u5f97\u3057\u3001\u904e\u53bb\u306e\u3082\u306e\u3068\u6bd4\u8f03<\/li>\n<li>\u3082\u3057\u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c8\u304c\u5b58\u5728\u3057\u3066\u3044\u306a\u304b\u3063\u305f\u3089\u3001\u300c\u65b0\u3057\u3044\u74b0\u5883\u304b\u3089\u30ed\u30b0\u30a4\u30f3\u3055\u308c\u307e\u3057\u305f\u300d\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3057\u3066\u30e6\u30fc\u30b6\u30fc\u306b\u78ba\u8a8d\u3057\u3066\u3082\u3089\u3046<\/li>\n<\/ol>\n<p>\u306a\u304a\u3001IP\u30a2\u30c9\u30ec\u30b9\u3084<code>UserAgent<\/code>\u3092\u4f7f\u3063\u3066\u533a\u5225\u3059\u308b\u65b9\u6cd5\u3082\u3042\u308b\u3068\u306f\u601d\u3046\u306e\u3067\u3059\u304c\u3001\u4f8b\u3048\u3070\u540c\u3058\u5bb6\u3084\u4f1a\u793e\u304b\u3089\u306a\u3089\u540c\u3058\u4eba\u3068\u5224\u5225\u3055\u308c\u3061\u3083\u3063\u305f\u308a\u3059\u308b\u306e\u3067\u3001\u4eca\u56de\u306f\u3088\u308a\u7cbe\u5ea6\u304c\u9ad8\u3044\u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c8\u3092\u63a1\u7528\u3057\u307e\u3057\u305f\ud83d\udc4d\uff08\u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c8\u306f\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u30fb\u30e2\u30fc\u30c9\u3067\u3082\u540c\u3058\u6587\u5b57\u5217\u306b\u306a\u308a\u307e\u3059\uff09<\/p>\n<h1>Fingerprint.com \u3078\u767b\u9332\u3059\u308b<\/h1>\n<p>\u307e\u305a <a href=\"https:\/\/dashboard.fingerprint.com\/signup\" target=\"_blank\" rel=\"noopener\">\u767b\u9332\u30da\u30fc\u30b8<\/a> \u304b\u3089\u5fc5\u8981\u306a\u60c5\u5831\u3092\u9001\u4fe1\u3059\u308b\u3068\u8a8d\u8a3c\u7528\u30e1\u30fc\u30eb\u304c\u9001\u3089\u308c\u3066\u304d\u307e\u3059\u306e\u3067\u3001\u3053\u306e\u4e2d\u306b\u3042\u308b\u30b3\u30fc\u30c9\u3092\u30b3\u30d4\u30fc\u3057\u300c<strong>CONFIRM YOUR EMAIL<\/strong>\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11176\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_4.png\" alt=\"\" width=\"640\" height=\"170\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_4.png 640w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_4-300x80.png 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>\u5165\u529b\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001\u3053\u3053\u3078\u30b3\u30fc\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n<p>\u3059\u308b\u3068\u3001\u30a2\u30d7\u30ea\u306e\u8a73\u7d30\u30d5\u30a9\u30fc\u30e0\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u4ee5\u4e0b\u3092\u53c2\u8003\u306b\u3057\u3066\u5165\u529b\u3057\u300c<strong>SUBMIT<\/strong>\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<ul>\n<li><strong>What is your application name?\uff1a<\/strong> \u30a2\u30d7\u30ea\uff08\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\uff09\u306e\u540d\u524d\u306f\uff1f\uff1f<\/li>\n<li><strong>What is your domain name?\uff1a<\/strong> \u30c9\u30e1\u30a4\u30f3\u306f\uff1f\uff1f<\/li>\n<li><strong>What challenge are you trying to solve?\uff1a<\/strong> \u4f55\u306e\u305f\u3081\u306b\u4f7f\u3046\uff1f\uff1f<\/li>\n<li><strong>Where are your users located?\uff1a<\/strong> \u30e6\u30fc\u30b6\u30fc\u306e\u3044\u308b\u5834\u6240\u306f\uff1f\uff1f<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11175\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_fingerprint_1.png\" alt=\"\" width=\"572\" height=\"608\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_fingerprint_1.png 572w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_fingerprint_1-282x300.png 282w\" sizes=\"auto, (max-width: 572px) 100vw, 572px\" \/><\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5148\u3092\u805e\u304b\u308c\u308b\u306e\u3067<code>SDK\uff53<\/code>\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11177\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_5.png\" alt=\"\" width=\"640\" height=\"216\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_5.png 640w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_5-300x101.png 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>\u3059\u308b\u3068\u3001\u5404\u7a2e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u6b21\u306e\u9805\u76ee\u3067\u7d39\u4ecb\u3057\u307e\u3059\u306e\u3067\u3001\u4eca\u306e\u3068\u3053\u308d\u306f\u300c<strong>DONE<\/strong>\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u3092\u5b8c\u4e86\u3055\u305b\u3066\u304f\u3060\u3055\u3044\u3002\uff08\u3042\u3068\u3067\u540c\u3058\u3082\u306e\u3092\u8868\u793a\u3067\u304d\u307e\u3059\uff09<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11178\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_6.png\" alt=\"\" width=\"193\" height=\"69\" \/><\/p>\n<p>\u3053\u308c\u3067<code>Fingerprint.com<\/code>\u3078\u306e\u767b\u9332\u306f\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n<h1>\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/h1>\n<p>\u7d9a\u3044\u3066<code>npm<\/code>\uff08JavaScript\uff09\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<br \/>\n\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><strong>npm install @fingerprintjs\/fingerprintjs-pro --save-dev<\/strong><\/pre>\n<h1>\u30e2\u30c7\u30eb\uff06\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u3064\u304f\u308b<\/h1>\n<p>\u6b21\u306bDB\u5468\u308a\u306e\u6e96\u5099\u3092\u3057\u307e\u3059\u3002<br \/>\n\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><strong>php artisan make:model UserFingerprint -m<\/strong><\/pre>\n<p>\u3059\u308b\u3068\u3001\u30d5\u30a1\u30a4\u30eb\u304c\uff12\u3064\u4f5c\u6210\u3055\u308c\u308b\u306e\u3067\u305d\u308c\u305e\u308c\u4e2d\u8eab\u3092\u6b21\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<p><strong>app\/Models\/UserFingerprint.php<\/strong><\/p>\n<pre>&lt;?php\r\n\r\nnamespace App\\Models;\r\n\r\nuse Illuminate\\Database\\Eloquent\\Factories\\HasFactory;\r\nuse Illuminate\\Database\\Eloquent\\Model;\r\n\r\nclass UserFingerprint extends Model\r\n{\r\n    use HasFactory;\r\n\r\n    <strong>protected $guarded = ['id']; \/\/ \ud83d\udc48 \u3053\u3053\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f<\/strong>\r\n}<\/pre>\n<p><strong>database\/migrations\/****_**_**_******_create_user_fingerprints_table.php<\/strong><\/p>\n<pre>\/\/ \u7701\u7565\r\n\r\npublic function up()\r\n{\r\n    <strong>Schema::create('user_fingerprints', function (Blueprint $table) {<\/strong>\r\n<strong>        $table-&gt;id();<\/strong>\r\n<strong>        $table-&gt;unsignedBigInteger('user_id')-&gt;comment('\u30e6\u30fc\u30b6\u30fcID');<\/strong>\r\n<strong>        $table-&gt;string('fingerprint')-&gt;comment('\u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c8');<\/strong>\r\n<strong>        $table-&gt;timestamps();<\/strong>\r\n\r\n<strong>        $table-&gt;foreign('user_id')-&gt;references('id')-&gt;on('users');<\/strong>\r\n<strong>    });<\/strong>\r\n}\r\n\r\n\/\/ \u7701\u7565<\/pre>\n<p>\u203b <code>users<\/code>\u30c6\u30fc\u30d6\u30eb\uff06<code>user_fingerprints<\/code>\u30c6\u30fc\u30d6\u30eb \u306f\u3001\u300c<strong>\uff11\u5bfe\u591a<\/strong>\u300d\u306e\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\uff08\u3064\u307e\u308a\u3001\uff11\u4eba\u306e\u30e6\u30fc\u30b6\u30fc\u304c\u305f\u304f\u3055\u3093\u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c8\u3092\u6301\u3064\u3053\u3068\u304c\u3067\u304d\u308b\uff09\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3067\u306f\u3001\u3053\u306e\u72b6\u614b\u3067\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3057\u307e\u3057\u3087\u3046\u3002<br \/>\n\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><strong>php artisan migrate<\/strong><\/pre>\n<p>\u3059\u308b\u3068\u5b9f\u969b\u306e\u30c6\u30fc\u30d6\u30eb\u306f\u3053\u3046\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11179\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_7.png\" alt=\"\" width=\"424\" height=\"488\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_7.png 424w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_7-261x300.png 261w\" sizes=\"auto, (max-width: 424px) 100vw, 424px\" \/><\/p>\n<p>\u3067\u306f\u3001\u6e96\u5099\u306f\u6574\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u6b21\u304b\u3089\u672c\u683c\u7684\u306b\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u3044\u304f\u90e8\u5206\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u697d\u3057\u3093\u3067\u3084\u3063\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u2757<\/p>\n<h1>\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u306e\u9001\u4fe1\u306b\u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c8\u3092\u8ffd\u52a0\u3059\u308b<\/h1>\n<p>\u4eca\u56de\u306f\u300c<strong>\u30e6\u30fc\u30b6\u30fc\u306f\u6700\u4f4e\uff11\u3064\u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c8\u3092\u6301\u3063\u3066\u3044\u308b<\/strong>\u300d\u72b6\u614b\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u305f\u3081\u3001\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u3059\u308b\u6642\u306b\u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c8\u3082\u4e00\u7dd2\u306b\u9001\u4fe1\u3057\u4fdd\u5b58\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u307e\u305a\u306f\u30d3\u30e5\u30fc\u3067\u3059\u3002<\/p>\n<p><strong>resources\/js\/Pages\/Auth\/Register.jsx<\/strong><\/p>\n<pre>\/\/ \u7701\u7565\r\n\r\n<strong>import FingerprintJS from '@fingerprintjs\/fingerprintjs-pro'; \/\/ \ud83d\udc48 \u3053\u3053\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f<\/strong>\r\n\r\nexport default function Register() {\r\n    const { data, setData, post, processing, errors, reset } = useForm({\r\n        name: '',\r\n        email: '',\r\n        password: '',\r\n        password_confirmation: '',\r\n        <strong>fingerprint: '', \/\/ \ud83d\udc48 \u3053\u3053\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f<\/strong>\r\n    });\r\n\r\n    \/\/ \u7701\u7565\r\n\r\n    <strong>\/\/ Fingerprint \ud83d\udc47 \u3053\u3053\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f<\/strong>\r\n<strong>    useEffect(() =&gt; {<\/strong>\r\n\r\n<strong>        const fpPromise = FingerprintJS.load({<\/strong>\r\n<strong>            apiKey: \"\uff08\u3053\u3053\u306b\u3042\u306a\u305f\u306e API \u30ad\u30fc\uff09\",<\/strong>\r\n<strong>            region: \"ap\"<\/strong>\r\n<strong>        });<\/strong>\r\n\r\n<strong>        fpPromise<\/strong>\r\n<strong>            .then(fp =&gt; fp.get())<\/strong>\r\n<strong>            .then(result =&gt; {<\/strong>\r\n\r\n<strong>                setData('fingerprint', result.visitorId);<\/strong>\r\n\r\n<strong>            });<\/strong>\r\n\r\n<strong>    }, []);<\/strong>\r\n\r\n    return (\r\n        &lt;Guest&gt;\r\n\r\n\/\/ \u7701\u7565<\/pre>\n<p>\u203b \u8ffd\u52a0\u3057\u305f\u306e\u306f\u3001\u300c<strong>import<\/strong>\u300d\u300c<strong>Fingerprint \u90e8\u5206<\/strong>\u300d\u306e\uff12\u30f6\u6240\u3067\u3059\u3002<\/p>\n<p>\u306a\u304a\u3001<strong>\uff08\u3053\u3053\u306b\u3042\u306a\u305f\u306e Api \u30ad\u30fc\uff09<\/strong>\u3068\u3044\u3046\u90e8\u5206\u306b\u306f\u5148\u307b\u3069\u767b\u9332\u3057\u305f<code>Fingerprint.com<\/code>\u306e\u30da\u30fc\u30b8\u5de6\u5074\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u300c<strong>API Keys<\/strong>\u300d\u3092\u30af\u30ea\u30c3\u30af\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11180\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_8.png\" alt=\"\" width=\"265\" height=\"422\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_8.png 265w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_8-188x300.png 188w\" sizes=\"auto, (max-width: 265px) 100vw, 265px\" \/><\/p>\n<p>\u30ad\u30fc\u306e\u4e00\u89a7\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001\u4f5c\u6210\u3055\u308c\u305f\u30ad\u30fc\u3092\u30b3\u30d4\u30da\u3057\u3066\u304f\u3060\u3055\u3044\u3002\uff08\u306a\u304a\u3001\u4eca\u56de\u306f\u30c6\u30b9\u30c8\u3067\u3059\u306e\u3067\u76f4\u66f8\u304d\u3067\u3059\u304c\u3001<code>.env<\/code>\u306b\u30bb\u30c3\u30c8\u3057\u3066\u4f7f\u3048\u308b\u3088\u3046\u306b\u3057\u3066\u304a\u3044\u305f\u65b9\u304c\u30d9\u30bf\u30fc\u3067\u3059\ud83d\udc4d\uff09<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11181\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_9.png\" alt=\"\" width=\"536\" height=\"251\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_9.png 536w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_9-300x140.png 300w\" sizes=\"auto, (max-width: 536px) 100vw, 536px\" \/><\/p>\n<p>\u305d\u3057\u3066\u3001\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3067\u3059\u3002<\/p>\n<p><strong>app\/Http\/Controllers\/Auth\/RegisteredUserController.php<\/strong><\/p>\n<pre>\/\/ \u7701\u7565\r\n\r\n<strong>use App\\Models\\UserFingerprint;<\/strong>\r\n\r\nclass RegisteredUserController extends Controller\r\n{\r\n    \/\/ \u7701\u7565\r\n\r\n    public function store(Request $request)\r\n    {\r\n        $request-&gt;validate([\r\n            'name' =&gt; 'required|string|max:255',\r\n            'email' =&gt; 'required|string|email|max:255|unique:users',\r\n            'password' =&gt; ['required', 'confirmed', Rules\\Password::defaults()],\r\n            <strong>'fingerprint' =&gt; ['required', 'string', 'max:255', 'unique:user_fingerprints'], \/\/ \ud83d\udc48 \u3053\u3053\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f<\/strong>\r\n        ]);\r\n\r\n        $user = User::create([\r\n            'name' =&gt; $request-&gt;name,\r\n            'email' =&gt; $request-&gt;email,\r\n            'password' =&gt; Hash::make($request-&gt;password),\r\n        ]);\r\n\r\n        \/\/ \ud83d\udc47 \u3053\u3053\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f\uff08\u672c\u6765\u306f\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u3092\u4f7f\u3046\u3079\u304d\u3067\u3059\uff09\r\n        <strong>UserFingerprint::create([<\/strong>\r\n<strong>            'user_id' =&gt; $user-&gt;id,<\/strong>\r\n<strong>            'fingerprint' =&gt; $request-&gt;fingerprint,<\/strong>\r\n<strong>        ]);<\/strong>\r\n\r\n        event(new Registered($user));\r\n\r\n        Auth::login($user);\r\n\r\n        return redirect(RouteServiceProvider::HOME);\r\n    }\r\n}<\/pre>\n<p>\u3053\u3053\u4e2d\u306b\u8ffd\u52a0\u3057\u305f\u6a5f\u80fd\u306f\u3001\u300c<strong>\u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c8\u306e\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3<\/strong>\u300d\u3068\u300c<strong>\u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c8\u306e\u767b\u9332<\/strong>\u300d\u306e\uff12\u3064\u3067\u3059\u3002<\/p>\n<p>\u306a\u304a\u3001\u4eca\u56de\u306e\u6539\u5909\u3067<code>users<\/code>\u3068<code>user_fingerprints<\/code>\u30c6\u30fc\u30d6\u30eb\u306e\uff12\u3064\u3078\u540c\u6642\u306b\u767b\u9332\u3092\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u672c\u6765\u306f <a href=\"https:\/\/laravel.com\/docs\/9.x\/database#database-transactions\" target=\"_blank\" rel=\"noopener\">\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3<\/a> \u3092\u4f7f\u3063\u3066\u300c<strong>\u3042\u3044\u305f\uff01users\u30c6\u30fc\u30d6\u30eb\u3060\u3051\u306b\u767b\u9332\u3055\u308c\u3061\u3083\u3063\u305f\u2026\ud83d\ude2b<\/strong>\u300d\u3068\u306a\u3089\u306a\u3044\u3088\u3046\u306b\u3057\u3066\u304a\u304f\u3079\u304d\u3067\u3059\u3002\uff08\u4eca\u56de\u306f\u30c6\u30b9\u30c8\u306a\u306e\u3067\u7701\u7565\u3057\u3066\u3044\u307e\u3059\uff09<\/p>\n<p>\u3053\u308c\u3067\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u3055\u308c\u308b\u3068\u304d\u306b\u306f\u5fc5\u305a\u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c8\u304c\u767b\u9332\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<h1>\u672a\u77e5\u306e\u74b0\u5883\u304b\u3089\u306e\u30ed\u30b0\u30a4\u30f3\u3092\u691c\u77e5\u3059\u308b\u90e8\u5206\u3092\u3064\u304f\u308b<\/h1>\n<p>\u3067\u306f\u3001\u6b21\u304c\u30e1\u30a4\u30f3\u306e\u300c<strong>\u672a\u77e5\u306e\u74b0\u5883\u304b\u3089\u306e\u30ed\u30b0\u30a4\u30f3\u3092\u691c\u77e5\u3059\u308b<\/strong>\u300d\u90e8\u5206\u3067\u3059\u3002<\/p>\n<p>\u307e\u305a\u306f\u30d3\u30e5\u30fc\u3067\u3059\u3002\uff08\u5148\u307b\u3069\u3068\u307b\u307c\u540c\u3058\u3067\u3059\u3002\u672c\u756a\u74b0\u5883\u3067\u306f\u5171\u901a\u5316\u3057\u305f\u307b\u3046\u304c\u3044\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\ud83e\udd14\uff09<\/p>\n<p><strong>resources\/js\/Pages\/Auth\/Login.jsx<\/strong><\/p>\n<pre>\/\/ \u7701\u7565\r\n\r\n<strong>import FingerprintJS from '@fingerprintjs\/fingerprintjs-pro'; \/\/  \u3053\u3053\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f<\/strong>\r\n\r\nexport default function Login({ status, canResetPassword }) {\r\n    const { data, setData, post, processing, errors, reset } = useForm({\r\n        email: '',\r\n        password: '',\r\n        remember: '',\r\n        <strong>fingerprint: '', \/\/ \ud83d\udc48 \u3053\u3053\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f<\/strong>\r\n    });\r\n\r\n    \/\/ \u7701\u7565\r\n\r\n    <strong>\/\/ Fingerprint \u3053\u3053\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f<\/strong>\r\n<strong>    useEffect(() =&gt; {<\/strong>\r\n\r\n<strong>        const fpPromise = FingerprintJS.load({<\/strong>\r\n<strong>            apiKey: \"\uff08\u3053\u3053\u306b\u3042\u306a\u305f\u306e API \u30ad\u30fc\uff09\",<\/strong>\r\n<strong>            region: \"ap\"<\/strong>\r\n<strong>        });<\/strong>\r\n\r\n<strong>        fpPromise<\/strong>\r\n<strong>            .then(fp =&gt; fp.get())<\/strong>\r\n<strong>            .then(result =&gt; {<\/strong>\r\n\r\n<strong>                setData('fingerprint', result.visitorId);<\/strong>\r\n\r\n<strong>            });<\/strong>\r\n\r\n<strong>    }, []);<\/strong>\r\n\r\n    return (\r\n        &lt;Guest&gt;\r\n            \r\n\/\/ \u7701\u7565<\/pre>\n<p>\u203b \u3053\u3053\u3067\u3082\uff08<strong>\u3053\u3053\u306b\u3042\u306a\u305f\u306e API \u30ad\u30fc\uff09<\/strong>\u306f\u3054\u81ea\u8eab\u306e\u30ad\u30fc\u3092\u30bb\u30c3\u30c8\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u7d9a\u3044\u3066\u3001\u30ed\u30b0\u30a4\u30f3\u8a8d\u8a3c\u3092\u3059\u308b\u90e8\u5206\u3067\u3059\u3002<\/p>\n<p><strong>app\/Http\/Requests\/Auth\/LoginRequest.php<\/strong><\/p>\n<pre>\/\/ \u7701\u7565\r\n\r\n<strong>use App\\Models\\UserFingerprint; \/\/ \ud83d\udc48 \u3053\u3053\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f<\/strong>\r\n<strong>use Illuminate\\Support\\Facades\\Mail; \/\/ \ud83d\udc48 \u3053\u3053\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f<\/strong>\r\n\r\nclass LoginRequest extends FormRequest\r\n{\r\n    \/\/ \u7701\u7565\r\n\r\n    public function authenticate()\r\n    {\r\n        $this-&gt;ensureIsNotRateLimited();\r\n\r\n        if (! Auth::attempt($this-&gt;only('email', 'password'), $this-&gt;boolean('remember'))) {\r\n            RateLimiter::hit($this-&gt;throttleKey());\r\n\r\n            throw ValidationException::withMessages([\r\n                'email' =&gt; trans('auth.failed'),\r\n            ]);\r\n        }\r\n\r\n        <strong>\/\/ \ud83d\udc47 \u3053\u3053\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f<\/strong>\r\n<strong>        if(! $this-&gt;filled('fingerprint')) { \/\/ fingerprint \u304c\u7a7a\u306e\u5834\u5408<\/strong>\r\n\r\n<strong>            Auth::logout();<\/strong>\r\n\r\n<strong>            throw ValidationException::withMessages([<\/strong>\r\n<strong>                'fingerprint' =&gt; '\u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c8\u306f\u5fc5\u9808\u3067\u3059',<\/strong>\r\n<strong>            ]);<\/strong>\r\n\r\n<strong>        }<\/strong>\r\n\r\n<strong>        $fingerprint = $this-&gt;fingerprint;<\/strong>\r\n<strong>        $user_id = Auth::id();<\/strong>\r\n<strong>        $fingerprint_exists = UserFingerprint::where('user_id', $user_id)<\/strong>\r\n<strong>            -&gt;where('fingerprint', $fingerprint)<\/strong>\r\n<strong>            -&gt;exists();<\/strong>\r\n\r\n<strong>        if($fingerprint_exists === false) { \/\/ \u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c8\u304c\u672a\u767b\u9332\u306e\u5834\u5408<\/strong>\r\n\r\n<strong>            \/\/ \u30e6\u30fc\u30b6\u30fc\u306b\u30e1\u30fc\u30eb\u901a\u77e5\u3059\u308b<\/strong>\r\n<strong>            $this-&gt;sendNotificationEmail();<\/strong>\r\n\r\n<strong>        }<\/strong>\r\n\r\n        RateLimiter::clear($this-&gt;throttleKey());\r\n    }\r\n\r\n    \/\/ \u7701\u7565\r\n\r\n    <strong>\/\/ \ud83d\udc47 \u3053\u3053\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f<\/strong>\r\n<strong>    private function sendNotificationEmail()<\/strong>\r\n<strong>    {<\/strong>\r\n<strong>        $user = $this-&gt;user();<\/strong>\r\n<strong>        $fingerprint = $this-&gt;fingerprint;<\/strong>\r\n<strong>        Mail::to($user)-&gt;send(new UnauthorizedLoginCheck($user, $fingerprint));<\/strong>\r\n<strong>    }<\/strong>\r\n}<\/pre>\n<p>\u3053\u306e\u4e2d\u3067\u8ffd\u52a0\u3057\u305f\u624b\u9806\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<ol>\n<li>\u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c8\u304c\u7a7a\u306a\u3089\u30a8\u30e9\u30fc\u306b\u3059\u308b<\/li>\n<li>\u30e6\u30fc\u30b6\u30fc\u306e\u767b\u9332\u6e08\u307f\u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c8\u3092\u53d6\u5f97<\/li>\n<li>\u4eca\u56de\u53d6\u5f97\u3057\u305f\u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c8\u304c\u672a\u767b\u9332\u306e\u5834\u5408\u306f\u30e6\u30fc\u30b6\u30fc\u306b\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b<\/li>\n<\/ol>\n<h1>\u30e1\u30fc\u30eb\u9001\u4fe1\u90e8\u5206\uff08Mailable\uff09\u3092\u3064\u304f\u308b<\/h1>\n<p>\u7d9a\u3044\u3066\u5148\u307b\u3069<code>LoginRequest.php<\/code>\u3067\u30bb\u30c3\u30c8\u3057\u305f\u30e1\u30fc\u30eb\u9001\u4fe1\u90e8\u5206\u304c\u3067\u304d\u3066\u3044\u306a\u3044\u306e\u3067\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><strong>php artisan make:mail UnauthorizedLoginCheck<\/strong><\/pre>\n<p>\u3059\u308b\u3068\u30d5\u30a1\u30a4\u30eb\u304c\u3067\u304d\u308b\u306e\u3067\u3001\u4e2d\u8eab\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<p><strong>app\/Mail\/UnauthorizedLoginCheck.php<\/strong><\/p>\n<pre>\/\/ \u7701\u7565\r\n\r\n<strong>use Illuminate\\Support\\Facades\\URL; \/\/ \ud83d\udc48 \u3053\u3053\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f<\/strong>\r\n\r\nclass UnauthorizedLoginCheck extends Mailable\r\n{\r\n    \/\/ \u7701\u7565\r\n\r\n    \/**\r\n     * Get the message envelope.\r\n     *\r\n     * @return \\Illuminate\\Mail\\Mailables\\Envelope\r\n     *\/\r\n    public function envelope()\r\n    {\r\n        return new Envelope(\r\n            <strong>subject: '\u65b0\u3057\u3044\u74b0\u5883\u304b\u3089\u30ed\u30b0\u30a4\u30f3\u3055\u308c\u307e\u3057\u305f', \/\/ \ud83d\udc48 \u3053\u3053\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f<\/strong>\r\n        );\r\n    }\r\n\r\n    \/**\r\n     * Get the message content definition.\r\n     *\r\n     * @return \\Illuminate\\Mail\\Mailables\\Content\r\n     *\/\r\n    public function content()\r\n    {\r\n        \/\/ \ud83d\udc47 \u3053\u3053\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f\r\n        <strong>$temporary_signed_url = URL::temporarySignedRoute(<\/strong>\r\n<strong>            'accept_fingerprint.save',<\/strong>\r\n<strong>            now()-&gt;addMinutes(30),<\/strong>\r\n<strong>            [<\/strong>\r\n<strong>                'user' =&gt; $this-&gt;user-&gt;id,<\/strong>\r\n<strong>                'fingerprint' =&gt; $this-&gt;fingerprint,<\/strong>\r\n<strong>            ]<\/strong>\r\n<strong>        );<\/strong>\r\n\r\n<strong>        return new Content(<\/strong>\r\n<strong>            view: 'emails.unauthorized_login_check',<\/strong>\r\n<strong>            with: [<\/strong>\r\n<strong>                'user' =&gt; $this-&gt;user,<\/strong>\r\n<strong>                'temporary_signed_url' =&gt; $temporary_signed_url<\/strong>\r\n<strong>            ],<\/strong>\r\n<strong>        );<\/strong>\r\n    }\r\n\r\n\/\/ \u7701\u7565<\/pre>\n<p>\u3061\u306a\u307f\u306b\u3053\u306e\u4e2d\u3067\u3064\u304f\u3063\u3066\u3044\u308b\u306e\u304c\u300c<strong>\u6642\u9593\u5236\u9650\u3064\u304d\u8a8d\u8a3cURL<\/strong>\u300d\u3067\u3001\u4eca\u56de\u306f30\u5206\u3060\u3051\u6709\u52b9\u306aURL\u3092\u3064\u304f\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u203b \u306a\u304a\uff08\u4eca\u56de\u306f\u30c6\u30b9\u30c8\u306e\u305f\u3081\uff09URL\u306b\u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c8\u304c\u5165\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u304c\u3001\u3042\u307e\u308a\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u4e0a\u3044\u3044\u3068\u306f\u8a00\u3048\u307e\u305b\u3093\u3002\u305d\u306e\u305f\u3081\u3001\u672c\u756a\u74b0\u5883\u3067\u306f\u5148\u306bDB\u30c6\u30fc\u30d6\u30eb\u306b\u767b\u9332\u3057\u3001<code>UUID<\/code>\u3092\u30ad\u30fc\u3068\u3057\u3066\u30c7\u30fc\u30bf\u691c\u7d22\uff06\u6709\u52b9\u5316\u3059\u308b\u3068\u3044\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u7d9a\u3044\u3066\u30e1\u30fc\u30eb\u6587\u9762\u3067\u3059\u3002\uff08\u3053\u3053\u3060\u3051<code>Blade<\/code>\u30d5\u30a1\u30a4\u30eb\u306a\u306e\u3067\u6c17\u3092\u3064\u3051\u3066\u304f\u3060\u3055\u3044\uff09<\/p>\n<p><strong>resources\/views\/emails\/unauthorized_login_check.blade.php<\/strong><\/p>\n<pre><strong>\u65b0\u3057\u3044\u74b0\u5883\u304b\u3089\u30ed\u30b0\u30a4\u30f3\u3055\u308c\u307e\u3057\u305f\u3002&lt;br&gt;<\/strong>\r\n<strong>\u3053\u306e\u30ed\u30b0\u30a4\u30f3\u306b\u5fc3\u5f53\u305f\u308a\u306f\u3042\u308a\u307e\u3059\u304b\uff1f&lt;br&gt;&lt;br&gt;<\/strong>\r\n\r\n<strong>&lt;a href=\"{{ $temporary_signed_url }}\"&gt;\u306f\u3044\uff08\u6b21\u56de\u304b\u3089\u306f\u78ba\u8a8d\u3057\u306a\u3044\uff09&lt;\/a&gt;&lt;br&gt;&lt;br&gt;<\/strong>\r\n<strong>&lt;a href=\"\"&gt;\u3044\u3044\u3048&lt;\/a&gt;&lt;br&gt;&lt;br&gt;<\/strong>\r\n\r\n<strong>\u203b \u4e0a\u8a18\u306eURL\u306f30\u5206\u306e\u307f\u6709\u52b9\u3067\u3059\u3002<\/strong><\/pre>\n<h1>\u65b0\u3057\u3044\u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c8\u3092\u8a8d\u8a3c\uff08\u8ffd\u52a0\uff09\u3059\u308b\u30da\u30fc\u30b8\u3092\u3064\u304f\u308b<\/h1>\n<p>\u5148\u307b\u3069\u306e\u30e1\u30fc\u30eb\u6587\u9762\u3067\u300c<strong>\u306f\u3044\uff08\u6b21\u56de\u304b\u3089\u306f\u78ba\u8a8d\u3057\u306a\u3044\uff09<\/strong>\u300d\u304c\u30af\u30ea\u30c3\u30af\u3055\u308c\u305f\u3068\u304d\u5b9f\u884c\u3055\u308c\u308b\u30da\u30fc\u30b8\u3067\u3001<span style=\"font-size: 1rem;\">\u65b0\u3057\u3044\u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c8\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\uff08\u3064\u307e\u308a\u3001\u6b21\u304b\u3089\u306f\u30e1\u30fc\u30eb\u9001\u4fe1\u3055\u308c\u306a\u304f\u306a\u308b\uff09<\/span><\/p>\n<p>\u203b \u306a\u304a\u3001\u4eca\u56de\u306f\u3064\u304f\u308a\u307e\u305b\u3093\u304c\u300c<strong>\u3044\u3044\u3048<\/strong>\u300d\u306e\u5834\u5408\u306f\u3001\u5168\u30ed\u30b0\u30a4\u30f3\u3092\u5f37\u5236\u30ed\u30b0\u30a2\u30a6\u30c8\u3055\u305b\u308b\u3088\u3046\u306b\u3057\u3066\u3082\u3044\u3044\u3067\u3057\u3087\u3046\u3002\u307e\u305f\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u5909\u66f4\u3092\u8981\u6c42\u3057\u3066\u3082\u3044\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\ud83d\udc4d<\/p>\n<p>\u3067\u306f\u3001\u307e\u305a\u306f\u30eb\u30fc\u30c8\u3067\u3059\u3002<\/p>\n<p><strong>routes\/web.php<\/strong><\/p>\n<pre><strong>use App\\Http\\Controllers\\AcceptFingerprintController;<\/strong>\r\n\r\n\/\/ \u7701\u7565\r\n\r\n<strong>Route::prefix('accept_fingerprint')-&gt;controller(AcceptFingerprintController::class)-&gt;group(function(){<\/strong>\r\n\r\n<strong>    Route::get('{user}\/{fingerprint}', 'save')-&gt;name('accept_fingerprint.save');<\/strong>\r\n\r\n<strong>});<\/strong><\/pre>\n<p>\u7d9a\u3044\u3066\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3067\u3059\u3002<br \/>\n\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><strong>php artisan make:controller AcceptFingerprintController<\/strong><\/pre>\n<p>\u3059\u308b\u3068\u3001\u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u6210\u3055\u308c\u308b\u306e\u3067\u4e2d\u8eab\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<p><strong>app\/Http\/Controllers\/AcceptFingerprintController.php<\/strong><\/p>\n<pre>&lt;?php\r\n\r\nnamespace App\\Http\\Controllers;\r\n\r\n<strong>use App\\Models\\User;<\/strong>\r\n<strong>use App\\Models\\UserFingerprint;<\/strong>\r\nuse Illuminate\\Http\\Request;\r\n\r\nclass AcceptFingerprintController extends Controller\r\n{\r\n    <strong>public function save(Request $request, User $user, string $fingerprint): string<\/strong>\r\n<strong>    {<\/strong>\r\n<strong>        if (! $request-&gt;hasValidSignature()) {<\/strong>\r\n\r\n<strong>            abort(401);<\/strong>\r\n\r\n<strong>        }<\/strong>\r\n\r\n<strong>        \/\/ \u65b0\u3057\u3044\u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c8\u3092\u4fdd\u5b58\u3059\u308b<\/strong>\r\n<strong>        $user_fingerprint = UserFingerprint::firstOrNew([<\/strong>\r\n<strong>            'user_id' =&gt; $user-&gt;id,<\/strong>\r\n<strong>            'fingerprint' =&gt; $fingerprint,<\/strong>\r\n<strong>        ]);<\/strong>\r\n<strong>        $user_fingerprint-&gt;user_id = $user-&gt;id;<\/strong>\r\n<strong>        $user_fingerprint-&gt;fingerprint = $fingerprint;<\/strong>\r\n<strong>        $user_fingerprint-&gt;save();<\/strong>\r\n\r\n<strong>        return '\u3053\u306e\u74b0\u5883\u304b\u3089\u306e\u30ed\u30b0\u30a4\u30f3\u3092\u8a8d\u8a3c\u3057\u307e\u3057\u305f'; \/\/ \u672c\u756a\u3067\u306f\u30da\u30fc\u30b8\u3092\u8868\u793a\u3055\u305b\u3066\u304f\u3060\u3055\u3044<\/strong>\r\n<strong>    }<\/strong>\r\n}<\/pre>\n<p><code>hasValidSignature()<\/code>\u304c\u5148\u307b\u3069\u306e\u8a8d\u8a3cURL\u304c\u6b63\u3057\u3044\u304b\u3069\u3046\u304b\u30c1\u30a7\u30c3\u30af\u3057\u3066\u3044\u308b\u90e8\u5206\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u203b \u305d\u308c\u306b\u3057\u3066\u3082PHP\u3082\u578b\u3092\u3064\u3051\u308b\u5f62\u5f0f\u304c\u4e3b\u6d41\u306b\u306a\u308b\u3093\u3067\u3057\u3087\u3046\u304b\u3002\u6b63\u76f4\u306a\u3068\u3053\u308d\u30b3\u30fc\u30c9\u304c\u591a\u304f\u306a\u308b\u306e\u3067\u597d\u304d\u3058\u3083\u306a\u304b\u3063\u305f\u308a\u3059\u308b\u3093\u3067\u3059\u3051\u3069\u306d\u2026\ud83d\ude05<\/p>\n<p>\u3053\u308c\u3067\u4f5c\u696d\u306f\u5b8c\u4e86\u3067\u3059\u2757<br \/>\n\u304a\u3064\u304b\u308c\u3055\u307e\u3067\u3057\u305f\ud83d\ude04\ud83d\udc4d<\/p>\n<h1>\u30c6\u30b9\u30c8\u3057\u3066\u307f\u308b<\/h1>\n<p>\u3067\u306f\u5b9f\u969b\u306b\u30c6\u30b9\u30c8\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u2757<br \/>\n\u307e\u305a\u3001DB\u3092\u7a7a\u306e\u72b6\u614b\u306b\u3057\u305f\u3044\u306e\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre><strong>php artisan migrate:fresh<\/strong><\/pre>\n<p>\u3067\u306f\u3001\u300c\u5c71\u7530\u592a\u90ce\u300d\u3055\u3093\u3067\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br \/>\n\u30d6\u30e9\u30a6\u30b6\u3067\u300c<strong>http:\/\/******\/register<\/strong>\u300d\u3078\u30a2\u30af\u30bb\u30b9\u3057\u3001\u5fc5\u8981\u306a\u9805\u76ee\u3092\u5165\u529b\u3057\u3066\u300cRegister\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11185\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_10.png\" alt=\"\" width=\"436\" height=\"387\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_10.png 436w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_10-300x266.png 300w\" sizes=\"auto, (max-width: 436px) 100vw, 436px\" \/><\/p>\n<p>\u3059\u308b\u3068\u30fb\u30fb\u30fb\u30fb\u30fb\u30fb<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11186\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_11.png\" alt=\"\" width=\"355\" height=\"284\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_11.png 355w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_11-300x240.png 300w\" sizes=\"auto, (max-width: 355px) 100vw, 355px\" \/><\/p>\n<p>\u306f\u3044\u2757<br \/>\n\u767b\u9332\u3055\u308c\u3066\u30ed\u30b0\u30a4\u30f3\u72b6\u614b\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u3067\u306f\u3001DB\u30c6\u30fc\u30d6\u30eb\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11187\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_12.png\" alt=\"\" width=\"444\" height=\"273\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_12.png 444w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_12-300x184.png 300w\" sizes=\"auto, (max-width: 444px) 100vw, 444px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11188\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_13.png\" alt=\"\" width=\"442\" height=\"271\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_13.png 442w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_13-300x184.png 300w\" sizes=\"auto, (max-width: 442px) 100vw, 442px\" \/><\/p>\n<p>\u306f\u3044\u2757<br \/>\n\u60f3\u5b9a\u901a\u308a<code>users<\/code>\u3068<code>user_fingerprints<\/code>\u306b\u30c7\u30fc\u30bf\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>\u3067\u306f\u3001\u5148\u307b\u3069\u767b\u9332\u3055\u308c\u305f\u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c8\u3092\u624b\u52d5\u3067\u300c<strong>xxxxxxxxxxxxxxxxxxxxx<\/strong>\u300d\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11189\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_14.png\" alt=\"\" width=\"443\" height=\"319\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_14.png 443w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_14-300x216.png 300w\" sizes=\"auto, (max-width: 443px) 100vw, 443px\" \/><\/p>\n<p>\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067\u4e00\u65e6\u30ed\u30b0\u30a2\u30a6\u30c8\u3057\u3001\u518d\u5ea6\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u3069\u3046\u306a\u3063\u305f\u3067\u3057\u3087\u3046\u304b\u30fb\u30fb\u30fb\u30fb\u30fb\u30fb<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11190\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_15.png\" alt=\"\" width=\"405\" height=\"441\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_15.png 405w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_15-276x300.png 276w\" sizes=\"auto, (max-width: 405px) 100vw, 405px\" \/><\/p>\n<p>\u306f\u3044\u2757<br \/>\n\u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c8\u304c\u767b\u9332\u3055\u308c\u3066\u3044\u306a\u3044\uff08\u5225\u74b0\u5883\u304b\u3089\u30ed\u30b0\u30a4\u30f3\u3057\u305f\uff09\u3068\u3044\u3046\u3053\u3068\u3067\u901a\u77e5\u30e1\u30fc\u30eb\u304c\u5c4a\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u3067\u306f\u3001\u3053\u306e\u30e1\u30fc\u30eb\u5185\u306e\u300c<strong>\u306f\u3044\uff08\u6b21\u56de\u304b\u3089\u306f\u78ba\u8a8d\u3057\u306a\u3044\uff09<\/strong>\u300d\u30ea\u30f3\u30af\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u3046\u307e\u304f\u3044\u304f\u3067\u3057\u3087\u3046\u304b\u30fb\u30fb\u30fb\u30fb\u30fb\u30fb\uff1f\uff1f<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11191\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_16.png\" alt=\"\" width=\"322\" height=\"45\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_16.png 322w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_16-300x42.png 300w\" sizes=\"auto, (max-width: 322px) 100vw, 322px\" \/><\/p>\n<p>\u306f\u3044\u2757<br \/>\n\u767b\u9332\u5b8c\u4e86\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>\u3067\u306f\u3001\u672c\u5f53\u306b\u65b0\u3057\u3044\u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c8\u304c\u767b\u9332\u3055\u308c\u3066\u3044\u308b\u306e\u304b\u30c1\u30a7\u30c3\u30af\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11192\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_17.png\" alt=\"\" width=\"445\" height=\"297\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_17.png 445w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2022\/11\/laravel_react_wasm_tesseract_17-300x200.png 300w\" sizes=\"auto, (max-width: 445px) 100vw, 445px\" \/><\/p>\n<p>\u306f\u3044\u2757<br \/>\n\u540c\u3058\u30e6\u30fc\u30b6\u30fc\u7528\u306b\u65b0\u3057\u3044\u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c8\u304c\u767b\u9332\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>\uff08\u306a\u304a\u3001\u3082\u3046\u4e00\u5ea6\u30ed\u30b0\u30a2\u30a6\u30c8\u3057\u3066\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u307f\u307e\u3057\u305f\u304c\u3001\u901a\u77e5\u30e1\u30fc\u30eb\u306f\u5c4a\u304d\u307e\u305b\u3093\u3067\u3057\u305f\uff09<\/p>\n<p>\u3059\u3079\u3066\u6210\u529f\u3067\u3059\ud83d\ude04\ud83d\udc4d<\/p>\n<h1>\u4f01\u696d\u69d8\u3078\u306e\u3054\u63d0\u6848<\/h1>\n<p>\u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c8\u3092\u4f7f\u3046\u3068\u3001\u4eca\u56de\u306e\u3088\u3046\u306a\u300c<strong>\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u3063\u3068\u308a\u9632\u6b62<\/strong>\u300d\u3060\u3051\u3067\u306a\u304f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u6a5f\u80fd\u3092\u3064\u304f\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<ul>\n<li><strong>\u767b\u9332\u3055\u308c\u3066\u3044\u306a\u3044\u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c8\u304b\u3089\u306e\u5b9f\u884c\u306f\u62d2\u5426\u3059\u308b\uff08\u4f8b\u3048\u3070\u652f\u6255\u3044\u7533\u8acb\u306a\u3069\uff09<\/strong><\/li>\n<li><strong>\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u53cb\u4eba\u3084\u5bb6\u65cf\u3067\u30b7\u30a7\u30a2\u3057\u3066\u5229\u7528\u3055\u308c\u308b\u306e\u3092\u9632\u3050<\/strong><\/li>\n<li><strong>\u30dc\u30c3\u30c8\uff08\u6a5f\u68b0\u7684\u306a\u30a2\u30af\u30bb\u30b9\uff09\u3092\u62bd\u51fa\u3059\u308b<\/strong><\/li>\n<\/ul>\n<p>\u4ee5\u4e0a\u306e\u3088\u3046\u306a\u6a5f\u80fd\u3092\u3054\u5e0c\u671b\u306e\u65b9\u306f\u305c\u3072\u304a\u554f\u3044\u5408\u308f\u305b\u304b\u3089\u3054\u76f8\u8ac7\u304f\u3060\u3055\u3044\u3002<br \/>\n\u304a\u5f85\u3061\u3057\u3066\u304a\u308a\u307e\u3059\u3002\ud83d\ude04\u2728<\/p>\n<h1>\u304a\u308f\u308a\u306b<\/h1>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u4eca\u56de\u306f\u300c<strong>\u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c8<\/strong>\u300d\u3092\u4f7f\u3063\u3066\u4e0d\u6b63\u30ed\u30b0\u30a4\u30f3\u5bfe\u7b56\u3092\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>\u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c8\u306e\u4ed5\u7d44\u307f\u304c\u3069\u3046\u306a\u3063\u3066\u3044\u308b\u304b\u306f\u5206\u304b\u308a\u307e\u305b\u3093\u304c\u3001\u78ba\u304b\u306b\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u30fb\u30e2\u30fc\u30c9\u306b\u5207\u308a\u66ff\u3048\u3066\u3082\u540c\u3058\u6587\u5b57\u5217\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u306e\u3067\u3001\u7cbe\u5ea6\u306f\u9ad8\u3044\u3093\u3058\u3083\u306a\u3044\u304b\u3068\u3044\u3046\u5370\u8c61\u3067\u3059\u3002<\/p>\n<p>\u306a\u304a\u3001\u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c8\u306f<code>Cookie<\/code>\u306e\u3088\u3046\u306b\u5229\u7528\u306b\u5f53\u305f\u3063\u3066\u306f\u672c\u4eba\u304b\u3089\u306e\u8a31\u53ef\u304c\u5fc5\u8981\u306a\u5834\u5408\u3082\u3042\u308b\u3088\u3046\u306a\u306e\u3067\u3001\u305d\u306e\u3042\u305f\u308a\u306f\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306e\u7ba1\u7406\u8005\u306f\u6c17\u3092\u3064\u3051\u3066\u304a\u3044\u305f\u307b\u3046\u304c\u3044\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u30b7\u30b9\u30c6\u30e0\u958b\u767a\u8005\u306f\u52c9\u5f37\u3059\u308b\u3053\u3068\u591a\u3044\u3067\u3059\u306d\ud83d\ude05<\/p>\n<p>\u305c\u3072\u7686\u3055\u3093\u3082\u6311\u6226\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u306d\u3002<\/p>\n<p>\u3067\u306f\u3067\u306f\u301c\u2757<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3566 aligncenter\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/04\/no_1.png\" alt=\"\" width=\"306\" height=\"320\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/04\/no_1.png 306w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/04\/no_1-287x300.png 287w\" sizes=\"auto, (max-width: 306px) 100vw, 306px\" \/>\u300c\u30d1\u30cd\u30eb\u30d2\u30fc\u30bf\u30fc\u3067<br \/>\n\u8db3\u304c\u51b7\u3048\u306a\u304f\u306a\u308a\u307e\u3057\u305f\ud83e\udd17\u300d<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3055\u3066\u3055\u3066\u3001\u79c1\u306f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306e\u5c02\u9580\u3067\u306f\u306a\u3044\u3067\u3059\u304c\u3001\u305d\u3046\u306f\u8a00\u3063\u3066\u3082\u958b\u767a\u8005\u3068\u3057\u3066\u3042\u308b\u7a0b\u5ea6\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306e\u77e5\u8b58\u306f\u3082\u3063\u3066\u304a\u304b\u306a\u3044\u3068\u3044\u3051\u307e\u305b\u3093\u3002 \u4f8b\u3048\u3070\u3001\u300c\u8ab0\u304b\u306b\u306a\u308a\u3059\u307e\u3057 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/blog.capilano-fw.com\/?p=11174\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;Laravel + React \u30d5\u30a3\u30f3\u30ac\u30fc\u30d7\u30ea\u30f3\u30c8\u3092\u4f7f\u3063\u3066\u4e0d\u6b63\u30ed\u30b0\u30a4\u30f3\u5bfe\u7b56&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":11195,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[247,3,118,249,248],"tags":[],"class_list":["post-11174","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-inertia-js","category-laravel","category-react-js","category-tailwind-css","category-vite"],"_links":{"self":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/11174","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11174"}],"version-history":[{"count":6,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/11174\/revisions"}],"predecessor-version":[{"id":11196,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/11174\/revisions\/11196"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/media\/11195"}],"wp:attachment":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}