{"id":1665,"date":"2026-01-21T17:00:37","date_gmt":"2026-01-21T08:00:37","guid":{"rendered":"https:\/\/blog.fourthgate.jp\/?p=1665"},"modified":"2026-01-21T17:00:37","modified_gmt":"2026-01-21T08:00:37","slug":"cakephp-authentication-%e3%81%ae%e4%bb%95%e6%a7%98%e5%a4%89%e6%9b%b4","status":"publish","type":"post","link":"https:\/\/blog.fourthgate.jp\/?p=1665","title":{"rendered":"CakePHP Authentication \u306e\u4ed5\u69d8\u5909\u66f4"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">CakePHP\u306eAuthentication\u304c\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3055\u308c\u305f\u305f\u3081\u306b\u3001\u4e8c\u8981\u7d20\u8a8d\u8a3c\u7528\u306b\u4f7f\u3063\u3066\u3044\u305fandrej-griniuk\/cakephp-two-factor-auth\u304c\u52d5\u304b\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002<br>ChatGPT\u5148\u751f\u306b\u304d\u3044\u305f\u3089\u3001identifier \u306e\u6271\u3044\u304c\u5909\u308f\u3063\u305f\u305f\u3081\u306b\u52d5\u304b\u306a\u304f\u306a\u3063\u305f\u2026\u3068\u3044\u3046\u3053\u3068\u3067\u3057\u305f\u3002<br>RobThree\/TwoFactorAuth \u306a\u3069\u3092\u4f7f\u7528\u3059\u308b\u306a\u3069\u3057\u3066\u3001\u3066\u3081\u30fc\u3067\u5b9f\u88c5\u3059\u308b\u304b\u3001CakeDC\/users\u3092\u4f7f\u3046\u3053\u3068\u306b\u306a\u308b\u306e\u304b\u3068\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CakePHP\u306eAuthentication\u304c\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3055\u308c\u305f\u305f\u3081\u306b\u3001\u4e8c\u8981\u7d20\u8a8d\u8a3c\u7528\u306b\u4f7f\u3063\u3066\u3044\u305fandrej-griniuk\/cakephp-two-factor-auth\u304c\u52d5\u304b\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002ChatGPT\u5148\u751f &hellip; <a href=\"https:\/\/blog.fourthgate.jp\/?p=1665\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"footnotes":""},"categories":[5],"tags":[],"class_list":["post-1665","post","type-post","status-publish","format-standard","hentry","category-web"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"CakePHP\u306eAuthentication\u304c\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3055\u308c\u305f\u305f\u3081\u306b\u3001\u4e8c\u8981\u7d20\u8a8d\u8a3c\u7528\u306b\u4f7f\u3063\u3066\u3044\u305fandrej-\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"t.akiyama\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/blog.fourthgate.jp\/?p=1665\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"\u58c1\u306b\u5411\u304b\u3063\u3066.... -\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"CakePHP Authentication \u306e\u4ed5\u69d8\u5909\u66f4 - \u58c1\u306b\u5411\u304b\u3063\u3066....\" \/>\n\t\t<meta property=\"og:description\" content=\"CakePHP\u306eAuthentication\u304c\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3055\u308c\u305f\u305f\u3081\u306b\u3001\u4e8c\u8981\u7d20\u8a8d\u8a3c\u7528\u306b\u4f7f\u3063\u3066\u3044\u305fandrej-\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/blog.fourthgate.jp\/?p=1665\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-01-21T08:00:37+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-01-21T08:00:37+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"CakePHP Authentication \u306e\u4ed5\u69d8\u5909\u66f4 - \u58c1\u306b\u5411\u304b\u3063\u3066....\" \/>\n\t\t<meta name=\"twitter:description\" content=\"CakePHP\u306eAuthentication\u304c\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3055\u308c\u305f\u305f\u3081\u306b\u3001\u4e8c\u8981\u7d20\u8a8d\u8a3c\u7528\u306b\u4f7f\u3063\u3066\u3044\u305fandrej-\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?p=1665#blogposting\",\"name\":\"CakePHP Authentication \\u306e\\u4ed5\\u69d8\\u5909\\u66f4 - \\u58c1\\u306b\\u5411\\u304b\\u3063\\u3066....\",\"headline\":\"CakePHP Authentication \\u306e\\u4ed5\\u69d8\\u5909\\u66f4\",\"author\":{\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?author=1#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/#organization\"},\"datePublished\":\"2026-01-21T17:00:37+09:00\",\"dateModified\":\"2026-01-21T17:00:37+09:00\",\"inLanguage\":\"ja\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?p=1665#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?p=1665#webpage\"},\"articleSection\":\"Web\\u30b3\\u30f3\\u30c6\\u30f3\\u30c4\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?p=1665#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.fourthgate.jp#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/blog.fourthgate.jp\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?cat=5#listItem\",\"name\":\"Web\\u30b3\\u30f3\\u30c6\\u30f3\\u30c4\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?cat=5#listItem\",\"position\":2,\"name\":\"Web\\u30b3\\u30f3\\u30c6\\u30f3\\u30c4\",\"item\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?cat=5\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?p=1665#listItem\",\"name\":\"CakePHP Authentication \\u306e\\u4ed5\\u69d8\\u5909\\u66f4\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.fourthgate.jp#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?p=1665#listItem\",\"position\":3,\"name\":\"CakePHP Authentication \\u306e\\u4ed5\\u69d8\\u5909\\u66f4\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?cat=5#listItem\",\"name\":\"Web\\u30b3\\u30f3\\u30c6\\u30f3\\u30c4\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/#organization\",\"name\":\"\\u58c1\\u306b\\u5411\\u304b\\u3063\\u3066....\",\"url\":\"https:\\\/\\\/blog.fourthgate.jp\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?author=1#author\",\"url\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?author=1\",\"name\":\"t.akiyama\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?p=1665#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d726b47f97b556c30875ce264422fbf9e624207333b4fbdeb3f0dda408f56261?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"t.akiyama\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?p=1665#webpage\",\"url\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?p=1665\",\"name\":\"CakePHP Authentication \\u306e\\u4ed5\\u69d8\\u5909\\u66f4 - \\u58c1\\u306b\\u5411\\u304b\\u3063\\u3066....\",\"description\":\"CakePHP\\u306eAuthentication\\u304c\\u30a2\\u30c3\\u30d7\\u30c7\\u30fc\\u30c8\\u3055\\u308c\\u305f\\u305f\\u3081\\u306b\\u3001\\u4e8c\\u8981\\u7d20\\u8a8d\\u8a3c\\u7528\\u306b\\u4f7f\\u3063\\u3066\\u3044\\u305fandrej-\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?p=1665#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?author=1#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/?author=1#author\"},\"datePublished\":\"2026-01-21T17:00:37+09:00\",\"dateModified\":\"2026-01-21T17:00:37+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/#website\",\"url\":\"https:\\\/\\\/blog.fourthgate.jp\\\/\",\"name\":\"\\u58c1\\u306b\\u5411\\u304b\\u3063\\u3066....\",\"inLanguage\":\"ja\",\"publisher\":{\"@id\":\"https:\\\/\\\/blog.fourthgate.jp\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"CakePHP Authentication \u306e\u4ed5\u69d8\u5909\u66f4 - \u58c1\u306b\u5411\u304b\u3063\u3066....","description":"CakePHP\u306eAuthentication\u304c\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3055\u308c\u305f\u305f\u3081\u306b\u3001\u4e8c\u8981\u7d20\u8a8d\u8a3c\u7528\u306b\u4f7f\u3063\u3066\u3044\u305fandrej-","canonical_url":"https:\/\/blog.fourthgate.jp\/?p=1665","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/blog.fourthgate.jp\/?p=1665#blogposting","name":"CakePHP Authentication \u306e\u4ed5\u69d8\u5909\u66f4 - \u58c1\u306b\u5411\u304b\u3063\u3066....","headline":"CakePHP Authentication \u306e\u4ed5\u69d8\u5909\u66f4","author":{"@id":"https:\/\/blog.fourthgate.jp\/?author=1#author"},"publisher":{"@id":"https:\/\/blog.fourthgate.jp\/#organization"},"datePublished":"2026-01-21T17:00:37+09:00","dateModified":"2026-01-21T17:00:37+09:00","inLanguage":"ja","mainEntityOfPage":{"@id":"https:\/\/blog.fourthgate.jp\/?p=1665#webpage"},"isPartOf":{"@id":"https:\/\/blog.fourthgate.jp\/?p=1665#webpage"},"articleSection":"Web\u30b3\u30f3\u30c6\u30f3\u30c4"},{"@type":"BreadcrumbList","@id":"https:\/\/blog.fourthgate.jp\/?p=1665#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/blog.fourthgate.jp#listItem","position":1,"name":"Home","item":"https:\/\/blog.fourthgate.jp","nextItem":{"@type":"ListItem","@id":"https:\/\/blog.fourthgate.jp\/?cat=5#listItem","name":"Web\u30b3\u30f3\u30c6\u30f3\u30c4"}},{"@type":"ListItem","@id":"https:\/\/blog.fourthgate.jp\/?cat=5#listItem","position":2,"name":"Web\u30b3\u30f3\u30c6\u30f3\u30c4","item":"https:\/\/blog.fourthgate.jp\/?cat=5","nextItem":{"@type":"ListItem","@id":"https:\/\/blog.fourthgate.jp\/?p=1665#listItem","name":"CakePHP Authentication \u306e\u4ed5\u69d8\u5909\u66f4"},"previousItem":{"@type":"ListItem","@id":"https:\/\/blog.fourthgate.jp#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/blog.fourthgate.jp\/?p=1665#listItem","position":3,"name":"CakePHP Authentication \u306e\u4ed5\u69d8\u5909\u66f4","previousItem":{"@type":"ListItem","@id":"https:\/\/blog.fourthgate.jp\/?cat=5#listItem","name":"Web\u30b3\u30f3\u30c6\u30f3\u30c4"}}]},{"@type":"Organization","@id":"https:\/\/blog.fourthgate.jp\/#organization","name":"\u58c1\u306b\u5411\u304b\u3063\u3066....","url":"https:\/\/blog.fourthgate.jp\/"},{"@type":"Person","@id":"https:\/\/blog.fourthgate.jp\/?author=1#author","url":"https:\/\/blog.fourthgate.jp\/?author=1","name":"t.akiyama","image":{"@type":"ImageObject","@id":"https:\/\/blog.fourthgate.jp\/?p=1665#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/d726b47f97b556c30875ce264422fbf9e624207333b4fbdeb3f0dda408f56261?s=96&d=mm&r=g","width":96,"height":96,"caption":"t.akiyama"}},{"@type":"WebPage","@id":"https:\/\/blog.fourthgate.jp\/?p=1665#webpage","url":"https:\/\/blog.fourthgate.jp\/?p=1665","name":"CakePHP Authentication \u306e\u4ed5\u69d8\u5909\u66f4 - \u58c1\u306b\u5411\u304b\u3063\u3066....","description":"CakePHP\u306eAuthentication\u304c\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3055\u308c\u305f\u305f\u3081\u306b\u3001\u4e8c\u8981\u7d20\u8a8d\u8a3c\u7528\u306b\u4f7f\u3063\u3066\u3044\u305fandrej-","inLanguage":"ja","isPartOf":{"@id":"https:\/\/blog.fourthgate.jp\/#website"},"breadcrumb":{"@id":"https:\/\/blog.fourthgate.jp\/?p=1665#breadcrumblist"},"author":{"@id":"https:\/\/blog.fourthgate.jp\/?author=1#author"},"creator":{"@id":"https:\/\/blog.fourthgate.jp\/?author=1#author"},"datePublished":"2026-01-21T17:00:37+09:00","dateModified":"2026-01-21T17:00:37+09:00"},{"@type":"WebSite","@id":"https:\/\/blog.fourthgate.jp\/#website","url":"https:\/\/blog.fourthgate.jp\/","name":"\u58c1\u306b\u5411\u304b\u3063\u3066....","inLanguage":"ja","publisher":{"@id":"https:\/\/blog.fourthgate.jp\/#organization"}}]},"og:locale":"ja_JP","og:site_name":"\u58c1\u306b\u5411\u304b\u3063\u3066.... -","og:type":"article","og:title":"CakePHP Authentication \u306e\u4ed5\u69d8\u5909\u66f4 - \u58c1\u306b\u5411\u304b\u3063\u3066....","og:description":"CakePHP\u306eAuthentication\u304c\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3055\u308c\u305f\u305f\u3081\u306b\u3001\u4e8c\u8981\u7d20\u8a8d\u8a3c\u7528\u306b\u4f7f\u3063\u3066\u3044\u305fandrej-","og:url":"https:\/\/blog.fourthgate.jp\/?p=1665","article:published_time":"2026-01-21T08:00:37+00:00","article:modified_time":"2026-01-21T08:00:37+00:00","twitter:card":"summary_large_image","twitter:title":"CakePHP Authentication \u306e\u4ed5\u69d8\u5909\u66f4 - \u58c1\u306b\u5411\u304b\u3063\u3066....","twitter:description":"CakePHP\u306eAuthentication\u304c\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3055\u308c\u305f\u305f\u3081\u306b\u3001\u4e8c\u8981\u7d20\u8a8d\u8a3c\u7528\u306b\u4f7f\u3063\u3066\u3044\u305fandrej-"},"aioseo_meta_data":{"post_id":"1665","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2026-01-27 16:10:06","updated":"2026-01-27 16:10:06","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/blog.fourthgate.jp\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/blog.fourthgate.jp\/?cat=5\" title=\"Web\u30b3\u30f3\u30c6\u30f3\u30c4\">Web\u30b3\u30f3\u30c6\u30f3\u30c4<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tCakePHP Authentication \u306e\u4ed5\u69d8\u5909\u66f4\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/blog.fourthgate.jp"},{"label":"Web\u30b3\u30f3\u30c6\u30f3\u30c4","link":"https:\/\/blog.fourthgate.jp\/?cat=5"},{"label":"CakePHP Authentication \u306e\u4ed5\u69d8\u5909\u66f4","link":"https:\/\/blog.fourthgate.jp\/?p=1665"}],"_links":{"self":[{"href":"https:\/\/blog.fourthgate.jp\/index.php?rest_route=\/wp\/v2\/posts\/1665","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.fourthgate.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.fourthgate.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.fourthgate.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.fourthgate.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1665"}],"version-history":[{"count":1,"href":"https:\/\/blog.fourthgate.jp\/index.php?rest_route=\/wp\/v2\/posts\/1665\/revisions"}],"predecessor-version":[{"id":1666,"href":"https:\/\/blog.fourthgate.jp\/index.php?rest_route=\/wp\/v2\/posts\/1665\/revisions\/1666"}],"wp:attachment":[{"href":"https:\/\/blog.fourthgate.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1665"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.fourthgate.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1665"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.fourthgate.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1665"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}