Changeset View
Changeset View
Standalone View
Standalone View
src/applications/auth/storage/PhabricatorAuthProviderConfig.php
Show All 26 Lines | public function getConfiguration() { | ||||
return array( | return array( | ||||
self::CONFIG_AUX_PHID => true, | self::CONFIG_AUX_PHID => true, | ||||
self::CONFIG_SERIALIZATION => array( | self::CONFIG_SERIALIZATION => array( | ||||
'properties' => self::SERIALIZATION_JSON, | 'properties' => self::SERIALIZATION_JSON, | ||||
), | ), | ||||
self::CONFIG_COLUMN_SCHEMA => array( | self::CONFIG_COLUMN_SCHEMA => array( | ||||
'isEnabled' => 'bool', | 'isEnabled' => 'bool', | ||||
'providerClass' => 'text128', | 'providerClass' => 'text128', | ||||
'providerType' => 'text64', | 'providerType' => 'text32', | ||||
epriestley: We control this, and it's never more than 32 characters long. | |||||
'providerDomain' => 'text128', | 'providerDomain' => 'text128', | ||||
'shouldAllowLogin' => 'bool', | 'shouldAllowLogin' => 'bool', | ||||
'shouldAllowRegistration' => 'bool', | 'shouldAllowRegistration' => 'bool', | ||||
'shouldAllowLink' => 'bool', | 'shouldAllowLink' => 'bool', | ||||
'shouldAllowUnlink' => 'bool', | 'shouldAllowUnlink' => 'bool', | ||||
'shouldTrustEmails' => 'bool', | 'shouldTrustEmails' => 'bool', | ||||
), | ), | ||||
self::CONFIG_KEY_SCHEMA => array( | self::CONFIG_KEY_SCHEMA => array( | ||||
▲ Show 20 Lines • Show All 66 Lines • Show Last 20 Lines |
We control this, and it's never more than 32 characters long.