repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/factor/PhabricatorAuthFactor.php
src/applications/auth/factor/PhabricatorAuthFactor.php
<?php abstract class PhabricatorAuthFactor extends Phobject { abstract public function getFactorName(); abstract public function getFactorShortName(); abstract public function getFactorKey(); abstract public function getFactorCreateHelp(); abstract public function getFactorDescription(); abstract public f...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/factor/PhabricatorTOTPAuthFactor.php
src/applications/auth/factor/PhabricatorTOTPAuthFactor.php
<?php final class PhabricatorTOTPAuthFactor extends PhabricatorAuthFactor { public function getFactorKey() { return 'totp'; } public function getFactorName() { return pht('Mobile Phone App (TOTP)'); } public function getFactorShortName() { return pht('TOTP'); } public function getFactorCr...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/factor/__tests__/PhabricatorTOTPAuthFactorTestCase.php
src/applications/auth/factor/__tests__/PhabricatorTOTPAuthFactorTestCase.php
<?php final class PhabricatorTOTPAuthFactorTestCase extends PhabricatorTestCase { public function testTOTPCodeGeneration() { $tests = array( array( 'AAAABBBBCCCCDDDD', 46620383, '724492', ), array( 'AAAABBBBCCCCDDDD', 46620390, '935803', ),...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/factor/__tests__/PhabricatorAuthFactorTestCase.php
src/applications/auth/factor/__tests__/PhabricatorAuthFactorTestCase.php
<?php final class PhabricatorAuthFactorTestCase extends PhabricatorTestCase { public function testGetAllFactors() { PhabricatorAuthFactor::getAllFactors(); $this->assertTrue(true); } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/factor/__tests__/PhabricatorAuthInviteTestCase.php
src/applications/auth/factor/__tests__/PhabricatorAuthInviteTestCase.php
<?php final class PhabricatorAuthInviteTestCase extends PhabricatorTestCase { protected function getPhabricatorTestCaseConfiguration() { return array( self::PHABRICATOR_TESTCONFIG_BUILD_STORAGE_FIXTURES => true, ); } /** * Test that invalid invites can not be accepted. */ public functio...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/__tests__/PhabricatorAuthPasswordTestCase.php
src/applications/auth/__tests__/PhabricatorAuthPasswordTestCase.php
<?php final class PhabricatorAuthPasswordTestCase extends PhabricatorTestCase { protected function getPhabricatorTestCaseConfiguration() { return array( self::PHABRICATOR_TESTCONFIG_BUILD_STORAGE_FIXTURES => true, ); } public function testCompare() { $password1 = new PhutilOpaqueEnvelope('hun...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/__tests__/PhabricatorAuthSSHKeyTestCase.php
src/applications/auth/__tests__/PhabricatorAuthSSHKeyTestCase.php
<?php final class PhabricatorAuthSSHKeyTestCase extends PhabricatorTestCase { protected function getPhabricatorTestCaseConfiguration() { return array( self::PHABRICATOR_TESTCONFIG_BUILD_STORAGE_FIXTURES => true, ); } public function testRevokeSSHKey() { $user = $this->generateNewTestUser(); ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/garbagecollector/PhabricatorAuthChallengeGarbageCollector.php
src/applications/auth/garbagecollector/PhabricatorAuthChallengeGarbageCollector.php
<?php final class PhabricatorAuthChallengeGarbageCollector extends PhabricatorGarbageCollector { const COLLECTORCONST = 'auth.challenges'; public function getCollectorName() { return pht('Authentication Challenges'); } public function hasAutomaticPolicy() { return true; } protected function c...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/garbagecollector/PhabricatorAuthSessionGarbageCollector.php
src/applications/auth/garbagecollector/PhabricatorAuthSessionGarbageCollector.php
<?php final class PhabricatorAuthSessionGarbageCollector extends PhabricatorGarbageCollector { const COLLECTORCONST = 'auth.sessions'; public function getCollectorName() { return pht('Authentication Sessions'); } public function hasAutomaticPolicy() { return true; } protected function collect...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/garbagecollector/PhabricatorAuthTemporaryTokenGarbageCollector.php
src/applications/auth/garbagecollector/PhabricatorAuthTemporaryTokenGarbageCollector.php
<?php final class PhabricatorAuthTemporaryTokenGarbageCollector extends PhabricatorGarbageCollector { const COLLECTORCONST = 'auth.tokens'; public function getCollectorName() { return pht('Authentication Tokens'); } public function hasAutomaticPolicy() { return true; } protected function coll...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/view/PhabricatorAuthChallengeUpdate.php
src/applications/auth/view/PhabricatorAuthChallengeUpdate.php
<?php final class PhabricatorAuthChallengeUpdate extends Phobject { private $retry = false; private $state; private $markup; public function setRetry($retry) { $this->retry = $retry; return $this; } public function getRetry() { return $this->retry; } public function setState($state) {...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/view/PhabricatorAuthInviteActionTableView.php
src/applications/auth/view/PhabricatorAuthInviteActionTableView.php
<?php final class PhabricatorAuthInviteActionTableView extends AphrontView { private $inviteActions; private $handles; public function setInviteActions(array $invite_actions) { $this->inviteActions = $invite_actions; return $this; } public function getInviteActions() { return $this->inviteActi...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/view/PhabricatorAuthSSHKeyTableView.php
src/applications/auth/view/PhabricatorAuthSSHKeyTableView.php
<?php final class PhabricatorAuthSSHKeyTableView extends AphrontView { private $keys; private $canEdit; private $noDataString; private $showTrusted; private $showID; public static function newKeyActionsMenu( PhabricatorUser $viewer, PhabricatorSSHPublicKeyInterface $object) { $can_edit = Pha...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/view/PhabricatorAuthAccountView.php
src/applications/auth/view/PhabricatorAuthAccountView.php
<?php final class PhabricatorAuthAccountView extends AphrontView { private $externalAccount; private $provider; public function setExternalAccount( PhabricatorExternalAccount $external_account) { $this->externalAccount = $external_account; return $this; } public function setAuthProvider(Phabri...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/provider/PhabricatorOAuthAuthProvider.php
src/applications/auth/provider/PhabricatorOAuthAuthProvider.php
<?php abstract class PhabricatorOAuthAuthProvider extends PhabricatorAuthProvider { const PROPERTY_NOTE = 'oauth:app:note'; protected $adapter; abstract protected function newOAuthAdapter(); abstract protected function getIDKey(); abstract protected function getSecretKey(); public function getDescripti...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/provider/PhabricatorAsanaAuthProvider.php
src/applications/auth/provider/PhabricatorAsanaAuthProvider.php
<?php final class PhabricatorAsanaAuthProvider extends PhabricatorOAuth2AuthProvider implements DoorkeeperRemarkupURIInterface { public function getProviderName() { return pht('Asana'); } protected function getProviderConfigurationHelp() { $app_uri = PhabricatorEnv::getProductionURI('/'); $logi...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/provider/PhabricatorPhabricatorAuthProvider.php
src/applications/auth/provider/PhabricatorPhabricatorAuthProvider.php
<?php final class PhabricatorPhabricatorAuthProvider extends PhabricatorOAuth2AuthProvider { const PROPERTY_PHABRICATOR_NAME = 'oauth2:phabricator:name'; const PROPERTY_PHABRICATOR_URI = 'oauth2:phabricator:uri'; public function getProviderName() { return PlatformSymbols::getPlatformServerName(); } ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/provider/PhabricatorSlackAuthProvider.php
src/applications/auth/provider/PhabricatorSlackAuthProvider.php
<?php final class PhabricatorSlackAuthProvider extends PhabricatorOAuth2AuthProvider { public function getProviderName() { return pht('Slack'); } protected function getProviderConfigurationHelp() { $login_uri = PhabricatorEnv::getURI($this->getLoginURI()); return pht( "To configure Slack O...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/provider/PhabricatorAuthProvider.php
src/applications/auth/provider/PhabricatorAuthProvider.php
<?php abstract class PhabricatorAuthProvider extends Phobject { private $providerConfig; public function attachProviderConfig(PhabricatorAuthProviderConfig $config) { $this->providerConfig = $config; return $this; } public function hasProviderConfig() { return (bool)$this->providerConfig; } ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/provider/PhabricatorOAuth1SecretTemporaryTokenType.php
src/applications/auth/provider/PhabricatorOAuth1SecretTemporaryTokenType.php
<?php final class PhabricatorOAuth1SecretTemporaryTokenType extends PhabricatorAuthTemporaryTokenType { const TOKENTYPE = 'oauth1:request:secret'; public function getTokenTypeDisplayName() { return pht('OAuth1 Handshake Secret'); } public function getTokenReadableTypeName( PhabricatorAuthTemporary...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/provider/PhabricatorLDAPAuthProvider.php
src/applications/auth/provider/PhabricatorLDAPAuthProvider.php
<?php final class PhabricatorLDAPAuthProvider extends PhabricatorAuthProvider { private $adapter; public function getProviderName() { return pht('LDAP'); } protected function getLoginIcon() { return 'LDAP'; } public function getDescriptionForCreate() { return pht( 'Configure a connect...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/provider/PhabricatorJIRAAuthProvider.php
src/applications/auth/provider/PhabricatorJIRAAuthProvider.php
<?php final class PhabricatorJIRAAuthProvider extends PhabricatorOAuth1AuthProvider implements DoorkeeperRemarkupURIInterface { public function getProviderName() { return pht('JIRA'); } public function getDescriptionForCreate() { return pht('Configure JIRA OAuth. NOTE: Only supports JIRA 6.'); } ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/provider/PhabricatorBitbucketAuthProvider.php
src/applications/auth/provider/PhabricatorBitbucketAuthProvider.php
<?php final class PhabricatorBitbucketAuthProvider extends PhabricatorOAuth1AuthProvider { public function getProviderName() { return pht('Bitbucket'); } protected function getProviderConfigurationHelp() { return pht( "To configure Bitbucket OAuth, log in to Bitbucket and go to ". "**Mana...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/provider/PhabricatorTwitterAuthProvider.php
src/applications/auth/provider/PhabricatorTwitterAuthProvider.php
<?php final class PhabricatorTwitterAuthProvider extends PhabricatorOAuth1AuthProvider { public function getProviderName() { return pht('Twitter'); } protected function getProviderConfigurationHelp() { $login_uri = PhabricatorEnv::getURI($this->getLoginURI()); return pht( "To configure Twi...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/provider/PhabricatorOAuth2AuthProvider.php
src/applications/auth/provider/PhabricatorOAuth2AuthProvider.php
<?php abstract class PhabricatorOAuth2AuthProvider extends PhabricatorOAuthAuthProvider { const PROPERTY_APP_ID = 'oauth:app:id'; const PROPERTY_APP_SECRET = 'oauth:app:secret'; protected function getIDKey() { return self::PROPERTY_APP_ID; } protected function getSecretKey() { return self::PROPE...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/provider/PhabricatorDisqusAuthProvider.php
src/applications/auth/provider/PhabricatorDisqusAuthProvider.php
<?php final class PhabricatorDisqusAuthProvider extends PhabricatorOAuth2AuthProvider { public function getProviderName() { return pht('Disqus'); } protected function getProviderConfigurationHelp() { $login_uri = PhabricatorEnv::getURI($this->getLoginURI()); return pht( "To configure Disqu...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/provider/PhabricatorAmazonAuthProvider.php
src/applications/auth/provider/PhabricatorAmazonAuthProvider.php
<?php final class PhabricatorAmazonAuthProvider extends PhabricatorOAuth2AuthProvider { public function getProviderName() { return pht('Amazon'); } protected function getProviderConfigurationHelp() { $login_uri = PhabricatorEnv::getURI($this->getLoginURI()); $uri = new PhutilURI(PhabricatorEnv::...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/provider/PhabricatorPasswordAuthProvider.php
src/applications/auth/provider/PhabricatorPasswordAuthProvider.php
<?php final class PhabricatorPasswordAuthProvider extends PhabricatorAuthProvider { private $adapter; public function getProviderName() { return pht('Username/Password'); } public function getConfigurationHelp() { return pht( "(WARNING) Examine the table below for information on how password "...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/provider/PhabricatorTwitchAuthProvider.php
src/applications/auth/provider/PhabricatorTwitchAuthProvider.php
<?php final class PhabricatorTwitchAuthProvider extends PhabricatorOAuth2AuthProvider { public function getProviderName() { return pht('Twitch.tv'); } protected function getProviderConfigurationHelp() { $login_uri = PhabricatorEnv::getURI($this->getLoginURI()); return pht( "To configure Tw...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/provider/PhabricatorWordPressAuthProvider.php
src/applications/auth/provider/PhabricatorWordPressAuthProvider.php
<?php final class PhabricatorWordPressAuthProvider extends PhabricatorOAuth2AuthProvider { public function getProviderName() { return pht('WordPress.com'); } protected function getProviderConfigurationHelp() { $uri = PhabricatorEnv::getProductionURI('/'); $callback_uri = PhabricatorEnv::getURI($t...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/provider/PhabricatorFacebookAuthProvider.php
src/applications/auth/provider/PhabricatorFacebookAuthProvider.php
<?php final class PhabricatorFacebookAuthProvider extends PhabricatorOAuth2AuthProvider { public function getProviderName() { return pht('Facebook'); } protected function getProviderConfigurationHelp() { $uri = PhabricatorEnv::getProductionURI($this->getLoginURI()); $domain = id(new PhutilURI($u...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/provider/PhabricatorGitHubAuthProvider.php
src/applications/auth/provider/PhabricatorGitHubAuthProvider.php
<?php final class PhabricatorGitHubAuthProvider extends PhabricatorOAuth2AuthProvider { public function getProviderName() { return pht('GitHub'); } protected function getProviderConfigurationHelp() { $uri = PhabricatorEnv::getProductionURI('/'); $callback_uri = PhabricatorEnv::getURI($this->getLo...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/provider/PhabricatorGoogleAuthProvider.php
src/applications/auth/provider/PhabricatorGoogleAuthProvider.php
<?php final class PhabricatorGoogleAuthProvider extends PhabricatorOAuth2AuthProvider { public function getProviderName() { return pht('Google'); } protected function getProviderConfigurationHelp() { $login_uri = PhabricatorEnv::getURI($this->getLoginURI()); return pht( "To configure Googl...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/provider/PhabricatorOAuth1AuthProvider.php
src/applications/auth/provider/PhabricatorOAuth1AuthProvider.php
<?php abstract class PhabricatorOAuth1AuthProvider extends PhabricatorOAuthAuthProvider { protected $adapter; const PROPERTY_CONSUMER_KEY = 'oauth1:consumer:key'; const PROPERTY_CONSUMER_SECRET = 'oauth1:consumer:secret'; const PROPERTY_PRIVATE_KEY = 'oauth1:private:key'; protected function getIDKey() {...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/message/PhabricatorAuthMessageType.php
src/applications/auth/message/PhabricatorAuthMessageType.php
<?php abstract class PhabricatorAuthMessageType extends Phobject { final public function getMessageTypeKey() { return $this->getPhobjectClassConstant('MESSAGEKEY', 64); } final public static function getAllMessageTypes() { return id(new PhutilClassMapQuery()) ->setAncestorClass(self::class) ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/message/PhabricatorAuthChangeUsernameMessageType.php
src/applications/auth/message/PhabricatorAuthChangeUsernameMessageType.php
<?php final class PhabricatorAuthChangeUsernameMessageType extends PhabricatorAuthMessageType { const MESSAGEKEY = 'user.edit.username'; public function getDisplayName() { return pht('Username Change Instructions'); } public function getShortDescription() { return pht( 'Guidance in the "Chan...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/message/PhabricatorAuthWelcomeMailMessageType.php
src/applications/auth/message/PhabricatorAuthWelcomeMailMessageType.php
<?php final class PhabricatorAuthWelcomeMailMessageType extends PhabricatorAuthMessageType { const MESSAGEKEY = 'mail.welcome'; public function getDisplayName() { return pht('Mail Body: Welcome'); } public function getShortDescription() { return pht( 'Custom instructions included in "Welcome...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/message/PhabricatorAuthLoginMessageType.php
src/applications/auth/message/PhabricatorAuthLoginMessageType.php
<?php final class PhabricatorAuthLoginMessageType extends PhabricatorAuthMessageType { const MESSAGEKEY = 'auth.login'; public function getDisplayName() { return pht('Login Screen Instructions'); } public function getShortDescription() { return pht( 'Guidance shown on the main login screen b...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/message/PhabricatorAuthEmailSetPasswordMessageType.php
src/applications/auth/message/PhabricatorAuthEmailSetPasswordMessageType.php
<?php final class PhabricatorAuthEmailSetPasswordMessageType extends PhabricatorAuthMessageType { const MESSAGEKEY = 'mail.set-password'; public function getDisplayName() { return pht('Mail Body: Set Password'); } public function getShortDescription() { return pht( 'Guidance in the message b...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/message/PhabricatorAuthEmailLoginMessageType.php
src/applications/auth/message/PhabricatorAuthEmailLoginMessageType.php
<?php final class PhabricatorAuthEmailLoginMessageType extends PhabricatorAuthMessageType { const MESSAGEKEY = 'mail.login'; public function getDisplayName() { return pht('Mail Body: Email Login'); } public function getShortDescription() { return pht( 'Guidance in the message body when users...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/message/PhabricatorAuthWaitForApprovalMessageType.php
src/applications/auth/message/PhabricatorAuthWaitForApprovalMessageType.php
<?php final class PhabricatorAuthWaitForApprovalMessageType extends PhabricatorAuthMessageType { const MESSAGEKEY = 'auth.wait-for-approval'; public function getDisplayName() { return pht('Wait For Approval Instructions'); } public function getShortDescription() { return pht( 'Instructions o...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/message/PhabricatorAuthLinkMessageType.php
src/applications/auth/message/PhabricatorAuthLinkMessageType.php
<?php final class PhabricatorAuthLinkMessageType extends PhabricatorAuthMessageType { const MESSAGEKEY = 'auth.link'; public function getDisplayName() { return pht('Unlinked Account Instructions'); } public function getShortDescription() { return pht( 'Guidance shown after a user logs in wit...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/phid/PhabricatorAuthInvitePHIDType.php
src/applications/auth/phid/PhabricatorAuthInvitePHIDType.php
<?php final class PhabricatorAuthInvitePHIDType extends PhabricatorPHIDType { const TYPECONST = 'AINV'; public function getTypeName() { return pht('Auth Invite'); } public function newObject() { return new PhabricatorAuthInvite(); } public function getPHIDTypeApplicationClass() { return Pha...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/phid/PhabricatorAuthAuthFactorPHIDType.php
src/applications/auth/phid/PhabricatorAuthAuthFactorPHIDType.php
<?php final class PhabricatorAuthAuthFactorPHIDType extends PhabricatorPHIDType { const TYPECONST = 'AFTR'; public function getTypeName() { return pht('Auth Factor'); } public function newObject() { return new PhabricatorAuthFactorConfig(); } public function getPHIDTypeApplicationClass() { ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/phid/PhabricatorAuthSSHKeyPHIDType.php
src/applications/auth/phid/PhabricatorAuthSSHKeyPHIDType.php
<?php final class PhabricatorAuthSSHKeyPHIDType extends PhabricatorPHIDType { const TYPECONST = 'AKEY'; public function getTypeName() { return pht('Public SSH Key'); } public function newObject() { return new PhabricatorAuthSSHKey(); } public function getPHIDTypeApplicationClass() { retur...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/phid/PhabricatorAuthContactNumberPHIDType.php
src/applications/auth/phid/PhabricatorAuthContactNumberPHIDType.php
<?php final class PhabricatorAuthContactNumberPHIDType extends PhabricatorPHIDType { const TYPECONST = 'CTNM'; public function getTypeName() { return pht('Contact Number'); } public function newObject() { return new PhabricatorAuthContactNumber(); } public function getPHIDTypeApplicationClass...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/phid/PhabricatorAuthMessagePHIDType.php
src/applications/auth/phid/PhabricatorAuthMessagePHIDType.php
<?php final class PhabricatorAuthMessagePHIDType extends PhabricatorPHIDType { const TYPECONST = 'AMSG'; public function getTypeName() { return pht('Auth Message'); } public function newObject() { return new PhabricatorAuthMessage(); } public function getPHIDTypeApplicationClass() { return ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/phid/PhabricatorAuthAuthFactorProviderPHIDType.php
src/applications/auth/phid/PhabricatorAuthAuthFactorProviderPHIDType.php
<?php final class PhabricatorAuthAuthFactorProviderPHIDType extends PhabricatorPHIDType { const TYPECONST = 'FPRV'; public function getTypeName() { return pht('MFA Provider'); } public function newObject() { return new PhabricatorAuthFactorProvider(); } public function getPHIDTypeApplicationC...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/phid/PhabricatorAuthAuthProviderPHIDType.php
src/applications/auth/phid/PhabricatorAuthAuthProviderPHIDType.php
<?php final class PhabricatorAuthAuthProviderPHIDType extends PhabricatorPHIDType { const TYPECONST = 'AUTH'; public function getTypeName() { return pht('Auth Provider'); } public function newObject() { return new PhabricatorAuthProviderConfig(); } public function getPHIDTypeApplicationClass() ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/phid/PhabricatorAuthChallengePHIDType.php
src/applications/auth/phid/PhabricatorAuthChallengePHIDType.php
<?php final class PhabricatorAuthChallengePHIDType extends PhabricatorPHIDType { const TYPECONST = 'CHAL'; public function getTypeName() { return pht('Auth Challenge'); } public function newObject() { return new PhabricatorAuthChallenge(); } public function getPHIDTypeApplicationClass() { r...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/phid/PhabricatorAuthPasswordPHIDType.php
src/applications/auth/phid/PhabricatorAuthPasswordPHIDType.php
<?php final class PhabricatorAuthPasswordPHIDType extends PhabricatorPHIDType { const TYPECONST = 'APAS'; public function getTypeName() { return pht('Auth Password'); } public function newObject() { return new PhabricatorAuthPassword(); } public function getPHIDTypeApplicationClass() { retu...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/phid/PhabricatorAuthSessionPHIDType.php
src/applications/auth/phid/PhabricatorAuthSessionPHIDType.php
<?php final class PhabricatorAuthSessionPHIDType extends PhabricatorPHIDType { const TYPECONST = 'SSSN'; public function getTypeName() { return pht('Session'); } public function newObject() { return new PhabricatorAuthSession(); } public function getPHIDTypeApplicationClass() { return Pha...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/revoker/PhabricatorAuthTemporaryTokenRevoker.php
src/applications/auth/revoker/PhabricatorAuthTemporaryTokenRevoker.php
<?php final class PhabricatorAuthTemporaryTokenRevoker extends PhabricatorAuthRevoker { const REVOKERKEY = 'temporary'; public function getRevokerName() { return pht('Temporary Tokens'); } public function getRevokerDescription() { return pht( "Revokes temporary authentication tokens.\n\n". ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/revoker/PhabricatorAuthConduitTokenRevoker.php
src/applications/auth/revoker/PhabricatorAuthConduitTokenRevoker.php
<?php final class PhabricatorAuthConduitTokenRevoker extends PhabricatorAuthRevoker { const REVOKERKEY = 'conduit'; public function getRevokerName() { return pht('Conduit API Tokens'); } public function getRevokerDescription() { return pht( "Revokes all Conduit API tokens used to access the ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/revoker/PhabricatorAuthPasswordRevoker.php
src/applications/auth/revoker/PhabricatorAuthPasswordRevoker.php
<?php final class PhabricatorAuthPasswordRevoker extends PhabricatorAuthRevoker { const REVOKERKEY = 'password'; public function getRevokerName() { return pht('Passwords'); } public function getRevokerDescription() { return pht( "Revokes all stored passwords.\n\n". "Account passwords a...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/revoker/PhabricatorAuthRevoker.php
src/applications/auth/revoker/PhabricatorAuthRevoker.php
<?php abstract class PhabricatorAuthRevoker extends Phobject { private $viewer; abstract public function revokeAllCredentials(); abstract public function revokeCredentialsFrom($object); abstract public function getRevokerName(); abstract public function getRevokerDescription(); public function getRev...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/revoker/PhabricatorAuthSessionRevoker.php
src/applications/auth/revoker/PhabricatorAuthSessionRevoker.php
<?php final class PhabricatorAuthSessionRevoker extends PhabricatorAuthRevoker { const REVOKERKEY = 'session'; public function getRevokerName() { return pht('Sessions'); } public function getRevokerDescription() { return pht( "Revokes all active login sessions.\n\n". "Affected users wi...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/revoker/PhabricatorAuthSSHRevoker.php
src/applications/auth/revoker/PhabricatorAuthSSHRevoker.php
<?php final class PhabricatorAuthSSHRevoker extends PhabricatorAuthRevoker { const REVOKERKEY = 'ssh'; public function getRevokerName() { return pht('SSH Keys'); } public function getRevokerDescription() { return pht( "Revokes all SSH public keys.\n\n". "SSH public keys are revoked, no...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/conduit/PhabricatorAuthConduitAPIMethod.php
src/applications/auth/conduit/PhabricatorAuthConduitAPIMethod.php
<?php abstract class PhabricatorAuthConduitAPIMethod extends ConduitAPIMethod { final public function getApplication() { return PhabricatorApplication::getByClass( PhabricatorAuthApplication::class); } public function getMethodStatusDescription() { return pht('These methods are recently introduce...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/conduit/PhabricatorAuthQueryPublicKeysConduitAPIMethod.php
src/applications/auth/conduit/PhabricatorAuthQueryPublicKeysConduitAPIMethod.php
<?php final class PhabricatorAuthQueryPublicKeysConduitAPIMethod extends PhabricatorAuthConduitAPIMethod { public function getAPIMethodName() { return 'auth.querypublickeys'; } public function getMethodDescription() { return pht('Query public keys.'); } protected function defineParamTypes() { ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/conduit/PhabricatorAuthLogoutConduitAPIMethod.php
src/applications/auth/conduit/PhabricatorAuthLogoutConduitAPIMethod.php
<?php final class PhabricatorAuthLogoutConduitAPIMethod extends PhabricatorAuthConduitAPIMethod { public function getAPIMethodName() { return 'auth.logout'; } public function getMethodSummary() { return pht('Terminate all login sessions.'); } public function getMethodDescription() { return p...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/data/PhabricatorAuthHighSecurityToken.php
src/applications/auth/data/PhabricatorAuthHighSecurityToken.php
<?php final class PhabricatorAuthHighSecurityToken extends Phobject { private $isUnchallengedToken = false; public function setIsUnchallengedToken($is_unchallenged_token) { $this->isUnchallengedToken = $is_unchallenged_token; return $this; } public function getIsUnchallengedToken() { return $t...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/data/PhabricatorAuthInviteAction.php
src/applications/auth/data/PhabricatorAuthInviteAction.php
<?php final class PhabricatorAuthInviteAction extends Phobject { private $rawInput; private $emailAddress; private $userPHID; private $issues = array(); private $action; const ACTION_SEND = 'invite.send'; const ACTION_ERROR = 'invite.error'; const ACTION_IGNORE = 'invite.ignore'; co...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/data/PhabricatorAuthSessionInfo.php
src/applications/auth/data/PhabricatorAuthSessionInfo.php
<?php final class PhabricatorAuthSessionInfo extends Phobject { private $sessionType; private $identityPHID; private $isPartial; public function setSessionType($session_type) { $this->sessionType = $session_type; return $this; } public function getSessionType() { return $this->sessionType; ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/engine/PhabricatorAuthInviteEngine.php
src/applications/auth/engine/PhabricatorAuthInviteEngine.php
<?php /** * This class does an unusual amount of flow control via exceptions. The intent * is to make the workflows highly testable, because this code is high-stakes * and difficult to test. */ final class PhabricatorAuthInviteEngine extends Phobject { private $viewer; private $userHasConfirmedVerify; pub...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/engine/PhabricatorAuthContactNumberMFAEngine.php
src/applications/auth/engine/PhabricatorAuthContactNumberMFAEngine.php
<?php final class PhabricatorAuthContactNumberMFAEngine extends PhabricatorEditEngineMFAEngine { public function shouldTryMFA() { return true; } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/engine/PhabricatorAuthFactorProviderMFAEngine.php
src/applications/auth/engine/PhabricatorAuthFactorProviderMFAEngine.php
<?php final class PhabricatorAuthFactorProviderMFAEngine extends PhabricatorEditEngineMFAEngine { public function shouldTryMFA() { return true; } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/engine/PhabricatorAuthSessionEngine.php
src/applications/auth/engine/PhabricatorAuthSessionEngine.php
<?php /** * * @task use Using Sessions * @task new Creating Sessions * @task hisec High Security * @task partial Partial Sessions * @task onetime One Time Login URIs * @task cache User Cache */ final class PhabricatorAuthSessionEngine extends Phobject { /** * Session issued to normal us...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
true
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/engine/PhabricatorAuthPasswordEngine.php
src/applications/auth/engine/PhabricatorAuthPasswordEngine.php
<?php final class PhabricatorAuthPasswordEngine extends Phobject { private $viewer; private $contentSource; private $object; private $passwordType; private $upgradeHashers = true; public function setViewer(PhabricatorUser $viewer) { $this->viewer = $viewer; return $this; } public function ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/engine/PhabricatorAuthSessionEngineExtension.php
src/applications/auth/engine/PhabricatorAuthSessionEngineExtension.php
<?php abstract class PhabricatorAuthSessionEngineExtension extends Phobject { final public function getExtensionKey() { return $this->getPhobjectClassConstant('EXTENSIONKEY'); } final public static function getAllExtensions() { return id(new PhutilClassMapQuery()) ->setAncestorClass(self::class...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/engine/PhabricatorAuthCSRFEngine.php
src/applications/auth/engine/PhabricatorAuthCSRFEngine.php
<?php final class PhabricatorAuthCSRFEngine extends Phobject { private $salt; private $secret; public function setSalt($salt) { $this->salt = $salt; return $this; } public function getSalt() { return $this->salt; } public function setSecret(PhutilOpaqueEnvelope $secret) { $this->secre...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/engine/PhabricatorAuthSessionEngineExtensionModule.php
src/applications/auth/engine/PhabricatorAuthSessionEngineExtensionModule.php
<?php final class PhabricatorAuthSessionEngineExtensionModule extends PhabricatorConfigModule { public function getModuleKey() { return 'sessionengine'; } public function getModuleName() { return pht('Engine: Session'); } public function renderModuleStatus(AphrontRequest $request) { $viewer ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/capability/AuthManageProvidersCapability.php
src/applications/auth/capability/AuthManageProvidersCapability.php
<?php final class AuthManageProvidersCapability extends PhabricatorPolicyCapability { const CAPABILITY = 'auth.manage.providers'; public function getCapabilityName() { return pht('Can Manage Auth Providers'); } public function describeCapabilityRejection() { return pht( 'You do not have perm...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/adapter/PhutilEmptyAuthAdapter.php
src/applications/auth/adapter/PhutilEmptyAuthAdapter.php
<?php /** * Empty authentication adapter with no logic. * * This adapter can be used when you need an adapter for some technical reason * but it doesn't make sense to put logic inside it. */ final class PhutilEmptyAuthAdapter extends PhutilAuthAdapter { private $accountID; private $adapterType; private $ad...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/adapter/PhutilAsanaAuthAdapter.php
src/applications/auth/adapter/PhutilAsanaAuthAdapter.php
<?php /** * Authentication adapter for Asana OAuth2. */ final class PhutilAsanaAuthAdapter extends PhutilOAuthAuthAdapter { public function getAdapterType() { return 'asana'; } public function getAdapterDomain() { return 'asana.com'; } public function getAccountID() { // See T13453. The Asan...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/adapter/PhutilAuthAdapter.php
src/applications/auth/adapter/PhutilAuthAdapter.php
<?php /** * Abstract interface to an identity provider or authentication source, like * Twitter, Facebook, or Google. * * Generally, adapters are handed some set of credentials particular to the * provider they adapt, and they turn those credentials into standard * information about the user's identity. For exam...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/adapter/PhutilTwitchAuthAdapter.php
src/applications/auth/adapter/PhutilTwitchAuthAdapter.php
<?php /** * Authentication adapter for Twitch.tv OAuth2. */ final class PhutilTwitchAuthAdapter extends PhutilOAuthAuthAdapter { public function getAdapterType() { return 'twitch'; } public function getAdapterDomain() { return 'twitch.tv'; } public function getAccountID() { return $this->get...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/adapter/PhutilDisqusAuthAdapter.php
src/applications/auth/adapter/PhutilDisqusAuthAdapter.php
<?php /** * Authentication adapter for Disqus OAuth2. */ final class PhutilDisqusAuthAdapter extends PhutilOAuthAuthAdapter { public function getAdapterType() { return 'disqus'; } public function getAdapterDomain() { return 'disqus.com'; } public function getAccountID() { return $this->getOA...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/adapter/PhutilOAuthAuthAdapter.php
src/applications/auth/adapter/PhutilOAuthAuthAdapter.php
<?php /** * Abstract adapter for OAuth2 providers. */ abstract class PhutilOAuthAuthAdapter extends PhutilAuthAdapter { private $clientID; private $clientSecret; private $redirectURI; private $scope; private $state; private $code; private $accessTokenData; private $oauthAccountData; abstract pro...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/adapter/PhutilPhabricatorAuthAdapter.php
src/applications/auth/adapter/PhutilPhabricatorAuthAdapter.php
<?php /** * Authentication adapter for Phabricator OAuth2. */ final class PhutilPhabricatorAuthAdapter extends PhutilOAuthAuthAdapter { private $phabricatorBaseURI; private $adapterDomain; public function setPhabricatorBaseURI($uri) { $this->phabricatorBaseURI = $uri; return $this; } public func...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/adapter/PhutilWordPressAuthAdapter.php
src/applications/auth/adapter/PhutilWordPressAuthAdapter.php
<?php /** * Authentication adapter for WordPress.com OAuth2. */ final class PhutilWordPressAuthAdapter extends PhutilOAuthAuthAdapter { public function getAdapterType() { return 'wordpress'; } public function getAdapterDomain() { return 'wordpress.com'; } public function getAccountID() { ret...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/adapter/PhutilGoogleAuthAdapter.php
src/applications/auth/adapter/PhutilGoogleAuthAdapter.php
<?php /** * Authentication adapter for Google OAuth2. */ final class PhutilGoogleAuthAdapter extends PhutilOAuthAuthAdapter { public function getAdapterType() { return 'google'; } public function getAdapterDomain() { return 'google.com'; } protected function newAccountIdentifiers() { $identi...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/adapter/PhutilSlackAuthAdapter.php
src/applications/auth/adapter/PhutilSlackAuthAdapter.php
<?php /** * Authentication adapter for Slack OAuth2. */ final class PhutilSlackAuthAdapter extends PhutilOAuthAuthAdapter { public function getAdapterType() { return 'Slack'; } public function getAdapterDomain() { return 'slack.com'; } public function getAccountID() { $user = $this->getOAuth...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/adapter/PhutilTwitterAuthAdapter.php
src/applications/auth/adapter/PhutilTwitterAuthAdapter.php
<?php /** * Authentication adapter for Twitter OAuth1. */ final class PhutilTwitterAuthAdapter extends PhutilOAuth1AuthAdapter { private $userInfo; public function getAccountID() { return idx($this->getHandshakeData(), 'user_id'); } public function getAccountName() { return idx($this->getHandshake...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/adapter/PhutilLDAPAuthAdapter.php
src/applications/auth/adapter/PhutilLDAPAuthAdapter.php
<?php /** * Retrieve identify information from LDAP accounts. */ final class PhutilLDAPAuthAdapter extends PhutilAuthAdapter { private $hostname; private $port = 389; private $baseDistinguishedName; private $searchAttributes = array(); private $usernameAttribute; private $realNameAttributes = array(); ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/adapter/PhutilFacebookAuthAdapter.php
src/applications/auth/adapter/PhutilFacebookAuthAdapter.php
<?php /** * Authentication adapter for Facebook OAuth2. */ final class PhutilFacebookAuthAdapter extends PhutilOAuthAuthAdapter { public function getAdapterType() { return 'facebook'; } public function getAdapterDomain() { return 'facebook.com'; } public function getAccountID() { return $thi...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/adapter/PhutilOAuth1AuthAdapter.php
src/applications/auth/adapter/PhutilOAuth1AuthAdapter.php
<?php /** * Abstract adapter for OAuth1 providers. */ abstract class PhutilOAuth1AuthAdapter extends PhutilAuthAdapter { private $consumerKey; private $consumerSecret; private $token; private $tokenSecret; private $verifier; private $handshakeData; private $callbackURI; private $privateKey; publi...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/adapter/PhutilAmazonAuthAdapter.php
src/applications/auth/adapter/PhutilAmazonAuthAdapter.php
<?php /** * Authentication adapter for Amazon OAuth2. */ final class PhutilAmazonAuthAdapter extends PhutilOAuthAuthAdapter { public function getAdapterType() { return 'amazon'; } public function getAdapterDomain() { return 'amazon.com'; } public function getAccountID() { return $this->getOA...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/adapter/PhutilJIRAAuthAdapter.php
src/applications/auth/adapter/PhutilJIRAAuthAdapter.php
<?php /** * Authentication adapter for JIRA OAuth1. */ final class PhutilJIRAAuthAdapter extends PhutilOAuth1AuthAdapter { // TODO: JIRA tokens expire (after 5 years) and we could surface and store // that. private $jiraBaseURI; private $adapterDomain; private $userInfo; public function setJIRABaseURI...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/adapter/PhutilGitHubAuthAdapter.php
src/applications/auth/adapter/PhutilGitHubAuthAdapter.php
<?php /** * Authentication adapter for Github OAuth2. */ final class PhutilGitHubAuthAdapter extends PhutilOAuthAuthAdapter { public function getAdapterType() { return 'github'; } public function getAdapterDomain() { return 'github.com'; } public function getAccountID() { return $this->getOA...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/adapter/PhutilBitbucketAuthAdapter.php
src/applications/auth/adapter/PhutilBitbucketAuthAdapter.php
<?php final class PhutilBitbucketAuthAdapter extends PhutilOAuth1AuthAdapter { private $userInfo; public function getAccountID() { return idx($this->getUserInfo(), 'username'); } public function getAccountName() { return idx($this->getUserInfo(), 'display_name'); } public function getAccountURI...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/future/PhabricatorDuoFuture.php
src/applications/auth/future/PhabricatorDuoFuture.php
<?php final class PhabricatorDuoFuture extends FutureProxy { private $future; private $integrationKey; private $secretKey; private $apiHostname; private $httpMethod = 'POST'; private $method; private $parameters; private $timeout; public function __construct() { parent::__construct(null); ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/tokentype/PhabricatorAuthOneTimeLoginTemporaryTokenType.php
src/applications/auth/tokentype/PhabricatorAuthOneTimeLoginTemporaryTokenType.php
<?php final class PhabricatorAuthOneTimeLoginTemporaryTokenType extends PhabricatorAuthTemporaryTokenType { const TOKENTYPE = 'login:onetime'; public function getTokenTypeDisplayName() { return pht('One-Time Login'); } public function getTokenReadableTypeName( PhabricatorAuthTemporaryToken $token)...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/tokentype/PhabricatorAuthTemporaryTokenType.php
src/applications/auth/tokentype/PhabricatorAuthTemporaryTokenType.php
<?php abstract class PhabricatorAuthTemporaryTokenType extends Phobject { abstract public function getTokenTypeDisplayName(); abstract public function getTokenReadableTypeName( PhabricatorAuthTemporaryToken $token); public function isTokenRevocable(PhabricatorAuthTemporaryToken $token) { return false...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/tokentype/PhabricatorAuthPasswordResetTemporaryTokenType.php
src/applications/auth/tokentype/PhabricatorAuthPasswordResetTemporaryTokenType.php
<?php final class PhabricatorAuthPasswordResetTemporaryTokenType extends PhabricatorAuthTemporaryTokenType { const TOKENTYPE = 'login:password'; public function getTokenTypeDisplayName() { return pht('Password Reset'); } public function getTokenReadableTypeName( PhabricatorAuthTemporaryToken $toke...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/tokentype/PhabricatorAuthTemporaryTokenTypeModule.php
src/applications/auth/tokentype/PhabricatorAuthTemporaryTokenTypeModule.php
<?php final class PhabricatorAuthTemporaryTokenTypeModule extends PhabricatorConfigModule { public function getModuleKey() { return 'temporarytoken'; } public function getModuleName() { return pht('Temporary Token Types'); } public function renderModuleStatus(AphrontRequest $request) { $view...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/constants/PhabricatorCommonPasswords.php
src/applications/auth/constants/PhabricatorCommonPasswords.php
<?php /** * Check if a password is extremely common. Preventing use of the most common * passwords is an attempt to mitigate slow botnet attacks against an entire * userbase. See T4143 for discussion. * * @task common Checking Common Passwords */ final class PhabricatorCommonPasswords extends Phobject { /* -( ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/constants/PhabricatorCookies.php
src/applications/auth/constants/PhabricatorCookies.php
<?php /** * Consolidates Phabricator application cookies, including registration * and session management. * * @task clientid Client ID Cookie * @task next Next URI Cookie */ final class PhabricatorCookies extends Phobject { /** * Stores the login username for password authentication. This is just ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/auth/constants/PhabricatorAuthFactorProviderStatus.php
src/applications/auth/constants/PhabricatorAuthFactorProviderStatus.php
<?php final class PhabricatorAuthFactorProviderStatus extends Phobject { private $key; private $spec = array(); const STATUS_ACTIVE = 'active'; const STATUS_DEPRECATED = 'deprecated'; const STATUS_DISABLED = 'disabled'; public static function newForStatus($status) { $result = new self(); $res...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/legalpad/controller/LegalpadDocumentSignatureViewController.php
src/applications/legalpad/controller/LegalpadDocumentSignatureViewController.php
<?php final class LegalpadDocumentSignatureViewController extends LegalpadController { public function handleRequest(AphrontRequest $request) { $viewer = $request->getViewer(); $id = $request->getURIData('id'); $signature = id(new LegalpadDocumentSignatureQuery()) ->setViewer($viewer) ->wit...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false