UNPKG

sso-module-punch

Version:

Single Sign On Sign in module for nodejs packages

91 lines (90 loc) 2.8 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.forwardingPage = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n" + "<html lang=\"en\" xml:lang=\"en\" xmlns=\"http://www.w3.org/1999/xhtml\">\n" + "<head>\n" + "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n" + "<title>Redirect</title>\n" + "</head>\n" + "<body>\n" + "<h1>Re-directing...</h1>\n" + "<p>You are being re-directed,</p>\n" + "</body>\n" + "</html> "; exports.verifyPage = "<!DOCTYPE html>\n" + "<html lang=\"en\">\n" + "<head>\n" + "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n" + "<style>\n" + ".loader {\n" + " border: 16px solid #f3f3f3;\n" + " border-radius: 50%;\n" + " border-top: 16px solid #3498db;\n" + " width: 120px;\n" + " height: 120px;\n" + " -webkit-animation: spin 2s linear infinite; /* Safari */\n" + " animation: spin 2s linear infinite;\n" + "}\n" + "\n" + ".centered {\n" + " position: absolute;\n" + " z-index: 15;\n" + " top: 50%;\n" + " left: 50%;\n" + " width: 200px;\n" + " height: 300px;\n" + " margin: -100px 0 0 -150px;\n" + "}\n" + "/* Safari */\n" + "@-webkit-keyframes spin {\n" + " 0% { -webkit-transform: rotate(0deg); }\n" + " 100% { -webkit-transform: rotate(360deg); }\n" + "}\n" + "\n" + "@keyframes spin {\n" + " 0% { transform: rotate(0deg); }\n" + " 100% { transform: rotate(360deg); }\n" + "}\n" + "</style><title>Login Shot Beach</title>\n" + "</head>\n" + "<body>\n" + "\n" + "<div class='centered'> " + "<h2>Verifying Token</h2>\n" + "\n" + "<div class=\"loader\"></div>\n" + "</div>" + "</body>\n" + "</html>"; exports.unauthenticatedPage = "<!DOCTYPE html>\n" + "<html lang=\"en\">\n" + "<head>\n" + "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n" + "<style>\n" + "h1 {\n" + " font-size: 15vmin;\n" + " margin-bottom: 0;\n" + "}\n" + "h2 {\n" + " font-size: 5vmin;\n" + " margin-top: 0;\n" + " margin-bottom: 40px;\n" + "}\n" + "\n" + "body {\n" + " height: 100vh;\n" + " display: flex;\n" + " flex-direction: column;\n" + " background-color: white;\n" + " align-items: center;\n" + " justify-content: center;\n" + "}" + "</style><title>Forbidden</title>\n" + "</head>\n" + "<body>\n" + "\n" + "<h1>Forbidden!</h1>\n" + "<h2>Code 403</h2>\n" + "<p>Looks like you're not allowed to enter this page </p>" + "</body>\n" + "</html>";