usecase

package
v0.0.0-...-747ec1c Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthUsecase

type AuthUsecase struct {
	// contains filtered or unexported fields
}

func NewAuthUsecase

func NewAuthUsecase(repo domain.IAuthRepository, svc domain.IAuthService) *AuthUsecase

func (*AuthUsecase) Login

func (ucase *AuthUsecase) Login(username string, password string) (string, error)

func (*AuthUsecase) RefreshToken

func (ucase *AuthUsecase) RefreshToken(token string) (string, error)

func (*AuthUsecase) VerifyToken

func (ucase *AuthUsecase) VerifyToken(tokenString string) (*domain.CustomClaims, error)

Jump to

Keyboard shortcuts

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