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 Summary
Constructors Constructor Description DeviceAuthorizationRestWebServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
Device Authorization Request [RFC8628 3.1].
-
-
-
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 interfaceDeviceAuthorizationRestWebService
- 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].
-
-