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