mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-09 23:12:06 -03:30
Deprecate AuthenticatedClientSessionModel timestamp
Closes #42815 Signed-off-by: Pedro Ruivo <1492066+pruivo@users.noreply.github.com> Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com> Co-authored-by: Pedro Ruivo <1492066+pruivo@users.noreply.github.com> Co-authored-by: Alexander Schwartz <alexander.schwartz@ibm.com>
This commit is contained in:
parent
0baeff171a
commit
53007546ad
@ -339,6 +339,12 @@ The options `+--spi-user-sessions--infinispan--offline-session-cache-entry-lifes
|
||||
|
||||
As an alternative, use the `cache-embedded-offline-sessions-max-count` and `cache-embedded-offline-client-sessions-max-count` options to limit the memory usage if the default of 10,000 cache offline user and client sessions does not work in your scenario.
|
||||
|
||||
=== Timestamp in the AuthenticatedClientSessionModel
|
||||
|
||||
The timestamp of the last refresh token update of OpenID Connect clients is currently available via `AuthenticatedClientSessionModel#getTimestamp()` and `AuthenticatedClientSessionModel#setTimestamp()`.
|
||||
|
||||
This is now deprecated for removal without a replacement.
|
||||
|
||||
=== Passkeys Conditional UI Authenticator requires a feature
|
||||
|
||||
The *Passkeys Conditional UI Authenticator* authenticator was deprecated in the version 26.3.0, but you can still use it if you enable
|
||||
|
||||
@ -56,12 +56,20 @@ public interface AuthenticatedClientSessionModel extends CommonClientSessionMode
|
||||
return Boolean.parseBoolean(getNote(USER_SESSION_REMEMBER_ME_NOTE));
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated for removed, without replacement.
|
||||
*/
|
||||
@Deprecated(since = "26.4", forRemoval = true)
|
||||
// This data may not be required as we can check the expiry time in the refresh token.
|
||||
// If so, this method can be removed; otherwise we keep the method and remove the deprecation notice.
|
||||
int getTimestamp();
|
||||
|
||||
/**
|
||||
* Set the timestamp for the client session.
|
||||
* If the timestamp is smaller or equal than the current timestamp, the operation is ignored.
|
||||
* @deprecated for removed, without replacement.
|
||||
*/
|
||||
@Deprecated(since = "26.4", forRemoval = true)
|
||||
void setTimestamp(int timestamp);
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user