Tokens
Active
$for auth in active:
$:render_auth(auth)
Revoked
$for auth in revoked: $:render_auth(auth) $if "access_token" in auth:$auth["access_token"]
revoked $auth["revoked"]
$def with (clients, active, revoked) $var title: Auth $# $def render_client(auth): $ client_id = auth["client_id"].partition("://")[2] \ $if auth["client_name"]: $auth["client_name"]\ $else: $client_id\ $def render_auth(auth):
\
$:render_client(auth)
$auth["redirect_uri"]
$auth["initiated"]
\
$for scope in r["scope"]:
$scope
\
$if not loop.last:
, \
$r["profile"]["name"]
$r["profile"]["url"]
$auth["access_token"]
revoked $auth["revoked"]