Interface UsernameCredentials

All Superinterfaces:
Credentials, Describable<Credentials>, ExtensionPoint, Serializable
All Known Subinterfaces:
StandardUsernameCredentials, StandardUsernamePasswordCredentials, UsernamePasswordCredentials
All Known Implementing Classes:
UsernamePasswordCredentialsImpl

Credentials that have a username.
Since:
1.5
  • Method Details

    • getUsername

      @NonNull String getUsername()
      Returns the username.
      Returns:
      the username.
    • isUsernameSecret

      default boolean isUsernameSecret()
      Whether getUsername() should be considered a secret for purposes of behaviors like masking in build logs.
      Returns:
      true by default
      Since:
      2.4