Changeset View
Changeset View
Standalone View
Standalone View
src/applications/passphrase/storage/PassphraseCredential.php
Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Lines | return id(new PassphraseCredential()) | ||||
->setEditPolicy($edit_policy) | ->setEditPolicy($edit_policy) | ||||
->setSpacePHID($actor->getDefaultSpacePHID()); | ->setSpacePHID($actor->getDefaultSpacePHID()); | ||||
} | } | ||||
public function getMonogram() { | public function getMonogram() { | ||||
return 'K'.$this->getID(); | return 'K'.$this->getID(); | ||||
} | } | ||||
public function getURI() { | |||||
return '/'.$this->getMonogram(); | |||||
} | |||||
protected function getConfiguration() { | protected function getConfiguration() { | ||||
return array( | return array( | ||||
self::CONFIG_AUX_PHID => true, | self::CONFIG_AUX_PHID => true, | ||||
self::CONFIG_COLUMN_SCHEMA => array( | self::CONFIG_COLUMN_SCHEMA => array( | ||||
'name' => 'text255', | 'name' => 'text255', | ||||
'credentialType' => 'text64', | 'credentialType' => 'text64', | ||||
'providesType' => 'text64', | 'providesType' => 'text64', | ||||
'description' => 'text', | 'description' => 'text', | ||||
▲ Show 20 Lines • Show All 136 Lines • Show Last 20 Lines |