authenticators

package
v2.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package authenticators holds the factories to create structures that implement the Authenticator interface This interface is used to authenticate agents

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authenticator

type Authenticator interface {
	// Authenticate is the server-side steps to complete Agent authentication
	Authenticate(id uuid.UUID, data interface{}) (messages.Base, error) // Returning Base so that way it can be sent to the agent
	// String returns the name of authenticator type
	String() string
}

Authenticator is an interface used by various authentication methods

Directories

Path Synopsis
Package none is an empty, or nil, authenticator used to bypass authentication requirements
Package none is an empty, or nil, authenticator used to bypass authentication requirements

Jump to

Keyboard shortcuts

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