mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-22 14:19:28 +00:00
OAuth Support
This commit is contained in:
23
app/api/templates/api/view_tokens.html
Normal file
23
app/api/templates/api/view_tokens.html
Normal file
@@ -0,0 +1,23 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}Application Access{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h1>Application Access</h1>
|
||||
|
||||
<p>This is the list of external applications that can access your data stored on Auth, this includes any EVE API data and also any linked information (Reddit accounts, service accounts).</p>
|
||||
|
||||
{% if tokens %}
|
||||
<table>
|
||||
<tr><th>Application</th><th>Granted Date/Time</th><th>Action</th></tr>
|
||||
{% for token in tokens %}
|
||||
<tr>
|
||||
<tr><td>{{ token.consumer.name }}</td><td></td><td><a href="{% url oauth-revoke-token token.key %}">Revoke</a></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
<p><b>You have not granted any applications access to your data</b></p>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user