Class AuthenticationController

    • Constructor Detail

      • AuthenticationController

        public AuthenticationController​(@Nullable
                                        TenantComponent tenantComponent)
    • Method Detail

      • authenticationRequest

        @RequestMapping(method=POST)
        public org.springframework.http.ResponseEntity<AuthenticationResponse> authenticationRequest​(@RequestParam
                                                                                                     String username,
                                                                                                     String password,
                                                                                                     org.springframework.mobile.device.Device device,
                                                                                                     @RequestHeader(name="X-AUTH-TOKEN",required=false)
                                                                                                     String token,
                                                                                                     javax.servlet.http.HttpServletRequest request)
                                                                                              throws org.springframework.security.core.AuthenticationException
        Throws:
        org.springframework.security.core.AuthenticationException
      • auth

        public org.springframework.http.ResponseEntity<AuthenticationResponse> auth​(String username,
                                                                                    String password,
                                                                                    org.springframework.mobile.device.Device device,
                                                                                    String provider,
                                                                                    String authToken,
                                                                                    com.google.gson.JsonObject details,
                                                                                    javax.servlet.http.HttpServletRequest request)
                                                                             throws org.springframework.security.core.AuthenticationException
        Throws:
        org.springframework.security.core.AuthenticationException
      • authenticationRequest

        @RequestMapping(value="refresh",
                        method=GET)
        public org.springframework.http.ResponseEntity<?> authenticationRequest​(javax.servlet.http.HttpServletRequest request)
      • resetPassword

        @PostMapping("reset-password")
        public org.springframework.http.ResponseEntity<String> resetPassword​(@RequestParam("email")
                                                                             String email)
      • confirmResetPassword

        @PostMapping("confirm-reset-password")
        public void confirmResetPassword​(@RequestParam("password")
                                         String password,
                                         @RequestParam(value="otp",required=false)
                                         String otp,
                                         @RequestHeader("X-AUTH-TOKEN")
                                         String authToken)
      • signUp

        @PostMapping("signup")
        public org.springframework.http.ResponseEntity<DefaultResponse> signUp​(@RequestBody
                                                                               Var fields)