Changeset View
Changeset View
Standalone View
Standalone View
src/applications/auth/storage/PhabricatorAuthProviderConfig.php
Show All 25 Lines | final class PhabricatorAuthProviderConfig extends PhabricatorAuthDAO | ||||
public function getConfiguration() { | 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', | |||||
'providerType' => 'text64', | |||||
'providerDomain' => 'text128', | |||||
'shouldAllowLogin' => 'bool', | 'shouldAllowLogin' => 'bool', | ||||
'shouldAllowRegistration' => 'bool', | 'shouldAllowRegistration' => 'bool', | ||||
'shouldAllowLink' => 'bool', | 'shouldAllowLink' => 'bool', | ||||
'shouldAllowUnlink' => 'bool', | 'shouldAllowUnlink' => 'bool', | ||||
'shouldTrustEmails' => 'bool', | 'shouldTrustEmails' => 'bool', | ||||
), | ), | ||||
) + parent::getConfiguration(); | ) + parent::getConfiguration(); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 56 Lines • Show Last 20 Lines |