fn require_replace(
state: &AppState,
did: &str,
request: &ChangeRequest,
add: Option<&Credential>,
signed_by: &str,
) -> Result<(), ApiError>Expand description
Refuses an account’s change that is not one key replacing the key that signed the request.