Package com.google.gerrit.server.account
Class AuthRequest.Factory
java.lang.Object
com.google.gerrit.server.account.AuthRequest.Factory
- Enclosing class:
- AuthRequest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(ExternalId.Key externalIdKey) createForEmail
(String email) Create a request for an email address registration.createForExternalUser
(String userName) Create a request for an external username.createForOAuthUser
(String userName) createForUser
(String userName) Create a request for a local username, such as from LDAP.
-
Constructor Details
-
Factory
-
-
Method Details
-
create
-
createForUser
Create a request for a local username, such as from LDAP. -
createForExternalUser
Create a request for an external username. -
createForOAuthUser
-
createForEmail
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.
-