Package org.keycloak.models
Class OAuth2DeviceConfig
java.lang.Object
org.keycloak.models.OAuth2DeviceConfig
- All Implemented Interfaces:
Serializable
- Author:
- Pedro Igor
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintgetLifespan(ClientModel client) intintgetPoolingInterval(ClientModel client) booleanvoidsetOAuth2DeviceCodeLifespan(Integer seconds) voidsetOAuth2DeviceCodeLifespan(RealmModel realm, Integer seconds) voidsetOAuth2DevicePollingInterval(Integer seconds) voidsetOAuth2DevicePollingInterval(RealmModel realm, Integer seconds)
-
Field Details
-
DEFAULT_OAUTH2_DEVICE_CODE_LIFESPAN
public static final int DEFAULT_OAUTH2_DEVICE_CODE_LIFESPAN- See Also:
-
DEFAULT_OAUTH2_DEVICE_POLLING_INTERVAL
public static final int DEFAULT_OAUTH2_DEVICE_POLLING_INTERVAL- See Also:
-
OAUTH2_DEVICE_CODE_LIFESPAN
-
OAUTH2_DEVICE_POLLING_INTERVAL
-
OAUTH2_DEVICE_CODE_LIFESPAN_PER_CLIENT
-
OAUTH2_DEVICE_POLLING_INTERVAL_PER_CLIENT
-
OAUTH2_DEVICE_AUTHORIZATION_GRANT_ENABLED
- See Also:
-
-
Constructor Details
-
OAuth2DeviceConfig
-
-
Method Details
-
getLifespan
public int getLifespan() -
setOAuth2DeviceCodeLifespan
-
setOAuth2DeviceCodeLifespan
-
getPoolingInterval
public int getPoolingInterval() -
setOAuth2DevicePollingInterval
-
setOAuth2DevicePollingInterval
-
getLifespan
-
getPoolingInterval
-
isOAuth2DeviceAuthorizationGrantEnabled
-