Documentation ¶
Index ¶
- type TokenRepo
- func (r *TokenRepo) CreateRefreshToken(ctx context.Context, token entities.RefreshToken) error
- func (r *TokenRepo) DeactivateTokenByIDs(ctx context.Context, tokenIDs []int) error
- func (r *TokenRepo) GetAllActiveRefreshTokens(ctx context.Context, userID int) ([]entities.RefreshToken, error)
- func (r *TokenRepo) GetToken(ctx context.Context, refreshToken string) (entities.RefreshToken, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TokenRepo ¶
type TokenRepo struct {
// contains filtered or unexported fields
}
func (*TokenRepo) CreateRefreshToken ¶
func (*TokenRepo) DeactivateTokenByIDs ¶
func (*TokenRepo) GetAllActiveRefreshTokens ¶
Click to show internal directories.
Click to hide internal directories.