Page MenuHomenazrin ltd
Diviner Tech Docs PassphraseCredentialType

abstract class PassphraseCredentialType
Phorge Technical Documentation (Passphrase)

This class is not documented.

Tasks

Managing Encryption Passwords

  • public function shouldShowPasswordField() — Return true to show an additional "Password" field. This is used by SSH credentials to strip passwords off private keys.
  • public function getPasswordLabel() — Return the label for the password field, if one is shown.

Other Methods

Methods

abstract public function getCredentialType()

This method is not documented.
Return
wild

abstract public function getProvidesType()

This method is not documented.
Return
wild

abstract public function getCredentialTypeName()

This method is not documented.
Return
wild

abstract public function getCredentialTypeDescription()

This method is not documented.
Return
wild

abstract public function getSecretLabel()

This method is not documented.
Return
wild

public function newSecretControl()

This method is not documented.
Return
wild

public static function getAllTypes()

This method is not documented.
Return
wild

public static function getAllCreateableTypes()

This method is not documented.
Return
wild

public static function getAllProvidesTypes()

This method is not documented.
Return
wild

public static function getTypeByConstant($constant)

This method is not documented.
Parameters
$constant
Return
wild

public function isCreateable()

Can users create new credentials of this type?

Return
boolTrue if new credentials of this type can be created.

public function didInitializeNewCredential($actor, $credential)

This method is not documented.
Parameters
PhabricatorUser$actor
PassphraseCredential$credential
Return
wild

public function hasPublicKey()

This method is not documented.
Return
wild

public function getPublicKey($viewer, $credential)

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

public function shouldShowPasswordField()

Return true to show an additional "Password" field. This is used by SSH credentials to strip passwords off private keys.

Return
boolTrue if a password field should be shown to the user.

public function getPasswordLabel()

Return the label for the password field, if one is shown.

Return
stringHuman-readable field label.

public function shouldRequireUsername()

This method is not documented.
Return
wild