You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When it comes to (renewal) tokens, persistent storage and reuse are a must-have.
I would like to implement this missing part of token cache & storage (here on Symfony) and as such having OAuthRestClient would help me to use symfony/cache with no subclassing involved.
Another alternative would be to make it (array)-casting friendly and allow loading its properties from an array.
OAuthRestClient is not serializable out of the box.
One benefit of implementing
Serializable
likeSymfony\Component\Security\Core\Authentication\Token\TokenInterface
is to offer built-in support for general string-like operations and in particular cache-like operation.When it comes to (renewal) tokens, persistent storage and reuse are a must-have.
I would like to implement this missing part of token cache & storage (here on Symfony) and as such having
OAuthRestClient
would help me to usesymfony/cache
with no subclassing involved.Another alternative would be to make it
(array)
-casting friendly and allow loading its properties from an array.Here is a sample:
The text was updated successfully, but these errors were encountered: