Versions in this module Expand all Collapse all v1 v1.3.0 Dec 17, 2025 Changes in this version + type AuthStorage struct + func NewAuthStorage(db *sql.DB) *AuthStorage + func (a *AuthStorage) IssueToken(ctx context.Context, clientTokenRaw, ip, userAgent string) (*Tokens, error) + func (a *AuthStorage) Queries() *authsqlc.Queries + func (a *AuthStorage) RefreshToken(ctx context.Context, refreshToken, ip, userAgent string) (string, error) + func (s *AuthStorage) Ping(ctx context.Context) error + type Tokens struct + JWT string + RefreshToken string