Interface DeviceAuthorizationRestWebService

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      jakarta.ws.rs.core.Response deviceAuthorization​(java.lang.String clientId, java.lang.String scope, jakarta.servlet.http.HttpServletRequest httpRequest, jakarta.servlet.http.HttpServletResponse httpResponse, jakarta.ws.rs.core.SecurityContext securityContext)
      Device Authorization Request [RFC8628 3.1].
    • Method Detail

      • deviceAuthorization

        @POST
        @Path("/device_authorization")
        @Produces("application/json")
        jakarta.ws.rs.core.Response deviceAuthorization​(@FormParam("client_id")
                                                        java.lang.String clientId,
                                                        @FormParam("scope")
                                                        java.lang.String scope,
                                                        @Context
                                                        jakarta.servlet.http.HttpServletRequest httpRequest,
                                                        @Context
                                                        jakarta.servlet.http.HttpServletResponse httpResponse,
                                                        @Context
                                                        jakarta.ws.rs.core.SecurityContext securityContext)
        Device Authorization Request [RFC8628 3.1]. Generates user_code, device_code and data needed to follow the device authorization flow in other rest services.
        Parameters:
        clientId - REQUIRED The client identifier as described in Section 2.2 of [RFC6749].
        scope - The scope of the access request as defined by Section 3.3 of [RFC6749].