Set stores a refresh token with associated user data and expiration Returns an error if the operation fails
(ctx context.Context, token string, userData any, expiry time.Time)
| 20 | // Set stores a refresh token with associated user data and expiration |
| 21 | // Returns an error if the operation fails |
| 22 | Set(ctx context.Context, token string, userData any, expiry time.Time) error |
| 23 | |
| 24 | // Get retrieves user data associated with a refresh token |
| 25 | // Returns ErrRefreshTokenNotFound if token doesn't exist or is expired |
no outgoing calls