The official documentation for the @Transient states: (Link here)
A marker for Authentications that should never be stored across requests, for example a bearer token authentication
I understand that @Transient should be used when we do not want to persist any details.
One such example that the documentation mentions is for bearer token authentication which makes sense.
What can be a general rule of thumb for situtation(s) where @Transient should be used?
Thank you,