Documentation ¶
Index ¶
- type GrpcSsoRepository
- func (repo *GrpcSsoRepository) GetAllUsers() ([]*ssoentities.User, error)
- func (repo *GrpcSsoRepository) GetMe(accessToken string) (*ssoentities.User, error)
- func (repo *GrpcSsoRepository) GetUserByID(id int) (*ssoentities.User, error)
- func (repo *GrpcSsoRepository) LoginUser(userData ssoentities.LoginUserDTO) (*ssoentities.TokensDTO, error)
- func (repo *GrpcSsoRepository) RefreshTokens(refreshTokensData ssoentities.TokensDTO) (*ssoentities.TokensDTO, error)
- func (repo *GrpcSsoRepository) RegisterUser(userData ssoentities.RegisterUserDTO) (int, error)
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)
Click to show internal directories.
Click to hide internal directories.