Documentation ¶
Index ¶
- type Storage
- func (s *Storage) DeleteRefreshToken(token string) error
- func (s *Storage) GetByUsernameAndPassword(username, password string) (model.User, error)
- func (s *Storage) GetRefreshToken(token string) (model.RefreshToken, error)
- func (s *Storage) Ping() error
- func (s *Storage) StoreRefreshToken(token model.RefreshToken) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
func (*Storage) DeleteRefreshToken ¶
func (*Storage) GetByUsernameAndPassword ¶
func (*Storage) GetRefreshToken ¶
func (s *Storage) GetRefreshToken(token string) (model.RefreshToken, error)
func (*Storage) StoreRefreshToken ¶
func (s *Storage) StoreRefreshToken(token model.RefreshToken) error
Click to show internal directories.
Click to hide internal directories.