Class DeviceAuthorizationRestWebServiceImpl

    • Constructor Detail

      • DeviceAuthorizationRestWebServiceImpl

        public DeviceAuthorizationRestWebServiceImpl()
    • Method Detail

      • 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].