Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/src/applications/auth/storage/PhabricatorAuthHMACKey.php
12256 views
1
<?php
2
3
final class PhabricatorAuthHMACKey
4
extends PhabricatorAuthDAO {
5
6
protected $keyName;
7
protected $keyValue;
8
9
protected function getConfiguration() {
10
return array(
11
self::CONFIG_COLUMN_SCHEMA => array(
12
'keyName' => 'text64',
13
'keyValue' => 'text128',
14
),
15
self::CONFIG_KEY_SCHEMA => array(
16
'key_name' => array(
17
'columns' => array('keyName'),
18
'unique' => true,
19
),
20
),
21
) + parent::getConfiguration();
22
}
23
24
}
25
26