Documentation ¶
Overview ¶
Package none is used to exclude or bypass authentication mechanisms. When this Authenticator is used, NO authentication is provided
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 used for "none" authentication
func (*Authenticator) Authenticate ¶
func (a *Authenticator) Authenticate(messages.Base) (messages.Base, bool, error)
Authenticate returns true because the none package offers no authentication
func (*Authenticator) Secret ¶
func (a *Authenticator) Secret() ([]byte, error)
Secret returns an empty key because the none package offers no authentication and did not establish a secret
func (*Authenticator) String ¶
func (a *Authenticator) String() string
String returns the name of the Authenticator type
Click to show internal directories.
Click to hide internal directories.