authentication

package
v0.0.0-...-bd520fb Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrAuthTypeNotSupported = errors.New("auth type not supported")
	ErrNoAuthHeader         = errors.New("no auth header")
	ErrAuthenticatorInit    = errors.New("authenticator init fail")
)

Functions

This section is empty.

Types

type Authenticator

type Authenticator interface {
	AuthMethod(auth string) (*protocol.ApulisHeader, error)
	Init(config *configs.EdgeCloudConfig) error
}

interface for authentication

func GetAuthenticator

func GetAuthenticator(config *configs.EdgeCloudConfig) (Authenticator, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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