Documentation ¶
Index ¶
- type CommonUseCases
- func (useCases *CommonUseCases) GetAllUsers() ([]*ssoentities.User, error)
- func (useCases *CommonUseCases) GetMe(accessToken string) (*ssoentities.User, error)
- func (useCases *CommonUseCases) GetUserByID(id int) (*ssoentities.User, error)
- func (useCases *CommonUseCases) LoginUser(userData ssoentities.LoginUserDTO) (*ssoentities.TokensDTO, error)
- func (useCases *CommonUseCases) RefreshTokens(refreshTokensData ssoentities.TokensDTO) (*ssoentities.TokensDTO, error)
- func (useCases *CommonUseCases) RegisterUser(userData ssoentities.RegisterUserDTO) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonUseCases ¶
type CommonUseCases struct {
SsoService interfaces.SsoService
}
func (*CommonUseCases) GetAllUsers ¶
func (useCases *CommonUseCases) GetAllUsers() ([]*ssoentities.User, error)
func (*CommonUseCases) GetMe ¶ added in v0.0.3
func (useCases *CommonUseCases) GetMe(accessToken string) (*ssoentities.User, error)
func (*CommonUseCases) GetUserByID ¶
func (useCases *CommonUseCases) GetUserByID(id int) (*ssoentities.User, error)
func (*CommonUseCases) LoginUser ¶
func (useCases *CommonUseCases) LoginUser(userData ssoentities.LoginUserDTO) (*ssoentities.TokensDTO, error)
func (*CommonUseCases) RefreshTokens ¶ added in v0.0.3
func (useCases *CommonUseCases) RefreshTokens(refreshTokensData ssoentities.TokensDTO) (*ssoentities.TokensDTO, error)
func (*CommonUseCases) RegisterUser ¶
func (useCases *CommonUseCases) RegisterUser(userData ssoentities.RegisterUserDTO) (int, error)
Click to show internal directories.
Click to hide internal directories.