$def with (owner, clients)
$var title: Auth
$if tx.user.session:
$if tx.user.is_owner:
Identity
$owner["name"][0]
$owner["uid"][0]
People
$# Reciprocal
$# $ reciprocals = []
$#
$# $for client in clients:
$# $for user in users:
$# $if client["client_id"] == user["url"]:
$# - $user["name"] $user["url"]
$# $reciprocals.append(user["url"])
$#
Who You've Visited
personal websites that you've signed into
$for client in clients:
$if client["client_id"] in reciprocals:
$continue
- $client["client_name"] $client["client_id"]
Your Visitors
people that have signed into your website
$for user in users:
$if user["url"] in reciprocals:
$continue
- $user["name"] $user["url"]
$if user["email"]:
$user["email"]
$user["account_created"]
Clients
Devices/Programs
personal access token based access
Services
non-personal websites that you've signed into
$else:
You are signed in as $tx.user.session["uid"]
$else:
Owner
$# Visitor
$#