1
0
mirror of https://github.com/bitwarden/web synced 2025-12-06 00:03:28 +00:00
This commit is contained in:
Kyle Spearrin
2020-12-02 15:25:48 -05:00
parent cb2a7aa499
commit 5d69a1db6b
24 changed files with 42 additions and 42 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -11424,4 +11424,4 @@ img.logo {
padding-right: 40px; } padding-right: 40px; }
/*# sourceMappingURL=main.7a3cbd0aa238df7f4d4f.css.map*/ /*# sourceMappingURL=main.c95e488578c8d271f566.css.map*/

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -14,4 +14,4 @@ iframe {
padding: 0; } padding: 0; }
/*# sourceMappingURL=duo.7a3cbd0aa238df7f4d4f.css.map*/ /*# sourceMappingURL=duo.c95e488578c8d271f566.css.map*/

View File

@@ -1 +1 @@
{"version":3,"sources":["webpack:///./src/connectors/duo.scss"],"names":[],"mappings":"AAAA;AACA;AACA,aAAa;;AAEb;AACA,+DAA+D;;AAE/D;AACA;AACA;AACA;AACA;AACA;AACA,aAAa","file":"connectors/duo.7a3cbd0aa238df7f4d4f.css","sourcesContent":["html, body {\n margin: 0;\n padding: 0; }\n\nbody {\n background: #efeff4 url(../images/loading.svg) 0 0 no-repeat; }\n\niframe {\n display: block;\n width: 100%;\n height: 400px;\n border: none;\n margin: 0;\n padding: 0; }\n"],"sourceRoot":""} {"version":3,"sources":["webpack:///./src/connectors/duo.scss"],"names":[],"mappings":"AAAA;AACA;AACA,aAAa;;AAEb;AACA,+DAA+D;;AAE/D;AACA;AACA;AACA;AACA;AACA;AACA,aAAa","file":"connectors/duo.c95e488578c8d271f566.css","sourcesContent":["html, body {\n margin: 0;\n padding: 0; }\n\nbody {\n background: #efeff4 url(../images/loading.svg) 0 0 no-repeat; }\n\niframe {\n display: block;\n width: 100%;\n height: 400px;\n border: none;\n margin: 0;\n padding: 0; }\n"],"sourceRoot":""}

File diff suppressed because one or more lines are too long

View File

@@ -11424,4 +11424,4 @@ img.logo {
padding-right: 40px; } padding-right: 40px; }
/*# sourceMappingURL=sso.7a3cbd0aa238df7f4d4f.css.map*/ /*# sourceMappingURL=sso.c95e488578c8d271f566.css.map*/

View File

@@ -1,2 +1,2 @@
!function(e){var n={};function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:o})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)t.d(o,r,function(n){return e[n]}.bind(null,r));return o},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=1058)}({1058:function(e,n,t){function o(e){var n=window.location.href;e=e.replace(/[\[\]]/g,"\\$&");var t=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(n);return t?t[2]?decodeURIComponent(t[2].replace(/\+/g," ")):"":null}t(1059),document.addEventListener("DOMContentLoaded",function(e){var n=o("code"),t=o("state");if(null!=t&&t.includes(":clientId=browser"))!function(e,n){window.postMessage({command:"authResult",code:e,state:n},"*");var t=("; "+document.cookie).split("; ssoHandOffMessage=").pop().split(";").shift();document.cookie="ssoHandOffMessage=;SameSite=strict;max-age=0",document.getElementById("content").innerHTML="<p>"+t+"</p>"}(n,t);else{window.location.href=window.location.origin+"/#/sso?code="+n+"&state="+t;var r=function(e,n){var t=new RegExp(n).exec(e);if(!t)return null;return t[0]}(t,"(?<=_returnUri=')(.*)(?=')");window.location.href=r?window.location.origin+"/#"+r:window.location.origin+"/#/sso?code="+n+"&state="+t}})},1059:function(e,n,t){}}); !function(e){var n={};function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:o})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)t.d(o,r,function(n){return e[n]}.bind(null,r));return o},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=1058)}({1058:function(e,n,t){function o(e){var n=window.location.href;e=e.replace(/[\[\]]/g,"\\$&");var t=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(n);return t?t[2]?decodeURIComponent(t[2].replace(/\+/g," ")):"":null}t(1059),document.addEventListener("DOMContentLoaded",function(e){var n=o("code"),t=o("state");if(null!=t&&t.includes(":clientId=browser"))!function(e,n){window.postMessage({command:"authResult",code:e,state:n},"*");var t=("; "+document.cookie).split("; ssoHandOffMessage=").pop().split(";").shift();document.cookie="ssoHandOffMessage=;SameSite=strict;max-age=0",document.getElementById("content").innerHTML="<p>"+t+"</p>"}(n,t);else{window.location.href=window.location.origin+"/#/sso?code="+n+"&state="+t;var r=function(e,n){var t=new RegExp(n).exec(e);if(!t)return null;return t[0]}(t,"(?<=_returnUri=')(.*)(?=')");window.location.href=r?window.location.origin+"/#"+r:window.location.origin+"/#/sso?code="+n+"&state="+t}})},1059:function(e,n,t){}});
//# sourceMappingURL=sso.7a3cbd0aa238df7f4d4f.js.map //# sourceMappingURL=sso.c95e488578c8d271f566.js.map

View File

@@ -1,2 +1,2 @@
!function(e){var r={};function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(n,o,function(r){return e[r]}.bind(null,o));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=1055)}({1055:function(e,r,t){"use strict";t.r(r);var n=t(500);document.addEventListener("DOMContentLoaded",function(e){var r;s(),window.addEventListener("message",function(e){e.origin&&""!==e.origin&&e.origin===a&&("stop"===e.data?i=!0:"start"===e.data&&i&&s())},!1),r="ready",parent.postMessage("info|"+r,o)});var o=null,a=null,i=!1,u=!1;function s(){if(u=!1,n.isSupported){var e=f("data");if(e)if(o=f("parent")){var r=document.createElement("a");r.href=o,a=r.origin;var t=f("v");if(t){try{parseInt(t);var s=(l=e,decodeURIComponent(Array.prototype.map.call(atob(l),function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join(""))),d=JSON.parse(s)}catch(p){return void c("Cannot parse data.")}var l;d.appId&&d.challenge&&d.keys&&d.keys.length?(i=!1,function e(r){if(i)return;n.sign(r.appId,r.challenge,r.keys,function(t){t.errorCode?5!==t.errorCode?(c("U2F Error: "+t.errorCode),setTimeout(function(){e(r)},1e3)):e(r):function(e){if(u)return;var r=JSON.stringify(e);parent.postMessage("success|"+r,o),u=!0}(t)},10)}(d)):c("Invalid data parameters.")}else c("No version.")}else c("No parent.");else c("No data.")}else c("U2F is not supported in this browser.")}function c(e){parent.postMessage("error|"+e,o)}function f(e){var r=window.location.href;e=e.replace(/[\[\]]/g,"\\$&");var t=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(r);return t?t[2]?decodeURIComponent(t[2].replace(/\+/g," ")):"":null}},500:function(e,r){e.exports=u2f}}); !function(e){var r={};function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(n,o,function(r){return e[r]}.bind(null,o));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=1055)}({1055:function(e,r,t){"use strict";t.r(r);var n=t(500);document.addEventListener("DOMContentLoaded",function(e){var r;s(),window.addEventListener("message",function(e){e.origin&&""!==e.origin&&e.origin===a&&("stop"===e.data?i=!0:"start"===e.data&&i&&s())},!1),r="ready",parent.postMessage("info|"+r,o)});var o=null,a=null,i=!1,u=!1;function s(){if(u=!1,n.isSupported){var e=f("data");if(e)if(o=f("parent")){var r=document.createElement("a");r.href=o,a=r.origin;var t=f("v");if(t){try{parseInt(t);var s=(l=e,decodeURIComponent(Array.prototype.map.call(atob(l),function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join(""))),d=JSON.parse(s)}catch(p){return void c("Cannot parse data.")}var l;d.appId&&d.challenge&&d.keys&&d.keys.length?(i=!1,function e(r){if(i)return;n.sign(r.appId,r.challenge,r.keys,function(t){t.errorCode?5!==t.errorCode?(c("U2F Error: "+t.errorCode),setTimeout(function(){e(r)},1e3)):e(r):function(e){if(u)return;var r=JSON.stringify(e);parent.postMessage("success|"+r,o),u=!0}(t)},10)}(d)):c("Invalid data parameters.")}else c("No version.")}else c("No parent.");else c("No data.")}else c("U2F is not supported in this browser.")}function c(e){parent.postMessage("error|"+e,o)}function f(e){var r=window.location.href;e=e.replace(/[\[\]]/g,"\\$&");var t=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(r);return t?t[2]?decodeURIComponent(t[2].replace(/\+/g," ")):"":null}},500:function(e,r){e.exports=u2f}});
//# sourceMappingURL=u2f.7a3cbd0aa238df7f4d4f.js.map //# sourceMappingURL=u2f.c95e488578c8d271f566.js.map

View File

@@ -5,8 +5,8 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width"> <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
<title>Bitwarden Duo Connector</title> <title>Bitwarden Duo Connector</title>
<link href="connectors/duo.7a3cbd0aa238df7f4d4f.css" rel="stylesheet"></head> <link href="connectors/duo.c95e488578c8d271f566.css" rel="stylesheet"></head>
<body><script type="text/javascript" src="connectors/duo.7a3cbd0aa238df7f4d4f.js"></script></body> <body><script type="text/javascript" src="connectors/duo.c95e488578c8d271f566.js"></script></body>
</html> </html>

View File

@@ -13,7 +13,7 @@
<link rel="icon" type="image/png" sizes="16x16" href="images/icons/favicon-16x16.png"> <link rel="icon" type="image/png" sizes="16x16" href="images/icons/favicon-16x16.png">
<link rel="mask-icon" href="images/icons/safari-pinned-tab.svg" color="#175DDC"> <link rel="mask-icon" href="images/icons/safari-pinned-tab.svg" color="#175DDC">
<link rel="manifest" href="manifest.json"> <link rel="manifest" href="manifest.json">
<link href="app/main.7a3cbd0aa238df7f4d4f.css" rel="stylesheet"></head> <link href="app/main.c95e488578c8d271f566.css" rel="stylesheet"></head>
<body class="layout_frontend"> <body class="layout_frontend">
<app-root> <app-root>
@@ -26,6 +26,6 @@
</div> </div>
</div> </div>
</app-root> </app-root>
<script type="text/javascript" src="app/polyfills.7a3cbd0aa238df7f4d4f.js"></script><script type="text/javascript" src="app/vendor.7a3cbd0aa238df7f4d4f.js"></script><script type="text/javascript" src="app/main.7a3cbd0aa238df7f4d4f.js"></script></body> <script type="text/javascript" src="app/polyfills.c95e488578c8d271f566.js"></script><script type="text/javascript" src="app/vendor.c95e488578c8d271f566.js"></script><script type="text/javascript" src="app/main.c95e488578c8d271f566.js"></script></body>
</html> </html>

View File

@@ -13,7 +13,7 @@
<link rel="icon" type="image/png" sizes="16x16" href="images/icons/favicon-16x16.png"> <link rel="icon" type="image/png" sizes="16x16" href="images/icons/favicon-16x16.png">
<link rel="mask-icon" href="images/icons/safari-pinned-tab.svg" color="#175DDC"> <link rel="mask-icon" href="images/icons/safari-pinned-tab.svg" color="#175DDC">
<link rel="manifest" href="manifest.json"> <link rel="manifest" href="manifest.json">
<link href="connectors/sso.7a3cbd0aa238df7f4d4f.css" rel="stylesheet"></head> <link href="connectors/sso.c95e488578c8d271f566.css" rel="stylesheet"></head>
<body class="layout_frontend"> <body class="layout_frontend">
<div class="mt-5 d-flex justify-content-center"> <div class="mt-5 d-flex justify-content-center">
@@ -26,6 +26,6 @@
</div> </div>
</div> </div>
</div> </div>
<script type="text/javascript" src="connectors/sso.7a3cbd0aa238df7f4d4f.js"></script></body> <script type="text/javascript" src="connectors/sso.c95e488578c8d271f566.js"></script></body>
</html> </html>

View File

@@ -7,6 +7,6 @@
<script src="scripts/u2f.js"></script> <script src="scripts/u2f.js"></script>
</head> </head>
<body><script type="text/javascript" src="connectors/u2f.7a3cbd0aa238df7f4d4f.js"></script></body> <body><script type="text/javascript" src="connectors/u2f.c95e488578c8d271f566.js"></script></body>
</html> </html>