Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHorusAuthService ¶
func NewHorusAuthService( postgresRead relational.InterfaceRead, postgresWrite relational.InterfaceWrite) services.IAuthService
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) Authenticate ¶
func (s *Service) Authenticate(credentials *dto.Credentials) (interface{}, error)
func (*Service) IsAuthorized ¶
func (s *Service) IsAuthorized(authorizationData *dto.AuthorizationData) (bool, error)
Click to show internal directories.
Click to hide internal directories.