actorDid property
String?
get
actorDid
Returns the DID of the authenticated actor, regardless of how this instance was authenticated. Null when this instance is anonymous.
session is set only for OzoneTool.fromSession and oAuthSessionManager only for OzoneTool.fromOAuth / OzoneTool.fromOAuthSession, so answering "which actor is this client authenticated as?" through them means branching on the auth kind. This getter answers it for both.
Implementation
String? get actorDid;