public final class OAuthUser extends User
| Constructor and Description |
|---|
OAuthUser() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(UserVisitor userVisitor)
Performs some processing on a user entity.
|
AuthenticationMethod |
authenticationMethod() |
Long |
getOAuthProvider() |
String |
getProviderUsername() |
void |
setOAuthProvider(Long oauthProvider) |
void |
setProviderUsername(String providerUsername) |
String[] |
validate()
Validate a
User object. |
getCreated, getDepartment, getEmail, getFirstName, getFullName, getLastLogin, getLastName, getLoginType, getOrganization, getTitle, isActive, setActive, setCreated, setDepartment, setEmail, setFirstName, setFullName, setLastLogin, setLastName, setLoginType, setOrganization, setTitlepublic String getProviderUsername()
public void setProviderUsername(String providerUsername)
public Long getOAuthProvider()
public void setOAuthProvider(Long oauthProvider)
public String[] validate()
UserUser object. Two rules are implemented: 1) The email
addresses in the two email fields must match, and 2) The passwords in the
two password fields must match.public void accept(UserVisitor userVisitor)
UserVisitableuserVisitor - a UserVisitor.public AuthenticationMethod authenticationMethod()
authenticationMethod in class UserCopyright © 2016–2020 Emory University. All rights reserved.