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
Click to show internal directories.
Click to hide internal directories.