Class DeviceTokenRequestContext
- java.lang.Object
-
- org.keycloak.protocol.oidc.grants.device.clientpolicy.context.DeviceTokenRequestContext
-
- All Implemented Interfaces:
ClientPolicyContext
public class DeviceTokenRequestContext extends Object implements ClientPolicyContext
- Author:
- Takashi Norimatsu
-
-
Constructor Summary
Constructors Constructor Description DeviceTokenRequestContext(OAuth2DeviceCodeModel deviceCodeModel, javax.ws.rs.core.MultivaluedMap<String,String> requestParameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OAuth2DeviceCodeModel
getDeviceCodeModel()
ClientPolicyEvent
getEvent()
returnsClientPolicyEvent
of client policy related events.javax.ws.rs.core.MultivaluedMap<String,String>
getRequestParameters()
-
-
-
Constructor Detail
-
DeviceTokenRequestContext
public DeviceTokenRequestContext(OAuth2DeviceCodeModel deviceCodeModel, javax.ws.rs.core.MultivaluedMap<String,String> requestParameters)
-
-
Method Detail
-
getEvent
public ClientPolicyEvent getEvent()
Description copied from interface:ClientPolicyContext
returnsClientPolicyEvent
of client policy related events.- Specified by:
getEvent
in interfaceClientPolicyContext
- Returns:
ClientPolicyEvent
-
getDeviceCodeModel
public OAuth2DeviceCodeModel getDeviceCodeModel()
-
-