Changeset View
Changeset View
Standalone View
Standalone View
src/applications/auth/storage/PhabricatorAuthChallenge.php
Show All 19 Lines | return array( | ||||
self::CONFIG_COLUMN_SCHEMA => array( | self::CONFIG_COLUMN_SCHEMA => array( | ||||
'challengeKey' => 'text255', | 'challengeKey' => 'text255', | ||||
'challengeTTL' => 'epoch', | 'challengeTTL' => 'epoch', | ||||
), | ), | ||||
self::CONFIG_KEY_SCHEMA => array( | self::CONFIG_KEY_SCHEMA => array( | ||||
'key_issued' => array( | 'key_issued' => array( | ||||
'columns' => array('userPHID', 'challengeTTL'), | 'columns' => array('userPHID', 'challengeTTL'), | ||||
), | ), | ||||
'key_collection' => array( | |||||
'columns' => array('challengeTTL'), | |||||
), | |||||
), | ), | ||||
) + parent::getConfiguration(); | ) + parent::getConfiguration(); | ||||
} | } | ||||
public function getPHIDType() { | public function getPHIDType() { | ||||
return PhabricatorAuthChallengePHIDType::TYPECONST; | return PhabricatorAuthChallengePHIDType::TYPECONST; | ||||
} | } | ||||
Show All 19 Lines |