updateauthtoken

package
v0.0.0-...-f85edf5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateAuthTokenController

func UpdateAuthTokenController(res http.ResponseWriter, req *http.Request, ctx *router.Context)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL