Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthService ¶
type AuthService interface { Login(dto.LoginRequest) (*dto.LoginResponse, *errs.AppError) Verify(urlParams map[string]string) *errs.AppError Refresh(request dto.RefreshTokenRequest) (*dto.LoginResponse, *errs.AppError) }
type DefaultAuthService ¶
type DefaultAuthService struct {
// contains filtered or unexported fields
}
func NewLoginService ¶
func NewLoginService(repo domain.AuthRepository, permissions domain.RolePermissions) DefaultAuthService
func (DefaultAuthService) Login ¶
func (s DefaultAuthService) Login(req dto.LoginRequest) (*dto.LoginResponse, *errs.AppError)
func (DefaultAuthService) Refresh ¶
func (s DefaultAuthService) Refresh(request dto.RefreshTokenRequest) (*dto.LoginResponse, *errs.AppError)
Click to show internal directories.
Click to hide internal directories.