$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"]

$ r = auth["response"] $if r["scope"]:

\ $for scope in r["scope"].split(","): $scope\ $if not loop.last: , \

$if "profile" in r:

$r["profile"]["name"]
$r["profile"]["url"]

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"]