Added token based authentication type

User can choose Bearer Token authentication type to access apis protected with access/id token.
This commit is contained in:
rifqi
2019-08-23 15:34:40 +09:00
parent 8164e9712b
commit 3c4cb60cda
2 changed files with 11 additions and 0 deletions

View File

@@ -153,6 +153,7 @@
<select v-model="auth">
<option>None</option>
<option>Basic</option>
<option>Bearer Token</option>
</select>
</li>
</ul>
@@ -166,6 +167,12 @@
<input v-model="httpPassword" type="password">
</li>
</ul>
<ul v-if="auth === 'Bearer Token'">
<li>
<label for="bearer_token">Token</label>
<input v-model="bearerToken">
</li>
</ul>
</div>
</fieldset>
<fieldset class="parameters hidden">