services

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IAuthService

type IAuthService interface {
	Authenticate(credentials *dto.Credentials) (interface{}, error)
	IsAuthorized(authorizationData *dto.AuthorizationData) (bool, error)
}

type MockAuthService

type MockAuthService struct {
	mock.Mock
}

func (*MockAuthService) Authenticate

func (m *MockAuthService) Authenticate(credentials *dto.Credentials) (interface{}, error)

func (*MockAuthService) IsAuthorized

func (m *MockAuthService) IsAuthorized(authorizationData *dto.AuthorizationData) (bool, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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