{"id":12439,"date":"2025-12-15T18:31:02","date_gmt":"2025-12-15T09:31:02","guid":{"rendered":"https:\/\/rakkoserver.com\/plus\/?p=12148"},"modified":"2025-12-15T18:31:02","modified_gmt":"2025-12-15T09:31:02","slug":"tool-jwt-decoder-encoder","status":"publish","type":"post","link":"https:\/\/rakkokeyword.com\/techo\/tool-jwt-decoder-encoder\/","title":{"rendered":"JWT\u30a8\u30f3\u30b3\u30fc\u30c9\/\u30c7\u30b3\u30fc\u30c9\u30c4\u30fc\u30eb"},"content":{"rendered":"\n<!-- JWT\u76f8\u4e92\u5909\u63db\u30fb\u691c\u8a3c\u30c4\u30fc\u30eb\uff08\u81ea\u52d5\u5224\u5b9a\u7248\uff09 -->\n<div id=\"jwtDebuggerContainer\" style=\"width: 100%; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #333;\">\n  <style>\n    #jwtDebuggerContainer * {\n      box-sizing: border-box;\n    }\n    \n    .jwt-input-section {\n      margin-bottom: 20px;\n    }\n    \n    .jwt-label {\n      display: block;\n      font-weight: 600;\n      margin-bottom: 8px;\n      font-size: 14px;\n      color: #333;\n    }\n    \n    .jwt-main-input {\n      width: 100%;\n      min-height: 120px;\n      padding: 12px;\n      border: 2px solid #ddd;\n      border-radius: 4px;\n      font-family: 'Courier New', monospace;\n      font-size: 13px;\n      resize: vertical;\n      background: #f9f9f9;\n    }\n    \n    .jwt-main-input:focus {\n      outline: none;\n      border-color: #007cba;\n      background: #fff;\n    }\n    \n    @media (max-width: 768px) {\n      .jwt-main-input {\n        font-size: 12px;\n        padding: 10px;\n      }\n      \n      .jwt-main-input::placeholder {\n        font-size: 11px;\n      }\n    }\n    \n    .jwt-input-hint {\n      font-size: 12px;\n      color: #666;\n      margin-top: 6px;\n    }\n    \n    .jwt-mode-indicator {\n      display: inline-block;\n      padding: 4px 12px;\n      border-radius: 12px;\n      font-size: 12px;\n      font-weight: 600;\n      margin-bottom: 12px;\n    }\n    \n    .jwt-mode-decode {\n      background: #e3f2fd;\n      color: #1565c0;\n    }\n    \n    .jwt-mode-encode {\n      background: #f3e5f5;\n      color: #6a1b9a;\n    }\n    \n    .jwt-output-section {\n      margin-bottom: 20px;\n    }\n    \n    .jwt-section-title {\n      font-weight: 600;\n      margin-bottom: 12px;\n      font-size: 15px;\n      color: #333;\n    }\n    \n    \/* \u30c7\u30b3\u30fc\u30c9\u30e2\u30fc\u30c9\u7528\u30b9\u30bf\u30a4\u30eb *\/\n    .jwt-decode-view {\n      display: none;\n    }\n    \n    .jwt-decode-view.active {\n      display: block;\n    }\n    \n    .jwt-decoded-grid {\n      display: grid;\n      grid-template-columns: 1fr 1fr;\n      gap: 20px;\n      margin-bottom: 20px;\n    }\n    \n    @media (max-width: 768px) {\n      .jwt-decoded-grid {\n        grid-template-columns: 1fr;\n      }\n    }\n    \n    .jwt-json-editor {\n      width: 100%;\n      min-height: 120px;\n      padding: 12px;\n      border: 1px solid #ddd;\n      border-radius: 4px;\n      font-family: 'Courier New', monospace;\n      font-size: 12px;\n      resize: vertical;\n      background: #f9f9f9;\n      margin-bottom: 12px;\n    }\n    \n    .jwt-json-editor:focus {\n      outline: none;\n      border-color: #007cba;\n      background: #fff;\n    }\n    \n    @media (max-width: 768px) {\n      .jwt-json-editor {\n        font-size: 11px;\n        padding: 10px;\n      }\n    }\n    \n    \/* \u30a8\u30f3\u30b3\u30fc\u30c9\u30e2\u30fc\u30c9\u7528\u30b9\u30bf\u30a4\u30eb *\/\n    .jwt-encode-view {\n      display: none;\n    }\n    \n    .jwt-encode-view.active {\n      display: block;\n    }\n    \n    .jwt-encoded-result {\n      padding: 12px;\n      background: #f5f5f5;\n      border: 1px solid #ddd;\n      border-radius: 4px;\n      font-family: 'Courier New', monospace;\n      font-size: 12px;\n      word-break: break-all;\n      line-height: 1.6;\n      min-height: 80px;\n      margin-bottom: 12px;\n    }\n    \n    .jwt-header-part {\n      color: #d63031;\n      font-weight: 600;\n    }\n    \n    .jwt-payload-part {\n      color: #6c5ce7;\n      font-weight: 600;\n    }\n    \n    .jwt-signature-part {\n      color: #0984e3;\n      font-weight: 600;\n    }\n    \n    .jwt-algorithm-select {\n      width: 100%;\n      padding: 8px;\n      border: 1px solid #ddd;\n      border-radius: 4px;\n      margin-bottom: 12px;\n      font-size: 13px;\n      background: #fff;\n    }\n    \n    @media (max-width: 768px) {\n      .jwt-algorithm-select {\n        font-size: 12px;\n      }\n    }\n    \n    .jwt-verify-section {\n      margin-top: 16px;\n      padding: 12px;\n      background: #f9f9f9;\n      border-radius: 4px;\n    }\n    \n    .jwt-secret-label {\n      display: block;\n      font-weight: 600;\n      margin-bottom: 8px;\n      font-size: 13px;\n    }\n    \n    .jwt-secret-input-wrapper {\n      position: relative;\n      margin-bottom: 12px;\n    }\n    \n    .jwt-secret-input {\n      width: 100%;\n      padding: 8px 60px 8px 8px;\n      border: 1px solid #ddd;\n      border-radius: 4px;\n      font-family: 'Courier New', monospace;\n      font-size: 12px;\n    }\n    \n    @media (max-width: 768px) {\n      .jwt-secret-input {\n        font-size: 11px;\n        padding: 8px 55px 8px 8px;\n      }\n      \n      .jwt-secret-input::placeholder {\n        font-size: 10px;\n      }\n    }\n    \n    .jwt-secret-toggle {\n      position: absolute;\n      right: 8px;\n      top: 50%;\n      transform: translateY(-50%);\n      background: #f0f0f0;\n      border: 1px solid #ddd;\n      cursor: pointer;\n      font-size: 11px;\n      color: #333;\n      padding: 4px 8px;\n      border-radius: 3px;\n      font-weight: 600;\n    }\n    \n    .jwt-secret-toggle:hover {\n      background: #e0e0e0;\n      border-color: #ccc;\n    }\n    \n    @media (max-width: 768px) {\n      .jwt-secret-toggle {\n        font-size: 10px;\n        padding: 3px 6px;\n        right: 6px;\n      }\n    }\n    \n    .jwt-verify-status {\n      padding: 10px;\n      border-radius: 4px;\n      text-align: center;\n      font-weight: 600;\n      font-size: 13px;\n      margin-bottom: 8px;\n    }\n    \n    .jwt-verify-success {\n      background: #d4edda;\n      color: #155724;\n      border: 1px solid #c3e6cb;\n    }\n    \n    .jwt-verify-error {\n      background: #f8d7da;\n      color: #721c24;\n      border: 1px solid #f5c6cb;\n    }\n    \n    .jwt-verify-info {\n      background: #d1ecf1;\n      color: #0c5460;\n      border: 1px solid #bee5eb;\n    }\n    \n    .jwt-security-note {\n      font-size: 11px;\n      color: #666;\n      margin-top: 8px;\n    }\n    \n    .jwt-button {\n      background: #13284B;\n      color: #fff;\n      border: none;\n      padding: 10px 16px;\n      border-radius: 4px;\n      cursor: pointer;\n      font-size: 13px;\n      min-height: 40px;\n      font-weight: 600;\n      transition: background 0.2s;\n    }\n    \n    .jwt-button:hover {\n      background: #1a3a6b;\n    }\n    \n    .jwt-button:active {\n      background: #0f1f3a;\n    }\n    \n    .jwt-button:disabled {\n      background: #ccc;\n      cursor: not-allowed;\n    }\n    \n    .jwt-copy-btn {\n      display: inline-block;\n      margin-top: 8px;\n      padding: 6px 12px;\n      min-height: 32px;\n    }\n    \n    .jwt-clear-btn {\n      width: 100%;\n      margin-top: 20px;\n    }\n    \n    .jwt-error-alert {\n      background: #fff3cd;\n      border: 1px solid #ffc107;\n      color: #856404;\n      padding: 10px;\n      border-radius: 4px;\n      margin-bottom: 12px;\n      font-size: 13px;\n    }\n    \n    .jwt-warning-note {\n      background: #fff3cd;\n      border-left: 3px solid #ffc107;\n      padding: 8px;\n      margin-bottom: 12px;\n      font-size: 12px;\n      color: #856404;\n    }\n    \n    .jwt-empty-state {\n      text-align: center;\n      padding: 40px 20px;\n      color: #999;\n      font-size: 14px;\n    }\n  <\/style>\n\n  <!-- 1. \u30e1\u30a4\u30f3\u5165\u529b\u30a8\u30ea\u30a2 -->\n  <div class=\"jwt-input-section\">\n    <label class=\"jwt-label\" for=\"jwtMainInput\">JWT \u307e\u305f\u306f JSON \u3092\u5165\u529b<\/label>\n    <textarea id=\"jwtMainInput\" class=\"jwt-main-input\" placeholder=\"JWT\u6587\u5b57\u5217\uff08eyJ...\uff09\u307e\u305f\u306fJSON\u5f62\u5f0f\uff08Header + Payload\uff09\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\" spellcheck=\"false\" maxlength=\"51200\" aria-label=\"JWT \u307e\u305f\u306f JSON \u5165\u529b\u30a8\u30ea\u30a2\"><\/textarea>\n    <p class=\"jwt-input-hint\">\ud83d\udca1 JWT\u5f62\u5f0f\u3092\u5165\u529b \u2192 \u30c7\u30b3\u30fc\u30c9\u7d50\u679c\u3092\u8868\u793a | JSON\u5f62\u5f0f\u3092\u5165\u529b \u2192 JWT \u3092\u751f\u6210<\/p>\n    <div id=\"jwtInputError\" class=\"jwt-error-alert\" style=\"display: none;\"><\/div>\n  <\/div>\n\n  <!-- 2. \u51fa\u529b\u30a8\u30ea\u30a2 -->\n  <div class=\"jwt-output-section\">\n    <div id=\"jwtModeIndicator\" class=\"jwt-mode-indicator\" style=\"display: none;\"><\/div>\n\n    <!-- 2-A. \u30c7\u30b3\u30fc\u30c9\u30e2\u30fc\u30c9\uff08JWT \u2192 JSON\uff09 -->\n    <div id=\"jwtDecodeView\" class=\"jwt-decode-view\">\n      <p class=\"jwt-section-title\">\u30c7\u30b3\u30fc\u30c9\u7d50\u679c<\/p>\n      \n      <div class=\"jwt-decoded-grid\">\n        <div>\n          <label class=\"jwt-label\" for=\"jwtHeaderEditor\">Header (JSON)<\/label>\n          <textarea id=\"jwtHeaderEditor\" class=\"jwt-json-editor\" spellcheck=\"false\" aria-label=\"JWT\u30d8\u30c3\u30c0\u30fc\u7de8\u96c6\"><\/textarea>\n          <div id=\"jwtHeaderError\" class=\"jwt-error-alert\" style=\"display: none;\"><\/div>\n        <\/div>\n\n        <div>\n          <label class=\"jwt-label\" for=\"jwtPayloadEditor\">Payload (JSON)<\/label>\n          <textarea id=\"jwtPayloadEditor\" class=\"jwt-json-editor\" spellcheck=\"false\" aria-label=\"JWT\u30da\u30a4\u30ed\u30fc\u30c9\u7de8\u96c6\"><\/textarea>\n          <div id=\"jwtPayloadError\" class=\"jwt-error-alert\" style=\"display: none;\"><\/div>\n        <\/div>\n      <\/div>\n\n      <button id=\"jwtCopyDecoded\" class=\"jwt-button jwt-copy-btn\" aria-label=\"\u30c7\u30b3\u30fc\u30c9\u7d50\u679c\u3092\u30b3\u30d4\u30fc\">\u30c7\u30b3\u30fc\u30c9\u7d50\u679c\u3092\u30b3\u30d4\u30fc<\/button>\n\n      <!-- \u7f72\u540d\u691c\u8a3c\uff08\u30c7\u30b3\u30fc\u30c9\u30e2\u30fc\u30c9\u7528\uff09 -->\n      <div class=\"jwt-verify-section\">\n        <label class=\"jwt-secret-label\" for=\"jwtSecretInputDecode\">\u7f72\u540d\u691c\u8a3c<\/label>\n        <div class=\"jwt-warning-note\" id=\"jwtRsaWarningDecode\" style=\"display: none;\">\n          \u26a0\ufe0f RS\/ES\u7cfb\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u306e\u691c\u8a3c\u306b\u306fPublic Key\u304c\u5fc5\u8981\u3067\u3059\n        <\/div>\n        <div class=\"jwt-secret-input-wrapper\">\n          <input type=\"password\" id=\"jwtSecretInputDecode\" class=\"jwt-secret-input\" placeholder=\"Secret or Public Key\" maxlength=\"10240\" aria-label=\"\u7f72\u540d\u691c\u8a3c\u7528\u306e\u9375\u5165\u529b\">\n          <button id=\"jwtSecretToggleDecode\" class=\"jwt-secret-toggle\" title=\"\u8868\u793a\u5207\u66ff\" aria-label=\"\u30d1\u30b9\u30ef\u30fc\u30c9\u8868\u793a\u5207\u66ff\">\u8868\u793a<\/button>\n        <\/div>\n        <div id=\"jwtVerifyStatusDecode\" class=\"jwt-verify-status jwt-verify-info\" role=\"status\" aria-live=\"polite\">\n          \u7f72\u540d\u3092\u691c\u8a3c\u3059\u308b\u306b\u306f\u3001Secret\/Public Key\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\n        <\/div>\n        <p class=\"jwt-security-note\">\n          \ud83d\udd12 \u5165\u529b\u30c7\u30fc\u30bf\u306f\u30d6\u30e9\u30a6\u30b6\u5185\u3067\u306e\u307f\u51e6\u7406\u3055\u308c\u3001\u5916\u90e8\u30b5\u30fc\u30d0\u30fc\u3078\u306f\u9001\u4fe1\u3055\u308c\u307e\u305b\u3093\n        <\/p>\n      <\/div>\n    <\/div>\n\n    <!-- 2-B. \u30a8\u30f3\u30b3\u30fc\u30c9\u30e2\u30fc\u30c9\uff08JSON \u2192 JWT\uff09 -->\n    <div id=\"jwtEncodeView\" class=\"jwt-encode-view\">\n      <p class=\"jwt-section-title\">\u30a8\u30f3\u30b3\u30fc\u30c9\u7d50\u679c\uff08\u751f\u6210\u3055\u308c\u305fJWT\uff09<\/p>\n      \n      <div id=\"jwtEncodedResult\" class=\"jwt-encoded-result\"><\/div>\n      <button id=\"jwtCopyEncoded\" class=\"jwt-button jwt-copy-btn\" aria-label=\"\u751f\u6210\u3055\u308c\u305fJWT\u3092\u30b3\u30d4\u30fc\">JWT\u3092\u30b3\u30d4\u30fc<\/button>\n\n      <!-- \u7f72\u540d\u8ffd\u52a0\uff08\u30a8\u30f3\u30b3\u30fc\u30c9\u30e2\u30fc\u30c9\u7528\uff09 -->\n      <div class=\"jwt-verify-section\">\n        <label class=\"jwt-secret-label\">\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u9078\u629e<\/label>\n        <select id=\"jwtAlgorithmSelect\" class=\"jwt-algorithm-select\" aria-label=\"\u7f72\u540d\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u9078\u629e\">\n          <option value=\"HS256\">HS256<\/option>\n          <option value=\"HS384\">HS384<\/option>\n          <option value=\"HS512\">HS512<\/option>\n          <option value=\"RS256\">RS256 (\u691c\u8a3c\u306e\u307f)<\/option>\n          <option value=\"RS384\">RS384 (\u691c\u8a3c\u306e\u307f)<\/option>\n          <option value=\"RS512\">RS512 (\u691c\u8a3c\u306e\u307f)<\/option>\n          <option value=\"ES256\">ES256 (\u691c\u8a3c\u306e\u307f)<\/option>\n          <option value=\"ES384\">ES384 (\u691c\u8a3c\u306e\u307f)<\/option>\n          <option value=\"ES512\">ES512 (\u691c\u8a3c\u306e\u307f)<\/option>\n          <option value=\"none\">none (\u7f72\u540d\u306a\u3057)<\/option>\n        <\/select>\n\n        <label class=\"jwt-secret-label\" for=\"jwtSecretInputEncode\">\u7f72\u540d\u7528Secret Key<\/label>\n        <div class=\"jwt-warning-note\" id=\"jwtRsaWarningEncode\" style=\"display: none;\">\n          \u26a0\ufe0f RS\/ES\u7cfb\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u306e\u7f72\u540d\u751f\u6210\u306b\u306f\u79d8\u5bc6\u9375\u304c\u5fc5\u8981\u3067\u3059\uff08\u3053\u306e\u30c4\u30fc\u30eb\u3067\u306f\u975e\u5bfe\u5fdc\uff09\n        <\/div>\n        <div class=\"jwt-secret-input-wrapper\">\n          <input type=\"password\" id=\"jwtSecretInputEncode\" class=\"jwt-secret-input\" placeholder=\"Secret Key\" maxlength=\"10240\" aria-label=\"\u7f72\u540d\u751f\u6210\u7528\u306e\u9375\u5165\u529b\">\n          <button id=\"jwtSecretToggleEncode\" class=\"jwt-secret-toggle\" title=\"\u8868\u793a\u5207\u66ff\" aria-label=\"\u30d1\u30b9\u30ef\u30fc\u30c9\u8868\u793a\u5207\u66ff\">\u8868\u793a<\/button>\n        <\/div>\n        <div id=\"jwtSignStatusEncode\" class=\"jwt-verify-status jwt-verify-info\" role=\"status\" aria-live=\"polite\">\n          \u7f72\u540d\u3092\u8ffd\u52a0\u3059\u308b\u306b\u306f\u3001Secret Key\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\n        <\/div>\n        <p class=\"jwt-security-note\">\n          \ud83d\udd12 \u5165\u529b\u30c7\u30fc\u30bf\u306f\u30d6\u30e9\u30a6\u30b6\u5185\u3067\u306e\u307f\u51e6\u7406\u3055\u308c\u3001\u5916\u90e8\u30b5\u30fc\u30d0\u30fc\u3078\u306f\u9001\u4fe1\u3055\u308c\u307e\u305b\u3093\n        <\/p>\n      <\/div>\n    <\/div>\n\n    <!-- 2-C. \u7a7a\u72b6\u614b -->\n    <div id=\"jwtEmptyState\" class=\"jwt-empty-state\">\n      JWT\u307e\u305f\u306fJSON\u3092\u5165\u529b\u3059\u308b\u3068\u3001\u7d50\u679c\u304c\u3053\u3053\u306b\u8868\u793a\u3055\u308c\u307e\u3059\n    <\/div>\n  <\/div>\n\n  <!-- 3. \u30af\u30ea\u30a2\u30dc\u30bf\u30f3 -->\n  <button id=\"jwtClearBtn\" class=\"jwt-button jwt-clear-btn\" aria-label=\"\u5168\u3066\u30af\u30ea\u30a2\">\u3059\u3079\u3066\u30af\u30ea\u30a2<\/button>\n<\/div>\n\n\n\n<p>JWT\uff08JSON Web Token\uff09\u3092\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u30c7\u30b3\u30fc\u30c9\u30fb\u30a8\u30f3\u30b3\u30fc\u30c9\u3067\u304d\u308b\u7121\u6599\u30c4\u30fc\u30eb\u3067\u3059\u3002\u5165\u529b\u5185\u5bb9\u306f\u30b5\u30fc\u30d0\u30fc\u306b\u9001\u4fe1\u3055\u308c\u305a\u3001\u3059\u3079\u3066\u30d6\u30e9\u30a6\u30b6\u5185\u3067\u5b89\u5168\u306b\u51e6\u7406\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"i-0\">\u3053\u306e\u30c4\u30fc\u30eb\u3067\u3067\u304d\u308b\u3053\u3068<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>JWT\u306e\u30c7\u30b3\u30fc\u30c9<\/strong>: \u300ceyJ\u2026\u300d\u3067\u59cb\u307e\u308bJWT\u6587\u5b57\u5217\u3092\u8cbc\u308a\u4ed8\u3051\u308b\u3060\u3051\u3067\u3001Header\u3068Payload\u306e\u4e2d\u8eab\uff08JSON\uff09\u3092\u5373\u5ea7\u306b\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>JWT\u306e\u30a8\u30f3\u30b3\u30fc\u30c9\uff08\u751f\u6210\uff09<\/strong>: JSON\u5f62\u5f0f\u306e\u30c7\u30fc\u30bf\u3092\u5165\u529b\u3059\u308b\u3068\u3001\u81ea\u52d5\u7684\u306bJWT\u6587\u5b57\u5217\u3092\u751f\u6210\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>\u7f72\u540d\u306e\u691c\u8a3c<\/strong>: Secret Key\uff08\u79d8\u5bc6\u9375\uff09\u3092\u5165\u529b\u3057\u3066\u3001JWT\u306e\u7f72\u540d\u304c\u6b63\u3057\u3044\u304b\u3069\u3046\u304b\u3092\u691c\u8a3c\u3067\u304d\u307e\u3059\u3002<\/li>\n\n\n\n<li><strong>\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u306e\u78ba\u8a8d<\/strong>: HS256\u306a\u3069\u306e\u7f72\u540d\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u78ba\u8a8d\u30fb\u5909\u66f4\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"i-1\">\u30c4\u30fc\u30eb\u306e\u4f7f\u3044\u65b9<\/h2>\n\n\n\n<p>\u3053\u306e\u30c4\u30fc\u30eb\u306f\u300c\u5165\u529b\u30a8\u30ea\u30a2\u300d\u304c1\u3064\u3060\u3051\u306e\u30b7\u30f3\u30d7\u30eb\u8a2d\u8a08\u3067\u3059\u3002\u5165\u529b\u3057\u305f\u30c6\u30ad\u30b9\u30c8\u306e\u5185\u5bb9\u3092\u81ea\u52d5\u3067\u5224\u5225\u3057\u3001\u30e2\u30fc\u30c9\u304c\u5207\u308a\u66ff\u308f\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>JWT\u3092\u30c7\u30b3\u30fc\u30c9\u3057\u305f\u3044\u5834\u5408<\/strong>\n<ul class=\"wp-block-list\">\n<li>\u4e0a\u90e8\u306e\u5165\u529b\u30a8\u30ea\u30a2\u306b\u3001\u8abf\u67fb\u3057\u305f\u3044JWT\u6587\u5b57\u5217\u3092\u8cbc\u308a\u4ed8\u3051\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n\n\n\n<li>\u81ea\u52d5\u7684\u306b\u300c\u30c7\u30b3\u30fc\u30c9\u7d50\u679c\u300d\u304c\u8868\u793a\u3055\u308c\u3001Header\uff08\u30d8\u30c3\u30c0\u30fc\uff09\u3068Payload\uff08\u30da\u30a4\u30ed\u30fc\u30c9\uff09\u306e\u4e2d\u8eab\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>JWT\u3092\u4f5c\u6210\uff08\u30a8\u30f3\u30b3\u30fc\u30c9\uff09\u3057\u305f\u3044\u5834\u5408<\/strong>\n<ul class=\"wp-block-list\">\n<li>\u4e0a\u90e8\u306e\u5165\u529b\u30a8\u30ea\u30a2\u306b\u3001JSON\u30c7\u30fc\u30bf\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n\n\n\n<li>\u81ea\u52d5\u7684\u306b\u300c\u30a8\u30f3\u30b3\u30fc\u30c9\u7d50\u679c\u300d\u304c\u8868\u793a\u3055\u308c\u3001\u751f\u6210\u3055\u308c\u305fJWT\u6587\u5b57\u5217\u3092\u30b3\u30d4\u30fc\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>\u7f72\u540d\u3092\u691c\u8a3c\u3059\u308b\u5834\u5408<\/strong>\n<ul class=\"wp-block-list\">\n<li>\u30c7\u30b3\u30fc\u30c9\u7d50\u679c\u306e\u4e0b\u90e8\u306b\u3042\u308b\u300c\u7f72\u540d\u691c\u8a3c\u300d\u30a8\u30ea\u30a2\u3092\u958b\u304d\u3001Secret Key\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u7f72\u540d\u304c\u6b63\u3057\u3044\u5834\u5408\u306f\u691c\u8a3c\u6210\u529f\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"i-2\">\u3053\u306e\u30c4\u30fc\u30eb\u3067\u53d6\u5f97\u3059\u308b\u60c5\u5831\u306e\u57fa\u790e\u77e5\u8b58<\/h2>\n\n\n\n<p>JWT\uff08JSON Web Token\uff09\u306f\u3001\u4e3b\u306bWeb\u30b5\u30fc\u30d3\u30b9\u306e\u8a8d\u8a3c\u3084\u60c5\u5831\u4ea4\u63db\u306b\u4f7f\u308f\u308c\u308b\u30c8\u30fc\u30af\u30f3\u898f\u683c\u3067\u3059\u3002\u4ee5\u4e0b\u306e3\u3064\u306e\u30d1\u30fc\u30c4\u304c\u30c9\u30c3\u30c8\uff08<code>.<\/code>\uff09\u3067\u7e4b\u304c\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Header\uff08\u30d8\u30c3\u30c0\u30fc\uff09<\/strong>: \u7f72\u540d\u306e\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3084\u30c8\u30fc\u30af\u30f3\u306e\u30bf\u30a4\u30d7\uff08JWT\uff09\u304c\u8a18\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\uff08\u8d64\u8272\u90e8\u5206\uff09\u3002<\/li>\n\n\n\n<li><strong>Payload\uff08\u30da\u30a4\u30ed\u30fc\u30c9\uff09<\/strong>: \u30e6\u30fc\u30b6\u30fcID\u3084\u6709\u52b9\u671f\u9650\uff08exp\uff09\u306a\u3069\u306e\u5b9f\u30c7\u30fc\u30bf\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\uff08\u7d2b\u8272\u90e8\u5206\uff09\u3002\u3053\u3053\u306f\u6697\u53f7\u5316\u3055\u308c\u3066\u3044\u306a\u3044\u305f\u3081\u3001\u6a5f\u5bc6\u60c5\u5831\uff08\u30d1\u30b9\u30ef\u30fc\u30c9\u306a\u3069\uff09\u3092\u542b\u3081\u3066\u306f\u3044\u3051\u307e\u305b\u3093\u3002<\/li>\n\n\n\n<li><strong>Signature\uff08\u7f72\u540d\uff09<\/strong>: \u30c8\u30fc\u30af\u30f3\u306e\u6539\u3056\u3093\u3092\u9632\u3050\u305f\u3081\u306e\u7f72\u540d\u30c7\u30fc\u30bf\u3067\u3059\uff08\u9752\u8272\u90e8\u5206\uff09\u3002<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"i-3\">\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306b\u3064\u3044\u3066\uff08\u5b89\u5168\u306a\u7406\u7531\uff09<\/h2>\n\n\n\n<p>\u5f53\u30c4\u30fc\u30eb\u306f\u3001<strong>\u3059\u3079\u3066\u306e\u51e6\u7406\u3092\u304a\u4f7f\u3044\u306e\u30d6\u30e9\u30a6\u30b6\uff08JavaScript\uff09\u306e\u307f\u3067\u884c\u3063\u3066\u3044\u307e\u3059\u3002<\/strong> <\/p>\n\n\n\n<p>\u5165\u529b\u3057\u305fJWT\u3084\u79d8\u5bc6\u9375\u304c\u5f53\u30b5\u30a4\u30c8\u306e\u30b5\u30fc\u30d0\u30fc\u3084\u5916\u90e8\u3078\u9001\u4fe1\u3055\u308c\u308b\u3053\u3068\u306f\u4e00\u5207\u3042\u308a\u307e\u305b\u3093\u306e\u3067\u3001\u958b\u767a\u4e2d\u306e\u6a5f\u5bc6\u30c7\u30fc\u30bf\u3067\u3082\u5b89\u5fc3\u3057\u3066\u3054\u5229\u7528\u3044\u305f\u3060\u3051\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"i-4\">\u3053\u306e\u30c4\u30fc\u30eb\u304c\u5f79\u7acb\u3064\u3068\u304d\u306f\u3069\u3093\u306a\u3068\u304d\uff1f\uff08\u30e6\u30fc\u30b9\u30b1\u30fc\u30b9\uff09<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u8a8d\u8a3c\u30a8\u30e9\u30fc\u306e\u539f\u56e0\u8abf\u67fb<\/strong>: \u30ed\u30b0\u30a4\u30f3\u3067\u304d\u306a\u3044\u6642\u306b\u3001\u30c8\u30fc\u30af\u30f3\u306e\u6709\u52b9\u671f\u9650\uff08exp\uff09\u304c\u5207\u308c\u3066\u3044\u306a\u3044\u304b\u3001\u6a29\u9650\uff08scope\uff09\u304c\u6b63\u3057\u3044\u304b\u3092\u78ba\u8a8d\u3059\u308b\u3002<\/li>\n\n\n\n<li><strong>\u958b\u767a\u7528\u30c8\u30fc\u30af\u30f3\u306e\u4f5c\u6210<\/strong>: \u30c6\u30b9\u30c8\u30e6\u30fc\u30b6\u30fc\u7528\u306e\u30e2\u30c3\u30af\u30c7\u30fc\u30bf\u3068\u3057\u3066\u3001\u7279\u5b9a\u306e\u30af\u30ec\u30fc\u30e0\uff08\u60c5\u5831\uff09\u3092\u6301\u3063\u305fJWT\u3092\u7d20\u65e9\u304f\u4f5c\u6210\u3059\u308b\u3002<\/li>\n\n\n\n<li><strong>\u7f72\u540d\u306e\u6574\u5408\u6027\u30c1\u30a7\u30c3\u30af<\/strong>: \u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u3068\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u3067\u9375\u306e\u8a2d\u5b9a\u304c\u5408\u3063\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3059\u308b\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>JWT \u307e\u305f\u306f JSON \u3092\u5165\u529b \ud83d\udca1 JWT\u5f62\u5f0f\u3092\u5165\u529b \u2192 \u30c7\u30b3\u30fc\u30c9\u7d50\u679c\u3092\u8868\u793a | JSON\u5f62\u5f0f\u3092\u5165\u529b \u2192 JWT \u3092\u751f\u6210 \u30c7\u30b3\u30fc\u30c9\u7d50\u679c Header (JSON) Payload (JSON) \u30c7\u30b3\u30fc\u30c9\u7d50\u679c\u3092\u30b3\u30d4\u30fc \u7f72 &#8230; <\/p>\n","protected":false},"author":4,"featured_media":13530,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,51,56],"tags":[],"class_list":{"0":"post-12439","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-tool","8":"category-security","9":"category-conversion","10":"entry"},"_links":{"self":[{"href":"https:\/\/rakkokeyword.com\/techo\/wp-json\/wp\/v2\/posts\/12439","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rakkokeyword.com\/techo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rakkokeyword.com\/techo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rakkokeyword.com\/techo\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/rakkokeyword.com\/techo\/wp-json\/wp\/v2\/comments?post=12439"}],"version-history":[{"count":0,"href":"https:\/\/rakkokeyword.com\/techo\/wp-json\/wp\/v2\/posts\/12439\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rakkokeyword.com\/techo\/wp-json\/wp\/v2\/media\/13530"}],"wp:attachment":[{"href":"https:\/\/rakkokeyword.com\/techo\/wp-json\/wp\/v2\/media?parent=12439"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rakkokeyword.com\/techo\/wp-json\/wp\/v2\/categories?post=12439"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rakkokeyword.com\/techo\/wp-json\/wp\/v2\/tags?post=12439"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}