Package org.keycloak.models
Class OAuth2DeviceConfig
java.lang.Object
org.keycloak.models.OAuth2DeviceConfig
- All Implemented Interfaces:
Serializable
- Author:
- Pedro Igor
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
getLifespan
(ClientModel client) int
int
getPoolingInterval
(ClientModel client) boolean
void
setOAuth2DeviceCodeLifespan
(Integer seconds) void
setOAuth2DevicePollingInterval
(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
-
getPoolingInterval
public int getPoolingInterval() -
setOAuth2DevicePollingInterval
-
getLifespan
-
getPoolingInterval
-
isOAuth2DeviceAuthorizationGrantEnabled
-