horusec

package
v1.7.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL