Class DeviceAuthorizationRestWebServiceImpl

java.lang.Object
io.jans.as.server.authorize.ws.rs.DeviceAuthorizationRestWebServiceImpl
All Implemented Interfaces:
DeviceAuthorizationRestWebService

@Path("/") public class DeviceAuthorizationRestWebServiceImpl extends Object implements DeviceAuthorizationRestWebService
Implementation for device authorization rest service.
  • Constructor Details

    • DeviceAuthorizationRestWebServiceImpl

      public DeviceAuthorizationRestWebServiceImpl()
  • Method Details

    • deviceAuthorization

      public jakarta.ws.rs.core.Response deviceAuthorization(String clientId, String scope, jakarta.servlet.http.HttpServletRequest httpRequest, jakarta.servlet.http.HttpServletResponse httpResponse, jakarta.ws.rs.core.SecurityContext securityContext)
      Description copied from interface: DeviceAuthorizationRestWebService
      Device Authorization Request [RFC8628 3.1]. Generates user_code, device_code and data needed to follow the device authorization flow in other rest services.
      Specified by:
      deviceAuthorization in interface DeviceAuthorizationRestWebService
      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].