Class AccessTokenController


  • @RestController
    public class AccessTokenController
    extends Object
    Controller that handles the refresh of the tokens
    Since:
    3.2
    Author:
    joseross
    • Method Detail

      • refreshToken

        @GetMapping(value="/refresh",
                    produces="application/json")
        public AccessToken refreshToken​(org.springframework.security.core.Authentication authentication,
                                        javax.servlet.http.HttpServletRequest request,
                                        javax.servlet.http.HttpServletResponse response)
                                 throws Exception
        Throws:
        Exception
      • authType

        @GetMapping(value="/authType",
                    produces="application/json")
        public Object authType​(org.springframework.security.core.Authentication authentication,
                               javax.servlet.http.HttpServletResponse response)
                        throws IOException
        Throws:
        IOException