Page MenuHomec4science

PhabricatorAuthSSHKeyReplyHandler.php
No OneTemporary

File Metadata

Created
Tue, Nov 26, 13:55

PhabricatorAuthSSHKeyReplyHandler.php

<?php
final class PhabricatorAuthSSHKeyReplyHandler
extends PhabricatorApplicationTransactionReplyHandler {
public function validateMailReceiver($mail_receiver) {
if (!($mail_receiver instanceof PhabricatorAuthSSHKey)) {
throw new Exception(
pht('Mail receiver is not a %s!', 'PhabricatorAuthSSHKey'));
}
}
public function getObjectPrefix() {
return 'SSHKEY';
}
}

Event Timeline