Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 117 KiB |
@ -1,57 +0,0 @@
|
||||
{
|
||||
"name": "react-sdk",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@testing-library/jest-dom": "^5.16.4",
|
||||
"@testing-library/react": "^13.3.0",
|
||||
"@testing-library/user-event": "^13.5.0",
|
||||
"@types/crypto-js": "^4.1.1",
|
||||
"@types/jest": "^27.5.2",
|
||||
"@types/js-cookie": "^3.0.2",
|
||||
"@types/node": "^16.11.47",
|
||||
"@types/react": "^18.0.15",
|
||||
"@types/react-dom": "^18.0.6",
|
||||
"antd": "^4.22.3",
|
||||
"axios": "^0.27.2",
|
||||
"crypto-js": "^4.1.1",
|
||||
"element-plus": "^2.2.12",
|
||||
"element-react": "^1.4.34",
|
||||
"element-theme-default": "^1.4.13",
|
||||
"js-cookie": "^3.0.1",
|
||||
"node-sass": "^7.0.1",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"react-router-dom": "^6.3.0",
|
||||
"react-scripts": "5.0.1",
|
||||
"sass-loader": "^13.0.2",
|
||||
"svg-sprite-loader": "^6.0.11",
|
||||
"svgo-loader": "^3.0.1",
|
||||
"typescript": "^4.7.4",
|
||||
"web-vitals": "^2.1.4"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "react-scripts start",
|
||||
"build": "react-scripts build",
|
||||
"test": "react-scripts test",
|
||||
"eject": "react-scripts eject"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"extends": [
|
||||
"react-app",
|
||||
"react-app/jest"
|
||||
]
|
||||
},
|
||||
"browserslist": {
|
||||
"production": [
|
||||
">0.2%",
|
||||
"not dead",
|
||||
"not op_mini all"
|
||||
],
|
||||
"development": [
|
||||
"last 1 chrome version",
|
||||
"last 1 firefox version",
|
||||
"last 1 safari version"
|
||||
]
|
||||
}
|
||||
}
|
@ -1,21 +0,0 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2020 JustAuth
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
@ -1,16 +0,0 @@
|
||||
# justauth-oauth-logo
|
||||
|
||||
justauth配套的第三方平台logo
|
||||
|
||||
# 使用方法
|
||||
|
||||
按照以下规则引用
|
||||
```text
|
||||
https://cdn.jsdelivr.net/gh/justauth/justauth-oauth-logo@1.2/[platform].png
|
||||
```
|
||||
|
||||
其中的`[platform]`请替换为对应的平台名即可,比如:
|
||||
|
||||
- github: [https://cdn.jsdelivr.net/gh/justauth/justauth-oauth-logo@1.2/github.png](https://cdn.jsdelivr.net/gh/justauth/justauth-oauth-logo@1.2/github.png)
|
||||
- gitee: [https://cdn.jsdelivr.net/gh/justauth/justauth-oauth-logo@1.2/gitee.png](https://cdn.jsdelivr.net/gh/justauth/justauth-oauth-logo@1.2/gitee.png)
|
||||
- qq: [https://cdn.jsdelivr.net/gh/justauth/justauth-oauth-logo@1.2/qq.png](https://cdn.jsdelivr.net/gh/justauth/justauth-oauth-logo@1.2/qq.png)
|
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 827 B |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 762 B |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 986 B |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 1022 B |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 7.0 KiB |
Before Width: | Height: | Size: 1014 B |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1014 B |
Before Width: | Height: | Size: 1014 B |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 17 KiB |
@ -1,121 +0,0 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>MaxKey单点登录认证系统</title>
|
||||
<base href="/">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
<title id="maxkey_title" name="description">MaxKey-业界领先的IAM身份管理和认证产品</title>
|
||||
<meta http-equiv="description" content="MaxKey Single Sign-On">
|
||||
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
||||
<!-- Apple Touch Icon -->
|
||||
<!-- <link rel="apple-touch-icon" href="custom-icon.png"> -->
|
||||
<style type="text/css">
|
||||
#preloader {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 9999;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
background: #49a9ee;
|
||||
transition: opacity .65s
|
||||
}
|
||||
|
||||
.cs-loader {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%
|
||||
}
|
||||
|
||||
.cs-loader-inner {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
width: 100%;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
transform: translateY(-50%)
|
||||
}
|
||||
|
||||
.cs-loader-inner label {
|
||||
display: inline-block;
|
||||
font-size: 20px;
|
||||
opacity: 0
|
||||
}
|
||||
|
||||
@keyframes lol {
|
||||
0% {
|
||||
transform: translateX(-300px);
|
||||
opacity: 0
|
||||
}
|
||||
|
||||
33% {
|
||||
transform: translateX(0);
|
||||
opacity: 1
|
||||
}
|
||||
|
||||
66% {
|
||||
transform: translateX(0);
|
||||
opacity: 1
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: translateX(300px);
|
||||
opacity: 0
|
||||
}
|
||||
}
|
||||
|
||||
.cs-loader-inner label:nth-child(6) {
|
||||
animation: lol 3s infinite ease-in-out
|
||||
}
|
||||
|
||||
.cs-loader-inner label:nth-child(5) {
|
||||
animation: lol 3s .1s infinite ease-in-out
|
||||
}
|
||||
|
||||
.cs-loader-inner label:nth-child(4) {
|
||||
animation: lol 3s .2s infinite ease-in-out
|
||||
}
|
||||
|
||||
.cs-loader-inner label:nth-child(3) {
|
||||
animation: lol 3s .3s infinite ease-in-out
|
||||
}
|
||||
|
||||
.cs-loader-inner label:nth-child(2) {
|
||||
animation: lol 3s .4s infinite ease-in-out
|
||||
}
|
||||
|
||||
.cs-loader-inner label:nth-child(1) {
|
||||
animation: lol 3s .5s infinite ease-in-out
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
<div id="preloader">
|
||||
<div class="cs-loader">
|
||||
<div class="cs-loader-inner">
|
||||
<label> ●</label>
|
||||
<label> ●</label>
|
||||
<label> ●</label>
|
||||
<label> ●</label>
|
||||
<label> ●</label>
|
||||
<label> ●</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
const e=document.getElementById("preloader")
|
||||
setTimeout(()=>{
|
||||
e.style.display="none"
|
||||
},2500)
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Before Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 9.4 KiB |
@ -1,25 +0,0 @@
|
||||
{
|
||||
"short_name": "React App",
|
||||
"name": "Create React App Sample",
|
||||
"icons": [
|
||||
{
|
||||
"src": "favicon.ico",
|
||||
"sizes": "64x64 32x32 24x24 16x16",
|
||||
"type": "image/x-icon"
|
||||
},
|
||||
{
|
||||
"src": "logo192.png",
|
||||
"type": "image/png",
|
||||
"sizes": "192x192"
|
||||
},
|
||||
{
|
||||
"src": "logo512.png",
|
||||
"type": "image/png",
|
||||
"sizes": "512x512"
|
||||
}
|
||||
],
|
||||
"start_url": ".",
|
||||
"display": "standalone",
|
||||
"theme_color": "#000000",
|
||||
"background_color": "#ffffff"
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
# https://www.robotstxt.org/robotstxt.html
|
||||
User-agent: *
|
||||
Disallow:
|
@ -1,38 +0,0 @@
|
||||
.App {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.App-logo {
|
||||
height: 40vmin;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
.App-logo {
|
||||
animation: App-logo-spin infinite 20s linear;
|
||||
}
|
||||
}
|
||||
|
||||
.App-header {
|
||||
background-color: #282c34;
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: calc(10px + 2vmin);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.App-link {
|
||||
color: #61dafb;
|
||||
}
|
||||
|
||||
@keyframes App-logo-spin {
|
||||
from {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
import React from 'react';
|
||||
import { render, screen } from '@testing-library/react';
|
||||
import App from './App';
|
||||
|
||||
test('renders learn react link', () => {
|
||||
render(<App />);
|
||||
const linkElement = screen.getByText(/learn react/i);
|
||||
expect(linkElement).toBeInTheDocument();
|
||||
});
|
@ -1,16 +0,0 @@
|
||||
import React from 'react';
|
||||
import './App.scss';
|
||||
//import Login from "./routes/Login"
|
||||
import {useNavigate} from "react-router-dom"
|
||||
function App() {
|
||||
let navigate = useNavigate()
|
||||
setTimeout(()=>{
|
||||
navigate("passport/login",{replace:true})
|
||||
},2500)
|
||||
return (
|
||||
<>
|
||||
|
||||
</>
|
||||
)
|
||||
}
|
||||
export default App;
|
Before Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 9.1 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 9.2 KiB |
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 7.4 KiB |