repositories

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GrpcSsoRepository

type GrpcSsoRepository struct {
	Client *ssogrpcclient.Client
}

func (*GrpcSsoRepository) GetAllUsers

func (repo *GrpcSsoRepository) GetAllUsers() ([]*ssoentities.User, error)

func (*GrpcSsoRepository) GetMe added in v0.0.3

func (repo *GrpcSsoRepository) GetMe(accessToken string) (*ssoentities.User, error)

func (*GrpcSsoRepository) GetUserByID

func (repo *GrpcSsoRepository) GetUserByID(id int) (*ssoentities.User, error)

func (*GrpcSsoRepository) LoginUser

func (repo *GrpcSsoRepository) LoginUser(userData ssoentities.LoginUserDTO) (*ssoentities.TokensDTO, error)

func (*GrpcSsoRepository) RefreshTokens added in v0.0.3

func (repo *GrpcSsoRepository) RefreshTokens(refreshTokensData ssoentities.TokensDTO) (*ssoentities.TokensDTO, error)

func (*GrpcSsoRepository) RegisterUser

func (repo *GrpcSsoRepository) RegisterUser(userData ssoentities.RegisterUserDTO) (int, error)

Jump to

Keyboard shortcuts

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