Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Repo ¶
type Repo interface { CreateAccessToken(data *dtos.CreateAccessTokenDTO) (*dtos.CreatedTokenDTO, error) DeactivateAccessTokenByRefreshTokenId(refreshTokenId string) error CheckIfActiveRefreshTokenExist(refreshTokenId string) (bool, error) }
type UpdateAuthTokenUseCase ¶
type UpdateAuthTokenUseCase struct {
// contains filtered or unexported fields
}
func NewUpdateAuthTokenUseCase ¶
func NewUpdateAuthTokenUseCase(r Repo) *UpdateAuthTokenUseCase
func (*UpdateAuthTokenUseCase) Execute ¶
func (uc *UpdateAuthTokenUseCase) Execute(data *dtos.UpdateAuthDTO) (*dtos.AuthTokenDTO, *usecase.UseCaseError)
Click to show internal directories.
Click to hide internal directories.