Page MenuHomePhabricator
Diviner Phabricator Tech Docs PhabricatorOAuthServerAuthorizationsSettingsPanel

final class PhabricatorOAuthServerAuthorizationsSettingsPanel
Phabricator Technical Documentation (OAuth Server)

This class is not documented.

Tasks

Panel Configuration

  • public function getPanelKey()
  • public function getPanelName()
  • public function getPanelMenuIcon()
  • public function getPanelGroupKey()
  • public function isEnabled()
  • public function isUserPanel() — Return true if this panel is available to users while editing their own settings.
  • public function isManagementPanel() — Return true if this panel is available to administrators while managing bot and mailing list accounts.
  • public function isTemplatePanel() — Return true if this panel is available while editing settings templates.
  • public function isMultiFactorEnrollmentPanel() — Return true if this panel should be available when enrolling in MFA on a new account with MFA requiredd.

Panel Implementation

Internals

Other Methods

Methods

public function setUser($user)
Inherited

This method is not documented.
Parameters
PhabricatorUser$user
Return
wild

public function getUser()
Inherited

This method is not documented.
Return
wild

public function setViewer($viewer)
Inherited

This method is not documented.
Parameters
PhabricatorUser$viewer
Return
wild

public function getViewer()
Inherited

This method is not documented.
Return
wild

public function setOverrideURI($override_uri)
Inherited

This method is not documented.
Parameters
$override_uri
Return
wild

final public function setController($controller)
Inherited

This method is not documented.
Parameters
PhabricatorController$controller
Return
wild

final public function getController()
Inherited

This method is not documented.
Return
wild

final public function setNavigation($navigation)
Inherited

This method is not documented.
Parameters
AphrontSideNavFilterView$navigation
Return
wild

final public function getNavigation()
Inherited

This method is not documented.
Return
wild

public function setPreferences($preferences)
Inherited

This method is not documented.
Parameters
PhabricatorUserPreferences$preferences
Return
wild

public function getPreferences()
Inherited

This method is not documented.
Return
wild

final public static function getAllPanels()
Inherited

This method is not documented.
Return
wild

final public static function getAllDisplayPanels()
Inherited

This method is not documented.
Return
wild

final public function getPanelGroup()
Inherited

This method is not documented.
Return
wild

public function getPanelKey()

PhabricatorSettingsPanel

Return a unique string used in the URI to identify this panel, like "example".

PhabricatorOAuthServerAuthorizationsSettingsPanel
This method is not documented.
Return
stringUnique panel identifier (used in URIs).

public function getPanelName()

PhabricatorSettingsPanel

Return a human-readable description of the panel's contents, like "Example Settings".

PhabricatorOAuthServerAuthorizationsSettingsPanel
This method is not documented.
Return
stringHuman-readable panel name.

public function getPanelMenuIcon()

PhabricatorSettingsPanel

Return an icon for the panel in the menu.

PhabricatorOAuthServerAuthorizationsSettingsPanel
This method is not documented.
Return
stringIcon identifier.

public function getPanelGroupKey()

PhabricatorSettingsPanel

Return a panel group key constant for this panel.

PhabricatorOAuthServerAuthorizationsSettingsPanel
This method is not documented.
Return
constPanel group key.

public function isEnabled()

PhabricatorSettingsPanel

Return false to prevent this panel from being displayed or used. You can do, e.g., configuration checks here, to determine if the feature your panel controls is unavailable in this install. By default, all panels are enabled.

PhabricatorOAuthServerAuthorizationsSettingsPanel
This method is not documented.
Return
boolTrue if the panel should be shown.

public function isUserPanel()
Inherited

PhabricatorSettingsPanel

Return true if this panel is available to users while editing their own settings.

Return
boolTrue to enable management on behalf of a user.

public function isManagementPanel()
Inherited

PhabricatorSettingsPanel

Return true if this panel is available to administrators while managing bot and mailing list accounts.

Return
boolTrue to enable management on behalf of accounts.

public function isTemplatePanel()
Inherited

PhabricatorSettingsPanel

Return true if this panel is available while editing settings templates.

Return
boolTrue to allow editing in templates.

public function isMultiFactorEnrollmentPanel()
Inherited

PhabricatorSettingsPanel

Return true if this panel should be available when enrolling in MFA on a new account with MFA requiredd.

Return
boolTrue to allow configuration during MFA enrollment.

public function processRequest($request)

PhabricatorSettingsPanel

Process a user request for this settings panel. Implement this method like a lightweight controller. If you return an AphrontResponse, the response will be used in whole. If you return anything else, it will be treated as a view and composed into a normal settings page.

Generally, render your settings panel by returning a form, then return a redirect when the user saves settings.

PhabricatorOAuthServerAuthorizationsSettingsPanel
This method is not documented.
Parameters
AphrontRequest$requestIncoming request.
Return
wildResponse to request, either as an @{class:AphrontResponse} or something which can be composed into a @{class:AphrontView}.

final public function getPanelURI($path)
Inherited

PhabricatorSettingsPanel

Get the URI for this panel.

Parameters
string?$pathOptional path to append.
Return
stringRelative URI for the panel.

final public function getPanelOrderVector()
Inherited

PhabricatorSettingsPanel

Generates a key to sort the list of panels.

Return
stringSortable key.

protected function newDialog()
Inherited

This method is not documented.
Return
wild

protected function writeSetting($preferences, $key, $value)
Inherited

This method is not documented.
Parameters
PhabricatorUserPreferences$preferences
$key
$value
Return
wild

public function newBox($title, $content, $actions)
Inherited

This method is not documented.
Parameters
$title
$content
$actions
Return
wild