Class DeviceAuthorizationRestWebServiceImpl

    • Method Summary

      All Methods Instance Methods Concrete 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].
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DeviceAuthorizationRestWebServiceImpl

        public DeviceAuthorizationRestWebServiceImpl()
    • Method Detail

      • deviceAuthorization

        public 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)
        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].