Package | Description |
---|---|
org.keycloak.models | |
org.keycloak.models.sessions.infinispan |
Modifier and Type | Method and Description |
---|---|
OAuth2DeviceCodeModel |
OAuth2DeviceCodeModel.approve(String userSessionId) |
static OAuth2DeviceCodeModel |
OAuth2DeviceCodeModel.create(RealmModel realm,
ClientModel client,
String deviceCode,
String scope,
String nonce,
int expiresIn,
int pollingInterval,
Map<String,String> additionalParams) |
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 code
|
OAuth2DeviceCodeModel |
OAuth2DeviceTokenStoreProvider.getByUserCode(RealmModel realm,
String userCode)
Get the model object by the given user code
|
Modifier and Type | Method and Description |
---|---|
boolean |
OAuth2DeviceTokenStoreProvider.isPollingAllowed(OAuth2DeviceCodeModel deviceCode)
Check the device code is allowed to poll
|
void |
OAuth2DeviceTokenStoreProvider.put(OAuth2DeviceCodeModel deviceCode,
OAuth2DeviceUserCodeModel userCode,
int lifespanSeconds)
Stores the given device code and user code
|
Modifier and Type | Method and Description |
---|---|
OAuth2DeviceCodeModel |
InfinispanOAuth2DeviceTokenStoreProvider.getByDeviceCode(RealmModel realm,
String deviceCode) |
OAuth2DeviceCodeModel |
InfinispanOAuth2DeviceTokenStoreProvider.getByUserCode(RealmModel realm,
String userCode) |
Modifier and Type | Method and Description |
---|---|
boolean |
InfinispanOAuth2DeviceTokenStoreProvider.isPollingAllowed(OAuth2DeviceCodeModel deviceCode) |
void |
InfinispanOAuth2DeviceTokenStoreProvider.put(OAuth2DeviceCodeModel deviceCode,
OAuth2DeviceUserCodeModel userCode,
int lifespanSeconds) |
Copyright © 2021 JBoss by Red Hat. All rights reserved.