cmds

package
v0.0.0-...-2a1208c Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2021 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeyFile      = "u2f-server-key.pem"
	CertFile     = "u2f-server.crt"
	MyU2fTokenId = "MyUID"
)

Variables

This section is empty.

Functions

func AuthCallback

func AuthCallback(authData []byte, request *http.Request) (authSuccessful bool, keyIdentifier string)

func AuthCompletedCallback

func AuthCompletedCallback(authStatus int, writer http.ResponseWriter, _ *http.Request, keyIdentifier string)

func Execute

func Execute()

func RegistrationCallback

func RegistrationCallback(_ []byte, _ string, _ *http.Request) (authenticationSuccess bool)

func RegistrationCompletedCallback

func RegistrationCompletedCallback(writer http.ResponseWriter, _ *http.Request, keyIdentifier string) (ok bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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