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