Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller interface { Run() Stop() }
type SsoRepository ¶
type SsoRepository interface { GetUserByID(id int) (*ssoentities.User, error) GetAllUsers() ([]*ssoentities.User, error) RegisterUser(user ssoentities.RegisterUserDTO) (int, error) LoginUser(userData ssoentities.LoginUserDTO) (*ssoentities.TokensDTO, error) GetMe(accessToken string) (*ssoentities.User, error) RefreshTokens(refreshTokensData ssoentities.TokensDTO) (*ssoentities.TokensDTO, error) }
type SsoService ¶
type SsoService interface { GetAllUsers() ([]*ssoentities.User, error) GetUserByID(int) (*ssoentities.User, error) RegisterUser(userData ssoentities.RegisterUserDTO) (int, error) LoginUser(userData ssoentities.LoginUserDTO) (*ssoentities.TokensDTO, error) GetMe(accessToken string) (*ssoentities.User, error) RefreshTokens(refreshTokensData ssoentities.TokensDTO) (*ssoentities.TokensDTO, error) }
type UseCases ¶
type UseCases interface { GetUserByID(id int) (*ssoentities.User, error) GetAllUsers() ([]*ssoentities.User, error) RegisterUser(userData ssoentities.RegisterUserDTO) (int, error) LoginUser(userData ssoentities.LoginUserDTO) (*ssoentities.TokensDTO, error) GetMe(accessToken string) (*ssoentities.User, error) RefreshTokens(refreshTokensData ssoentities.TokensDTO) (*ssoentities.TokensDTO, error) }
Click to show internal directories.
Click to hide internal directories.