setDIDAuthFailedCallback method
Sets the callback function to be called when a DID authentication fails with a peer agent.
callback
- The callback function that takes a peer DID as a parameter.
Implementation
void setDIDAuthFailedCallback(Function(String peerDID) callback) {
didAuthFailedCallback = callback;
}