domain

package
v0.0.0-...-6cb8ef5 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomerAuthService

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

func NewCustomerAuthService

func NewCustomerAuthService(customersRepo interfaces.CustomersRepository, secretKey string) *CustomerAuthService

func (CustomerAuthService) CreateAccessToken

func (serv CustomerAuthService) CreateAccessToken(claims utils.Claims) (string, error)

func (CustomerAuthService) DoLogin

func (serv CustomerAuthService) DoLogin(name, key string) (utils.Claims, error)

func (CustomerAuthService) Register

func (serv CustomerAuthService) Register(name, namespace, key string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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