发布v1.1版本

This commit is contained in:
kerwincui
2022-03-16 14:10:16 +08:00
parent 808b7a20bf
commit 8b9b34ce41
835 changed files with 99635 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>wumei-smart-oauth-confirm</title>
<link href="/oauth/css/bootstrap.min.css" rel="stylesheet">
</head>
<body style="background-color:#36424a;margin:0;">
<div>
<div style="height: 64px;background-color: #fff;text-align: center;line-height: 64px;font-size: 24px;margin-bottom:150px;font-weight:600">
<span>wumei-smart oauth 授权 </span>
</div>
</div>
<div style="width: 360px;text-align: center;margin: 0 auto;border: 2px solid #fff;padding: 30px;border-radius: 10px">
<form name="accessConfirm" th:action="@{/oauth/authorize}" method="post">
<p style="font-size:16px;color:#fff;">选择用户授权</p>
<div class="input-group" th:each="scope:${scopes}" style="margin-bottom:20px;">
<input type="text" class="form-control" disabled th:value="${scope.key}">
<span class="input-group-addon">
<label class="form-checkbox form-icon active">
<input type="checkbox" th:name="${scope.key}">
</label>
</span>
</div>
<div class="form-group" style="text-align:left;">
<label class="control-label" style="color:#fff;width:266px;">同意勾选的授权:</label>
<label class="form-checkbox form-icon active">
<input type="checkbox" th:name="user_oauth_approval" th:checked="false">
</label>
</div>
<button class="btn btn-success" type="submit" style="width:100%">确 认</button>
</form>
</div>
</body>
</html>

View File

@@ -0,0 +1,48 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.oauth.com/thymeleaf/layout"
layout:decorator="layout/layout">
<head>
</head>
<body>
<th:block layout:fragment="content">
<div>
<label class="control-label">clientId(客户端的唯一标识符可以用户自定义一般企业缩写)</label>
<input type="text" class="form-control" name="clientId">
<label class="control-label">resourceIds(客户端可以访问的资源集合)</label>
<input type="text" class="form-control" name="resourceIds">
<label class="control-label">clientSecret(客户端密钥,用户或者公司提供也可以系统生成)</label>
<input type="text" class="form-control" name="clientSecret">
<label class="control-label">scope(目前定义有3种 {read write trust})</label>
<input type="url" class="form-control" name="scope">
<label class="control-label">authorizedGrantTypes(授权类型)</label>
<input type="text" class="form-control" name="authorizedGrantTypes">
<label class="control-label">webServerRedirectUri(重定向地址一般是访问的主域名)</label>
<input type="text" class="form-control" name="webServerRedirectUri">
<label class="control-label">authorities(权限集合)</label>
<input type="email" class="form-control" name="authorities">
<label class="control-label">accessTokenValidity(accessToken 有效时间 毫秒值)</label>
<input type="url" class="form-control" name="accessTokenValidity">
<label class="control-label">refreshTokenValidity(refreshToken 有效时间 毫秒值)</label>
<input type="text" class="form-control" name="refreshTokenValidity">
<label class="control-label">additional_information(附加信息)</label>
<input type="text" class="form-control" name="additional_information">
<label class="control-label">autoapprove(是否自动审批通过 true 是 false 否)</label>
<input type="text" class="form-control" name="autoapprove">
</div>
</th:block>
</body>

View File

@@ -0,0 +1,23 @@
<html xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.w3.org/1999/xhtml" layout:decorator="layout/layout">
<head>
<title>wumei-smart-auth</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/css/bootstrap.min.css" rel="stylesheet">
</head>
<body style="background-color:#36424a;margin:0;">
<div>
<div style="height: 64px;background-color: #fff;text-align: center;line-height: 64px;font-size: 24px;margin-bottom:150px;font-weight:600">
<span>wumei-smart oauth 授权 </span>
</div>
</div>
<div style="width: 360px;text-align: center;margin: 0 auto;border: 2px solid #fff;padding: 30px;border-radius: 10px">
<p style="font-size:16px;color:#fff;">wumei-smart 授权平台</p>
<form th:action="@{/logout}" method="post">
<input type="submit" class="btn btn-success" value="退出授权平台" style="width:100%"/>
</form>
</div>
</body>
</html>

View File

@@ -0,0 +1,38 @@
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>wumei-smart oauth</title>
<link href="/oauth/css/bootstrap.min.css" rel="stylesheet">
</head>
<body style="background-color:#36424a;margin:0;">
<div>
<div style="height: 64px;background-color: #fff;text-align: center;line-height: 64px;font-size: 24px;margin-bottom:150px;font-weight:600">
<span>wumei-smart oauth 授权 </span>
</div>
</div>
<div style="width: 360px;text-align: center;margin: 0 auto;border: 2px solid #fff;padding: 30px;border-radius: 10px">
<p style="font-size:16px;color:#fff;">请输入您的账号</p>
<form name="oauth" th:action="@{/oauth/login}" method="post">
<div class="form-group">
<div class="input-group">
<div class="input-group-addon"><span class="glyphicon glyphicon glyphicon-user" aria-hidden="true"></span></div>
<input type="text" class="form-control" placeholder="用户名" name="username">
</div>
</div>
<div class="form-group">
<div class="input-group">
<div class="input-group-addon"><span class="glyphicon glyphicon glyphicon-ok" aria-hidden="true"></span></div>
<input type="password" class="form-control" placeholder="密码" name="password">
</div>
</div>
<div class="form-group">
<button class="btn btn-success" type="submit" style="width:100%">登 录</button>
</div>
</form>
</div>
</body>
</html>