services

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonSsoService added in v0.0.2

type CommonSsoService struct {
	SsoRepository interfaces.SsoRepository
}

func (*CommonSsoService) GetAllUsers added in v0.0.2

func (service *CommonSsoService) GetAllUsers() ([]*ssoentities.User, error)

func (*CommonSsoService) GetMe added in v0.0.3

func (service *CommonSsoService) GetMe(accessToken string) (*ssoentities.User, error)

func (*CommonSsoService) GetUserByID added in v0.0.2

func (service *CommonSsoService) GetUserByID(id int) (*ssoentities.User, error)

func (*CommonSsoService) LoginUser added in v0.0.2

func (service *CommonSsoService) LoginUser(userData ssoentities.LoginUserDTO) (*ssoentities.TokensDTO, error)

func (*CommonSsoService) RefreshTokens added in v0.0.3

func (service *CommonSsoService) RefreshTokens(
	refreshTokensData ssoentities.TokensDTO,
) (*ssoentities.TokensDTO, error)

func (*CommonSsoService) RegisterUser added in v0.0.2

func (service *CommonSsoService) RegisterUser(userData ssoentities.RegisterUserDTO) (int, error)

Jump to

Keyboard shortcuts

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