Class AuthController


@RestController @RequestMapping("/rest/auth") public class AuthController extends GlobalCorsConfigController
clase para los globales
Author:
Alejandro
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.http.ResponseEntity<com.futbol.manager.response.Response>
    authenticateUser(com.futbol.manager.dto.LoginDTO loginDTO)
    metodo para logear un usuario
    org.springframework.http.ResponseEntity<com.futbol.manager.response.Response>
    resendMailWelcome(com.futbol.manager.dto.LoginDTO loginDTO)
    metodo para enviar un email de bienvenida

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AuthController

      public AuthController()
  • Method Details

    • authenticateUser

      @PostMapping("/login") public org.springframework.http.ResponseEntity<com.futbol.manager.response.Response> authenticateUser(@RequestBody com.futbol.manager.dto.LoginDTO loginDTO) throws Exception
      metodo para logear un usuario
      Parameters:
      loginDTO -
      Returns:
      Throws:
      Exception
    • resendMailWelcome

      @PostMapping("/resendMailWelcome") public org.springframework.http.ResponseEntity<com.futbol.manager.response.Response> resendMailWelcome(@RequestBody com.futbol.manager.dto.LoginDTO loginDTO) throws Exception
      metodo para enviar un email de bienvenida
      Parameters:
      loginDTO -
      Returns:
      Throws:
      Exception