Class AuthRequest

java.lang.Object
com.google.gerrit.server.account.AuthRequest

public class AuthRequest extends Object
Information for AccountManager.authenticate(AuthRequest).

Callers should populate this object with as much information as possible about the user account. For example, OpenID authentication might return registration information including a display name for the user, and an email address for them. These fields however are optional, as not all OpenID providers return them, and not all non-OpenID systems can use them.

  • Method Details

    • getExternalIdKey

      public ExternalId.Key getExternalIdKey()
    • getLocalUser

      public String getLocalUser()
    • setLocalUser

      public void setLocalUser(String localUser)
    • getPassword

      public String getPassword()
    • setPassword

      public void setPassword(String pass)
    • getDisplayName

      public String getDisplayName()
    • setDisplayName

      public void setDisplayName(String name)
    • getEmailAddress

      public String getEmailAddress()
    • setEmailAddress

      public void setEmailAddress(String email)
    • getUserName

      public Optional<String> getUserName()
    • setUserName

      public void setUserName(String user)
    • isSkipAuthentication

      public boolean isSkipAuthentication()
    • setSkipAuthentication

      public void setSkipAuthentication(boolean skip)
    • getAuthPlugin

      public String getAuthPlugin()
    • setAuthPlugin

      public void setAuthPlugin(String authPlugin)
    • getAuthProvider

      public String getAuthProvider()
    • setAuthProvider

      public void setAuthProvider(String authProvider)
    • authProvidesAccountActiveStatus

      public boolean authProvidesAccountActiveStatus()
    • setAuthProvidesAccountActiveStatus

      public void setAuthProvidesAccountActiveStatus(boolean authProvidesAccountActiveStatus)
    • isActive

      public boolean isActive()
    • setActive

      public void setActive(Boolean isActive)