Page MenuHomePhabricator
Diviner Phabricator Tech Docs PassphraseTokenCredentialType

final class PassphraseTokenCredentialType
Phabricator 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

public function getCredentialType()

This method is not documented.
Return
wild

public function getProvidesType()

This method is not documented.
Return
wild

public function getCredentialTypeName()

This method is not documented.
Return
wild
This method is not documented.
Return
wild

public function getSecretLabel()

This method is not documented.
Return
wild

public function newSecretControl()

This method is not documented.
Return
wild

public static function getAllTypes()
Inherited

This method is not documented.
Return
wild

public static function getAllCreateableTypes()
Inherited

This method is not documented.
Return
wild

public static function getAllProvidesTypes()
Inherited

This method is not documented.
Return
wild

public static function getTypeByConstant($constant)
Inherited

This method is not documented.
Parameters
$constant
Return
wild

public function isCreateable()
Inherited

PassphraseCredentialType

Can users create new credentials of this type?

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

public function didInitializeNewCredential($actor, $credential)
Inherited

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

public function hasPublicKey()
Inherited

This method is not documented.
Return
wild

public function getPublicKey($viewer, $credential)
Inherited

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

public function shouldShowPasswordField()
Inherited

PassphraseCredentialType

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()
Inherited

PassphraseCredentialType

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