Interface UserInfoRestWebService

  • All Known Implementing Classes:
    UserInfoRestWebServiceImpl

    public interface UserInfoRestWebService
    Provides interface for User Info REST web services
    Version:
    September 7, 2017
    Author:
    Javier Rojas Blum
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      javax.ws.rs.core.Response requestUserInfoGet​(java.lang.String accessToken, java.lang.String authorization, javax.servlet.http.HttpServletRequest request, javax.ws.rs.core.SecurityContext securityContext)  
      javax.ws.rs.core.Response requestUserInfoPost​(java.lang.String accessToken, java.lang.String authorization, javax.servlet.http.HttpServletRequest request, javax.ws.rs.core.SecurityContext securityContext)  
    • Method Detail

      • requestUserInfoGet

        @GET
        @Path("/userinfo")
        @Produces("application/json")
        javax.ws.rs.core.Response requestUserInfoGet​(@QueryParam("access_token")
                                                     java.lang.String accessToken,
                                                     @HeaderParam("Authorization")
                                                     java.lang.String authorization,
                                                     @Context
                                                     javax.servlet.http.HttpServletRequest request,
                                                     @Context
                                                     javax.ws.rs.core.SecurityContext securityContext)
      • requestUserInfoPost

        @POST
        @Path("/userinfo")
        @Produces("application/json")
        javax.ws.rs.core.Response requestUserInfoPost​(@FormParam("access_token")
                                                      java.lang.String accessToken,
                                                      @HeaderParam("Authorization")
                                                      java.lang.String authorization,
                                                      @Context
                                                      javax.servlet.http.HttpServletRequest request,
                                                      @Context
                                                      javax.ws.rs.core.SecurityContext securityContext)