Uses of Class
org.keycloak.models.OAuth2DeviceCodeModel
-
Packages that use OAuth2DeviceCodeModel Package Description org.keycloak.models -
-
Uses of OAuth2DeviceCodeModel in org.keycloak.models
Methods in org.keycloak.models that return OAuth2DeviceCodeModel Modifier and Type Method Description OAuth2DeviceCodeModelOAuth2DeviceCodeModel. approve(String userSessionId)OAuth2DeviceCodeModelOAuth2DeviceCodeModel. approve(String userSessionId, Map<String,String> additionalParams)static OAuth2DeviceCodeModelOAuth2DeviceCodeModel. create(RealmModel realm, ClientModel client, String deviceCode, String scope, String nonce, int expiresIn, int pollingInterval, String clientNotificationToken, String authReqId, Map<String,String> additionalParams)OAuth2DeviceCodeModelOAuth2DeviceCodeModel. deny()static OAuth2DeviceCodeModelOAuth2DeviceCodeModel. fromCache(RealmModel realm, String deviceCode, Map<String,String> data)OAuth2DeviceCodeModelOAuth2DeviceTokenStoreProvider. getByDeviceCode(RealmModel realm, String deviceCode)Get the model object by the given device codeOAuth2DeviceCodeModelOAuth2DeviceTokenStoreProvider. 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 booleanOAuth2DeviceTokenStoreProvider. isPollingAllowed(OAuth2DeviceCodeModel deviceCode)Check the device code is allowed to pollvoidOAuth2DeviceTokenStoreProvider. put(OAuth2DeviceCodeModel deviceCode, OAuth2DeviceUserCodeModel userCode, int lifespanSeconds)Stores the given device code and user code
-