Class AuthRequest.Factory

java.lang.Object
com.google.gerrit.server.account.AuthRequest.Factory
Enclosing class:
AuthRequest

public static class AuthRequest.Factory extends Object
  • Constructor Details

  • Method Details

    • create

      public AuthRequest create(ExternalId.Key externalIdKey)
    • createForUser

      public AuthRequest createForUser(String userName)
      Create a request for a local username, such as from LDAP.
    • createForExternalUser

      public AuthRequest createForExternalUser(String userName)
      Create a request for an external username.
    • createForOAuthUser

      public AuthRequest createForOAuthUser(String userName)
    • createForEmail

      public AuthRequest createForEmail(String email)
      Create a request for an email address registration.

      This type of request should be used only to attach a new email address to an existing user account.