ReferenceentityidentitydidOn this pageentity.identity.didDid Objects class Did() Represents a DID. __init__ def __init__(did: str, did_method: DidMethod) -> None Returns a new instance of Did for the given parameters.