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 UserAuthController. getUserForToken(String authorizationToken)An API end-point that gives back the logged-in user for the authorization tokenStringAuthController. 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 StringFirebaseSecurity. verifyToken(String authorizationToken)A method that verifies the Firebase TokenvoidFirebaseSecurity. 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 voidAuthService. checkEmailUnregistered(String emailId)check if the email id is already registeredvoidAuthService. checkUserIDUniqueness(String userId)checks if the userid is unique or notvoidAuthService. signUp(Map<String,Object> payload)Pushes the user data to firebase as a new userUserAuthService. 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 databasevoidChattingController. 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 booleanUploadController. 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 voidContentViewController. 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.voidContentViewController. reactOnMemory(String authorizationToken, Map<String,Object> payload)The end-point that allows users to add a star to a memory in the feed.voidContentViewController. 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 UserProfileSearchController. getUserByID(String authorizationToken, Map<String,Object> payload)This end-point lets a user search another user by user-id.
-