Interface IAuthService
- All Known Implementing Classes:
AuthService
public interface IAuthService
-
Method Summary
Modifier and TypeMethodDescriptionGet the currently authenticated mobile user, if any.Get the currently authenticated mobile user, or throw an exception if no user is authenticated.getUser()
Get the currently authenticated user, if any.Get the currently authenticated user, or throw an exception if no user is authenticated.
-
Method Details
-
getUser
Get the currently authenticated user, if any. -
getUserOrThrow
Get the currently authenticated user, or throw an exception if no user is authenticated.- Throws:
NotAuthenticatedException
-
getMobileUser
Get the currently authenticated mobile user, if any.- Throws:
ManyUsersFoundException
- if multiple users are found with the same username
-
getMobileUserOrThrow
Get the currently authenticated mobile user, or throw an exception if no user is authenticated.- Throws:
ManyUsersFoundException
- if multiple users are found with the same usernameNotAuthenticatedException
-