Uses of Record Class
io.agentscope.extensions.channel.common.CachedAccessToken
-
Uses of CachedAccessToken in io.agentscope.extensions.channel.common
Methods in io.agentscope.extensions.channel.common that return CachedAccessTokenModifier and TypeMethodDescriptionAccessTokenStore.get()Returns the cached token.InMemoryAccessTokenStore.get()Methods in io.agentscope.extensions.channel.common with parameters of type CachedAccessTokenModifier and TypeMethodDescriptionvoidAccessTokenStore.put(CachedAccessToken token) Cachestoken, replacing any previous entry unconditionally.voidInMemoryAccessTokenStore.put(CachedAccessToken token) default booleanAccessTokenStore.putIfNewer(CachedAccessToken token) Cachestokenonly when it is fresher than the entry currently held (strictly laterrefreshAtMs()), so racing refreshes — expected, as there is no cross-instance lock — cannot pin an older token with an earlier deadline.booleanInMemoryAccessTokenStore.putIfNewer(CachedAccessToken token)