Uses of Class
in.cs699.tensors.delagram.auth_service.exception.AuthenticationFailedException
-
-
Uses of AuthenticationFailedException in in.cs699.tensors.delagram.auth_service.controller
Methods in in.cs699.tensors.delagram.auth_service.controller that throw AuthenticationFailedException Modifier and Type Method Description User
AuthController. getUserForToken(String authorizationToken)
An API end-point that gives back the logged-in user for the authorization tokenString
AuthController. signUp(Map<String,Object> payload)
An API call which checks the validity of user data and sign's up i.e. -
Uses of AuthenticationFailedException in in.cs699.tensors.delagram.auth_service.security
Methods in in.cs699.tensors.delagram.auth_service.security that throw AuthenticationFailedException Modifier and Type Method Description String
FirebaseSecurity. verifyToken(String authorizationToken)
A method that verifies the Firebase Tokenvoid
FirebaseSecurity. verifyUser(String currentUserID, String authorizationToken)
A service that validates the user id with the JWT that is passed on with the header of the request -
Uses of AuthenticationFailedException in in.cs699.tensors.delagram.auth_service.service
Methods in in.cs699.tensors.delagram.auth_service.service that throw AuthenticationFailedException Modifier and Type Method Description void
AuthService. checkEmailUnregistered(String emailId)
check if the email id is already registeredvoid
AuthService. checkUserIDUniqueness(String userId)
checks if the userid is unique or notvoid
AuthService. signUp(Map<String,Object> payload)
Pushes the user data to firebase as a new userUser
AuthService. verifyTokenAndGetUser(String authorizationToken)
This method is a wrapper for verifying the Firebase token, and returning the associated user object -
Uses of AuthenticationFailedException in in.cs699.tensors.delagram.chatting_service.controller
Methods in in.cs699.tensors.delagram.chatting_service.controller that throw AuthenticationFailedException Modifier and Type Method Description Vector<MyMessage>
ChattingController. getAllMessages(String authorizationToken, Map<String,Object> map)
An API call which sends all the messages of a given user from the SQLite Database (Usually called at application startup)Vector<MyMessage>
ChattingController. getNewMessages(String authorizationToken, Map<String,Object> map)
An API call which sends any new messages received from any user from the firebase realtime databasevoid
ChattingController. sendMessage(String authorizationToken, Map<String,Object> message)
An API call which check's the validity of the user and uploads message on the firebase as well as on SQLite database -
Uses of AuthenticationFailedException in in.cs699.tensors.delagram.content_upload_service.controller
Methods in in.cs699.tensors.delagram.content_upload_service.controller that throw AuthenticationFailedException Modifier and Type Method Description boolean
UploadController. uploadMemory(String authorizationToken, Map<String,Object> payload)
API end-point to upload memory. -
Uses of AuthenticationFailedException in in.cs699.tensors.delagram.content_view_service.controller
Methods in in.cs699.tensors.delagram.content_view_service.controller that throw AuthenticationFailedException Modifier and Type Method Description void
ContentViewController. commentOnMemory(String authorizationToken, Map<String,Object> payload)
The end-point that allows users to comment on a memory in the feed.List<Feed>
ContentViewController. fetchFeed(String authorizationToken, Map<String,Object> payload)
The end-point that provides the web-service of fetching the recent feed for the currently logged in user.void
ContentViewController. reactOnMemory(String authorizationToken, Map<String,Object> payload)
The end-point that allows users to add a star to a memory in the feed.void
ContentViewController. reportMemory(String authorizationToken, Map<String,Object> payload)
The end-point that lets users report a memory on their feed. -
Uses of AuthenticationFailedException in in.cs699.tensors.delagram.profile_search_service.controller
Methods in in.cs699.tensors.delagram.profile_search_service.controller that throw AuthenticationFailedException Modifier and Type Method Description User
ProfileSearchController. getUserByID(String authorizationToken, Map<String,Object> payload)
This end-point lets a user search another user by user-id.
-