|
void | put (ActionTokenKeyModel actionTokenKey, Map< String, String > notes) |
|
ActionTokenValueModel | get (ActionTokenKeyModel key) |
|
ActionTokenValueModel | remove (ActionTokenKeyModel key) |
|
Internal action token store provider.
It's used for store the details about used action tokens. There is separate provider for OAuth2 codes - CodeToTokenStoreProvider, which may reuse some components (eg. same infinispan cache)
- 著者
- hmlnarik
◆ get()
ActionTokenValueModel org.keycloak.models.ActionTokenStoreProvider.get |
( |
ActionTokenKeyModel |
key | ) |
|
Returns token corresponding to the given key from the internal action token store
- 引数
-
- 戻り値
- if no token is found for given key and nonce, value otherwise
◆ put()
void org.keycloak.models.ActionTokenStoreProvider.put |
( |
ActionTokenKeyModel |
actionTokenKey, |
|
|
Map< String, String > |
notes |
|
) |
| |
Adds a given token to token store.
- 引数
-
actionTokenKey | key |
notes | Optional notes to be stored with the token. Can be in which case it is treated as an empty map. |
◆ remove()
ActionTokenValueModel org.keycloak.models.ActionTokenStoreProvider.remove |
( |
ActionTokenKeyModel |
key | ) |
|
Removes token corresponding to the given key from the internal action token store, and returns the stored value
- 引数
-
key | key |
nonce | nonce that must match a given key |
- 戻り値
- if no token is found for given key and nonce, value otherwise
このインタフェース詳解は次のファイルから抽出されました: