Class DeviceTokenResponseContext
- java.lang.Object
-
- org.keycloak.protocol.oidc.grants.device.clientpolicy.context.DeviceTokenResponseContext
-
- All Implemented Interfaces:
ClientPolicyContext
public class DeviceTokenResponseContext extends Object implements ClientPolicyContext
- Author:
- Takashi Norimatsu
-
-
Constructor Summary
Constructors Constructor Description DeviceTokenResponseContext(OAuth2DeviceCodeModel deviceCodeModel, javax.ws.rs.core.MultivaluedMap<String,String> requestParameters, AuthenticatedClientSessionModel clientSession, TokenManager.AccessTokenResponseBuilder accessTokenResponseBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TokenManager.AccessTokenResponseBuilder
getAccessTokenResponseBuilder()
AuthenticatedClientSessionModel
getClientSession()
OAuth2DeviceCodeModel
getDeviceCodeModel()
ClientPolicyEvent
getEvent()
returnsClientPolicyEvent
of client policy related events.javax.ws.rs.core.MultivaluedMap<String,String>
getRequestParameters()
-
-
-
Constructor Detail
-
DeviceTokenResponseContext
public DeviceTokenResponseContext(OAuth2DeviceCodeModel deviceCodeModel, javax.ws.rs.core.MultivaluedMap<String,String> requestParameters, AuthenticatedClientSessionModel clientSession, TokenManager.AccessTokenResponseBuilder accessTokenResponseBuilder)
-
-
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()
-
getAccessTokenResponseBuilder
public TokenManager.AccessTokenResponseBuilder getAccessTokenResponseBuilder()
-
getClientSession
public AuthenticatedClientSessionModel getClientSession()
-
-