Function: getAuthenticatedDid()
getAuthenticatedDid(agent): string
Defined in: web/lib/atproto/record-creator.ts:911
Get the authenticated user's DID.
Parameters
agent
Agent
Authenticated ATProto Agent
Returns
string
User's DID
Throws
Error if agent is not authenticated