Public declaration syntax from forge-py/src/forge/identity/persistence.py Original source SHA-256: 957815486ba4e3fd0be40a432daf5b3d21f38855444cd84ce0a846ff968cd44d Function bodies and constant values are omitted. This is not the complete implementation. Source line 27 class IdentityStore(ABC) Source line 44 def save(self, identity: ForgeAgentIdentity) -> None Source line 55 def load(self, did: str) -> ForgeAgentIdentity | None Source line 69 def delete(self, did: str) -> bool Source line 83 def list_dids(self) -> list[str] Source line 91 class MemoryIdentityStore(IdentityStore) Source line 103 def __init__(self) -> None Source line 106 def save(self, identity: ForgeAgentIdentity) -> None Source line 114 def load(self, did: str) -> ForgeAgentIdentity | None Source line 125 def delete(self, did: str) -> bool Source line 139 def list_dids(self) -> list[str] Source line 152 def save_identity(identity: ForgeAgentIdentity, path: Path | str) -> None Source line 190 def load_identity(path: Path | str) -> ForgeAgentIdentity