Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrAuthenticationFailed = errors.New("platform: authentication failed")
)
Functions ¶
This section is empty.
Types ¶
type PlatformAuthenticator ¶
type PlatformAuthenticator interface {
Authenticate(password []byte) error
Prompt() []byte
Provision(cn string, password, caPassword []byte) error
}
func NewYubiKeyAuthenticator ¶
func NewYubiKeyAuthenticator( logger *logging.Logger, clientID string, secretKey keystore.Password) (PlatformAuthenticator, error)
Click to show internal directories.
Click to hide internal directories.