Uses of Class
eu.webtoolkit.jwt.auth.User
-
Uses of User in eu.webtoolkit.jwt.auth
Modifier and TypeMethodDescriptionRegistrationModel.doRegister()
Performs the registration process.AbstractUserDatabase.findWithAuthToken
(String hash) Finds a user with an authentication token.AbstractUserDatabase.findWithEmail
(String address) Finds a user with a given email address.AbstractUserDatabase.findWithEmailToken
(String hash) Finds a user with a given email token.abstract User
AbstractUserDatabase.findWithId
(String id) Finds a user with a given id.abstract User
AbstractUserDatabase.findWithIdentity
(String provider, String identity) Finds a user with a given identity.RegistrationModel.getExistingUser()
Returns the existing user that needs to be confirmed.AuthTokenResult.getUser()
Returns the identified user.EmailTokenResult.getUser()
Returns the user, if any.IssuedToken.getUser()
Retrieves the user that is associated with this token.Login.getUser()
Returns the user currently identified.AuthService.identifyUser
(Identity identity, AbstractUserDatabase users) Tries to match the identity to an existing user.AbstractUserDatabase.idpTokenUser
(IssuedToken token) Returns the user associated with the token.AuthModel.processAuthToken()
Detects and processes an authentication token.AbstractUserDatabase.registerNew()
Registers a new user.Modifier and TypeMethodDescriptionvoid
AbstractUserDatabase.addAuthToken
(User user, Token token) Adds an authentication token to a user.abstract void
AbstractUserDatabase.addIdentity
(User user, String provider, String id) Adds an identify for the user.AuthService.createAuthToken
(User user) Creates and stores an authentication token for the user.AuthWidget.createUpdatePasswordView
(User user, boolean promptPassword) Creates a view to update a user's password.int
AbstractPasswordService.delayForNextAttempt
(User user) Returns the delay for this user for a next authentication attempt.int
PasswordService.delayForNextAttempt
(User user) Returns the delay for this user for a next authentication attempt.void
AbstractUserDatabase.deleteUser
(User user) Delete a user.boolean
Indicates whether some other object is "equal to" this one.protected com.google.gson.JsonObject
OidcUserInfoEndpoint.generateUserInfo
(User user, Set<String> scope) Generates the JSON containing the claims for the given scope.Returns a user's email address.AbstractUserDatabase.getEmailToken
(User user) Returns an email token.AbstractUserDatabase.getEmailTokenRole
(User user) Returns the role of the current email token.int
AbstractUserDatabase.getFailedLoginAttempts
(User user) Returns the number of consecutive authentication failures.abstract String
AbstractUserDatabase.getIdentity
(User user, String provider) Returns a user identity.AbstractUserDatabase.getLastLoginAttempt
(User user) Returns the time of the last login.AbstractUserDatabase.getPassword
(User user) Returns a user password.Returns the status for a user.AbstractUserDatabase.getUnverifiedEmail
(User user) Returns a user's unverified email address.com.google.gson.JsonElement
AbstractUserDatabase.idpJsonClaim
(User user, String claim) Returns the value of a claim for a user.AbstractUserDatabase.idpTokenAdd
(String value, WDate expirationTime, String purpose, String scope, String redirectUri, User user, OAuthClient authClient) Adds a newIssuedToken
to the database and returns it.void
AuthWidget.letUpdatePassword
(User user, boolean promptPassword) Lets the user update his password.final void
Logs a user in.void
Login.login
(User user, LoginState state) Logs a user in.final boolean
Logs the user in.boolean
FormBaseModel.loginUser
(Login login, User user, LoginState state) Logs the user in.protected void
RegistrationWidget.registerUserDetails
(User user) Registers more user information.void
AbstractUserDatabase.removeAuthToken
(User user, String hash) Deletes an authentication token.abstract void
AbstractUserDatabase.removeIdentity
(User user, String provider) Removes a user identity.protected void
AuthService.sendConfirmMail
(String address, User user, String token) Sends a confirmation email to the user to verify his email address.protected void
AuthService.sendLostPasswordMail
(String address, User user, String token) Sends an email to the user to enter a new password.boolean
Sets a user's email address.void
AbstractUserDatabase.setEmailToken
(User user, Token token, EmailTokenRole role) Sets a new email token for a user.void
AbstractUserDatabase.setFailedLoginAttempts
(User user, int count) Sets the number of consecutive authentication failures.void
AbstractUserDatabase.setIdentity
(User user, String provider, String id) Changes an identity for a user.void
AbstractUserDatabase.setLastLoginAttempt
(User user, WDate t) Sets the time of the last login attempt.void
AbstractUserDatabase.setPassword
(User user, PasswordHash password) Sets a new user password.void
AuthModel.setRememberMeCookie
(User user) Creates a token and stores it in a cookie.void
AbstractUserDatabase.setStatus
(User user, AccountStatus status) Sets the user status.void
AbstractUserDatabase.setUnverifiedEmail
(User user, String address) Sets a user's unverified email address.int
AbstractUserDatabase.updateAuthToken
(User user, String hash, String newHash) Updates the authentication token with a new hash.void
AbstractPasswordService.updatePassword
(User user, String password) Sets a new password for the given user.void
PasswordService.updatePassword
(User user, String password) void
AuthService.verifyEmailAddress
(User user, String address) Verifies an email address.AbstractPasswordService.verifyPassword
(User user, String password) Verifies a password for a given user.PasswordService.verifyPassword
(User user, String password) Verifies a password for a given user.ModifierConstructorDescriptionAuthTokenResult
(AuthTokenState state, User user) Constructor.AuthTokenResult
(AuthTokenState state, User user, String newToken) Constructor.AuthTokenResult
(AuthTokenState state, User user, String newToken, int newTokenValidity) Constructor.EmailTokenResult
(EmailTokenState state, User user) Constructor.ResendEmailVerificationWidget
(User user, AuthService auth) Constructor.ResendEmailVerificationWidget
(User user, AuthService auth, WContainerWidget parentContainer) Constructor.UpdatePasswordWidget
(User user, RegistrationModel registrationModel, AuthModel authModel) Constructor.UpdatePasswordWidget
(User user, RegistrationModel registrationModel, AuthModel authModel, WContainerWidget parentContainer) Constructor. -
Uses of User in eu.webtoolkit.jwt.auth.jpa
Modifier and TypeMethodDescriptionUserDatabase.findWithAuthToken
(String hash) UserDatabase.findWithEmail
(String address) UserDatabase.findWithEmailToken
(String token) UserDatabase.findWithId
(String id) UserDatabase.findWithIdentity
(String provider, String identity) UserDatabase.registerNew()
Modifier and TypeMethodDescriptionvoid
UserDatabase.addAuthToken
(User user, Token token) void
UserDatabase.addIdentity
(User user, String provider, String identity) UserDatabase.getEmailToken
(User user) UserDatabase.getEmailTokenRole
(User user) int
UserDatabase.getFailedLoginAttempts
(User user) UserDatabase.getIdentity
(User user, String provider) UserDatabase.getLastLoginAttempt
(User user) UserDatabase.getPassword
(User user) UserDatabase.getUnverifiedEmail
(User user) void
UserDatabase.removeAuthToken
(User user, String hash) void
UserDatabase.removeIdentity
(User user, String provider) boolean
void
UserDatabase.setEmailToken
(User user, Token token, EmailTokenRole role) void
UserDatabase.setFailedLoginAttempts
(User user, int count) void
UserDatabase.setLastLoginAttempt
(User user, WDate d) void
UserDatabase.setPassword
(User user, PasswordHash password) void
UserDatabase.setUnverifiedEmail
(User user, String address)