opaque

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: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authenticator

type Authenticator struct {
	// contains filtered or unexported fields
}

Authenticator is a structure that holds an Agent service to add agents once they've completed authentication

func NewAuthenticator

func NewAuthenticator() (*Authenticator, error)

NewAuthenticator is a factory to create and return an OPAQUE authenticator that implements the Authenticator interface

func (*Authenticator) Authenticate

func (a *Authenticator) Authenticate(id uuid.UUID, data interface{}) (msg messages.Base, err error)

Authenticate is an OPAQUE message handler and the entry point function to authenticate an Agent Accepts incoming Opaque Registration or Authentication messages and processes them

func (*Authenticator) String

func (a *Authenticator) String() string

String returns the name of authenticator type

Jump to

Keyboard shortcuts

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