UserServiceInterface
interface UserServiceInterface
Interface to be called for DI for User Main related services
Methods
Adds the user
Adds attempt for signin
Adds role to user
Archives the user using Stored Procedure
Checks if profile is well filled
Deletes the user
Deletes role to user
Exports user's data
Finds user by email
Finds user by id
Finds user by identifier
Finds user by socialId
Finds user by token
Gets all the users
Gets the User entity used
Modifies the user
Modifies role to user
Registers the user
Confirms user's signup
Details
at line 26
add($user)
Adds the user
at line 32
array
addAttempt($error)
Adds attempt for signin
at line 37
addRole($user, string $role)
Adds role to user
at line 42
archive($userId)
Archives the user using Stored Procedure
at line 47
checkProfile($user)
Checks if profile is well filled
at line 52
delete($user)
Deletes the user
at line 57
deleteRole($user, string $role)
Deletes role to user
at line 63
Response
export($user, $format)
Exports user's data
at line 69
UserLight
findUserByEmail($email)
Finds user by email
at line 75
UserLight
findUserById($id)
Finds user by id
at line 81
UserLight
findUserByIdentifier($identifier)
Finds user by identifier
at line 87
UserLight
findUserBySocialId($socialId)
Finds user by socialId
at line 93
UserLight
findUserByToken($token)
Finds user by token
at line 99
array
getUsersAll()
Gets all the users
at line 105
string
getUserEntity()
Gets the User entity used
at line 110
modify($user)
Modifies the user
at line 115
modifyRoles($user, array $roles)
Modifies role to user
at line 120
signup($user)
Registers the user
at line 125
signupConfirm($user)
Confirms user's signup