html update flow
parent
daf3eba704
commit
2370fb24cc
|
@ -268,7 +268,8 @@
|
||||||
<button class="btn btn-link" type="submit">
|
<button class="btn btn-link" type="submit">
|
||||||
/oauth2/token?client_id={{clientId}}&client_secret={{clientSecret}}&grant_type=refresh_token&refresh_token={{refreshToken}}
|
/oauth2/token?client_id={{clientId}}&client_secret={{clientSecret}}&grant_type=refresh_token&refresh_token={{refreshToken}}
|
||||||
</button>
|
</button>
|
||||||
<span class="label label-warning">POST</span> |
|
<span class="label label-warning">POST</span>
|
||||||
|
<br/>
|
||||||
<span class="text-muted">复用refresh_token: <span class="text-info"
|
<span class="text-muted">复用refresh_token: <span class="text-info"
|
||||||
th:text="${clientDetailsDto.tokenSettings.reuseRefreshTokens}"></span></span>
|
th:text="${clientDetailsDto.tokenSettings.reuseRefreshTokens}"></span></span>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
</div>
|
</div>
|
||||||
<br/>
|
<br/>
|
||||||
<div>
|
<div>
|
||||||
操作说明:
|
<strong class="text-muted">操作说明</strong>
|
||||||
<ol>
|
<ol>
|
||||||
<li>
|
<li>
|
||||||
<p>
|
<p>
|
||||||
|
@ -105,20 +105,6 @@
|
||||||
</ul>
|
</ul>
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
<div class="well well-sm">
|
|
||||||
<p>
|
|
||||||
<strong>说明</strong>: Unity与Mobile菜单需要先获取到<code>access_token</code>后才能正常访问; 可以尝试在URL后面任意添加access_token参数值试试效果,
|
|
||||||
<br/>
|
|
||||||
如: <a th:href="@{/m/dashboard?access_token=i_am_testing_access_token}">/m/dashboard?access_token=i_am_testing_access_token</a>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
请求受保护的资源时传递
|
|
||||||
<mark>Access Token</mark>
|
|
||||||
有两种方式, 方式一在URL参数中添加<code>access_token</code>, 方式二在请求的Header中添加 <em>Authorization</em>, 其值为 <em>Bearer
|
|
||||||
your_access_token</em>【推荐方式二】
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div th:replace="~{fragments/main :: footer}"/>
|
<div th:replace="~{fragments/main :: footer}"/>
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Reference in New Issue