Package org.gluu.oxauth.authorize.ws.rs
Interface DeviceAuthorizationRestWebService
-
- All Known Implementing Classes:
DeviceAuthorizationRestWebServiceImpl
public interface DeviceAuthorizationRestWebService
Provides interface to process OAuth2 Device Flow.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.ws.rs.core.Response
deviceAuthorization(java.lang.String clientId, java.lang.String scope, javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse, javax.ws.rs.core.SecurityContext securityContext)
Device Authorization Request [RFC8628 3.1].
-
-
-
Method Detail
-
deviceAuthorization
@POST @Path("/device_authorization") @Produces("application/json") javax.ws.rs.core.Response deviceAuthorization(@FormParam("client_id") java.lang.String clientId, @FormParam("scope") java.lang.String scope, @Context javax.servlet.http.HttpServletRequest httpRequest, @Context javax.servlet.http.HttpServletResponse httpResponse, @Context javax.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].
-
-