Uses of Class
org.keycloak.models.OAuth2DeviceCodeModel
-
-
Uses of OAuth2DeviceCodeModel in org.keycloak.models
Methods in org.keycloak.models that return OAuth2DeviceCodeModel Modifier and Type Method Description OAuth2DeviceCodeModel
OAuth2DeviceCodeModel. approve(String userSessionId)
OAuth2DeviceCodeModel
OAuth2DeviceCodeModel. approve(String userSessionId, Map<String,String> additionalParams)
static OAuth2DeviceCodeModel
OAuth2DeviceCodeModel. create(RealmModel realm, ClientModel client, String deviceCode, String scope, String nonce, int expiresIn, int pollingInterval, String clientNotificationToken, String authReqId, Map<String,String> additionalParams, String codeChallenge, String codeChallengeMethod)
OAuth2DeviceCodeModel
OAuth2DeviceCodeModel. deny()
static OAuth2DeviceCodeModel
OAuth2DeviceCodeModel. fromCache(RealmModel realm, String deviceCode, Map<String,String> data)
OAuth2DeviceCodeModel
OAuth2DeviceTokenStoreProvider. getByDeviceCode(RealmModel realm, String deviceCode)
Get the model object by the given device codeOAuth2DeviceCodeModel
OAuth2DeviceTokenStoreProvider. getByUserCode(RealmModel realm, String userCode)
Get the model object by the given user codeMethods in org.keycloak.models with parameters of type OAuth2DeviceCodeModel Modifier and Type Method Description boolean
OAuth2DeviceTokenStoreProvider. isPollingAllowed(OAuth2DeviceCodeModel deviceCode)
Check the device code is allowed to pollvoid
OAuth2DeviceTokenStoreProvider. put(OAuth2DeviceCodeModel deviceCode, OAuth2DeviceUserCodeModel userCode, int lifespanSeconds)
Stores the given device code and user code -
Uses of OAuth2DeviceCodeModel in org.keycloak.models.sessions.infinispan
Methods in org.keycloak.models.sessions.infinispan that return OAuth2DeviceCodeModel Modifier and Type Method Description OAuth2DeviceCodeModel
InfinispanOAuth2DeviceTokenStoreProvider. getByDeviceCode(RealmModel realm, String deviceCode)
OAuth2DeviceCodeModel
InfinispanOAuth2DeviceTokenStoreProvider. getByUserCode(RealmModel realm, String userCode)
Methods in org.keycloak.models.sessions.infinispan with parameters of type OAuth2DeviceCodeModel Modifier and Type Method Description boolean
InfinispanOAuth2DeviceTokenStoreProvider. isPollingAllowed(OAuth2DeviceCodeModel deviceCode)
void
InfinispanOAuth2DeviceTokenStoreProvider. put(OAuth2DeviceCodeModel deviceCode, OAuth2DeviceUserCodeModel userCode, int lifespanSeconds)
-
Uses of OAuth2DeviceCodeModel in org.keycloak.protocol.oidc.grants.ciba.endpoints
Methods in org.keycloak.protocol.oidc.grants.ciba.endpoints with parameters of type OAuth2DeviceCodeModel Modifier and Type Method Description protected void
BackchannelAuthenticationCallbackEndpoint. sendClientNotificationRequest(ClientModel client, CibaConfig cibaConfig, OAuth2DeviceCodeModel deviceModel)
-
Uses of OAuth2DeviceCodeModel in org.keycloak.protocol.oidc.grants.device.clientpolicy.context
Methods in org.keycloak.protocol.oidc.grants.device.clientpolicy.context that return OAuth2DeviceCodeModel Modifier and Type Method Description OAuth2DeviceCodeModel
DeviceTokenRequestContext. getDeviceCodeModel()
Constructors in org.keycloak.protocol.oidc.grants.device.clientpolicy.context with parameters of type OAuth2DeviceCodeModel Constructor Description DeviceTokenRequestContext(OAuth2DeviceCodeModel deviceCodeModel, javax.ws.rs.core.MultivaluedMap<String,String> requestParameters)
-