I am curious about using the UserTokens
table, which is a part of ASP.NET Identity model, to store the refresh tokens.
A bit more context: I am developing a pretty trivial web API with the JWT bearer authentication. So I don't need to store authentication tokens in the database, unlike the refresh tokens. This article says that the UserTokens
table is intended to store the authentication tokens, but since I don't need them in the database this table is just chilling around without any job.
So the question is: how suitable the UserTokens
table is for storing refresh tokens in terms of good quality code, semantics accuracy and maintainability?