usecase

package
v0.0.0-...-59258b7 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTokenUseCase

func NewTokenUseCase(c *TUCConfig) domain.TokenUseCase

NewUserService will create new an userService object representation of domain.userService interface

Types

type TUCConfig

type TUCConfig struct {
	TokenRepository       domain.TokenRepository
	PrivKey               *rsa.PrivateKey
	PubKey                *rsa.PublicKey
	RefreshSecret         string
	IDExpirationSecs      int64
	RefreshExpirationSecs int64
}

Jump to

Keyboard shortcuts

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