some typo fixes

This commit is contained in:
AJ ONeal 2017-11-16 03:23:35 +00:00
parent 4b6a8f7316
commit 0ff3a2e3ce
1 changed files with 22 additions and 3 deletions

View File

@ -420,7 +420,7 @@
<div class="col-md-3">
<strong>Session Token</strong>
<br>
(this is the URL that sends your one-time password via email)
(this is the access token)
</div>
<div class="col-md-9">
<textarea class="form-control" ng-model="vm.accessToken" ng-change="vm.api.jwt.decode()"></textarea>
@ -437,7 +437,9 @@
<div class="col-md-3">
<strong>Verify Token</strong>
<br>
(this is the URL that sends your one-time password via email)
<strong>(not implemented)</strong>
<br>
(this is the URL that inspects and verifies the token)
</div>
<div class="col-md-9">
<textarea class="form-control" ng-model="vm.accessToken"></textarea>
@ -462,10 +464,27 @@
<div class="row">
<br>
<br>
<div class="col-md-3">
Approved Devices:
<strong>Approved Devices</strong>
<br>
(these are the public keys generated on remember-me devices and the opaque tokens issued to remember-me-not devices)
</div>
<div class="col-md-9">
<button class="btn btn-default" ng-click="vm.api.authn.verify()" ng-disabled="!vm.form.accessToken">List Devices</button>
<br>
<div ng-if="vm.urls.publicKeys">
<pre><code><span ng-bind="vm.urls.publicKeys.method"></span> <span ng-bind="vm.urls.publicKeys.url"></span>
<span ng-if="vm.urls.publicKeys.headers" ng-bind="vm.urls.publicKeys.headers | json"></span>
<span ng-bind="vm.urls.publicKeys.data | json"></span>
</code></pre>
<pre ng-if="vm.responses.publicKeys"><code><span ng-bind="vm.responses.publicKeys.status"></span>
<span ng-if="vm.responses.publicKeys.headers" ng-bind="vm.responses.publicKeys.headers | json"></span>
<span ng-bind="vm.responses.publicKeys.data | json"></span>
</code></pre>
</div>
...
</div>
</div>