00018 client_details list test client

0.3
lishengzhao 2015-05-26 11:25:50 +08:00
parent 5c881b2c72
commit 38133ec654
1 changed files with 15 additions and 1 deletions

View File

@ -85,13 +85,27 @@
required="required"/>
<p>
<a href="${contextPath}/oauth/authorize?client_id={{clientId}}&client_secret={{clientSecret}}&response_type=token&scope={{scope}}&&redirect_uri={{implicitRedirectUri}}"
<a href="${contextPath}/oauth/authorize?client_id={{clientId}}&client_secret={{clientSecret}}&response_type=token&scope={{scope}}&redirect_uri={{implicitRedirectUri}}"
>/oauth/authorize?client_id={{clientId}}&client_secret={{clientSecret}}&response_type=token&scope={{scope}}&redirect_uri={{implicitRedirectUri}}</a>
</p>
</div>
</div>
</c:if>
<c:if test="${clientDetailsDto.containsClientCredentials}">
<div class="panel panel-default">
<div class="panel-heading">Test [client_credentials]</div>
<div class="panel-body">
<p class="text-muted">点击链接地址即可测试</p>
<p>
<a href="${contextPath}/oauth/token?client_id={{clientId}}&client_secret={{clientSecret}}&grant_type=client_credentials&scope={{scope}}"
target="_blank">/oauth/token?client_id={{clientId}}&client_secret={{clientSecret}}&grant_type=client_credentials&scope={{scope}}</a>
</p>
</div>
</div>
</c:if>
<div class="text-center">
<a href="${contextPath}/client_details" class="btn btn-default">Back</a>
</div>