Package com.google.gerrit.server.account
Class AuthRequest
java.lang.Object
com.google.gerrit.server.account.AuthRequest
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.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
isActive()
boolean
void
void
setAuthPlugin
(String authPlugin) void
setAuthProvider
(String authProvider) void
setAuthProvidesAccountActiveStatus
(boolean authProvidesAccountActiveStatus) void
setDisplayName
(String name) void
setEmailAddress
(String email) void
setLocalUser
(String localUser) void
setPassword
(String pass) void
setSkipAuthentication
(boolean skip) void
setUserName
(String user)
-
Method Details
-
getExternalIdKey
-
getLocalUser
-
setLocalUser
-
getPassword
-
setPassword
-
getDisplayName
-
setDisplayName
-
getEmailAddress
-
setEmailAddress
-
getUserName
-
setUserName
-
isSkipAuthentication
public boolean isSkipAuthentication() -
setSkipAuthentication
public void setSkipAuthentication(boolean skip) -
getAuthPlugin
-
setAuthPlugin
-
getAuthProvider
-
setAuthProvider
-
authProvidesAccountActiveStatus
public boolean authProvidesAccountActiveStatus() -
setAuthProvidesAccountActiveStatus
public void setAuthProvidesAccountActiveStatus(boolean authProvidesAccountActiveStatus) -
isActive
public boolean isActive() -
setActive
-