Class AccountExternalIdInfo

java.lang.Object
com.google.gerrit.extensions.common.AccountExternalIdInfo
All Implemented Interfaces:
Comparable<AccountExternalIdInfo>

public class AccountExternalIdInfo extends Object implements Comparable<AccountExternalIdInfo>
Representation of an external ID in the REST API.

This class determines the JSON format of external IDs in the REST API.

External IDs are user identities that are assigned to an account. Often they are used to link user identities in external systems.

  • Field Details

    • identity

      public String identity
      The external ID key, formatted as <scheme>:<ID>.
    • emailAddress

      public String emailAddress
      The email address of the external ID.
    • trusted

      public Boolean trusted
      Whether the external ID is trusted.

      Also see com.google.gerrit.server.config.AuthConfig#isIdentityTrustable(java.util.Collection).

    • canDelete

      public Boolean canDelete
      Whether the external ID can be deleted by the calling user.
  • Constructor Details

    • AccountExternalIdInfo

      public AccountExternalIdInfo()
  • Method Details