webauthn

package
Version: v0.0.0-...-b178995 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2020 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package webauthn implements a single user Webauthn helper

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebAuthn

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

func New

func New(conf *config.Config, s *session.Session) (*WebAuthn, error)

func (*WebAuthn) BeginLogin

func (wa *WebAuthn) BeginLogin(rw http.ResponseWriter, r *http.Request, origin string) (string, error)

func (*WebAuthn) BeginRegistration

func (wa *WebAuthn) BeginRegistration(rw http.ResponseWriter, r *http.Request, origin string) (string, error)

func (*WebAuthn) FinishLogin

func (wa *WebAuthn) FinishLogin(rw http.ResponseWriter, r *http.Request, origin, js string) error

func (*WebAuthn) FinishRegistration

func (wa *WebAuthn) FinishRegistration(rw http.ResponseWriter, r *http.Request, origin, js string) error

func (*WebAuthn) SetupLua

func (wa *WebAuthn) SetupLua(L *lua.LState, baseURL string, w http.ResponseWriter, r *http.Request)

Source Files

Jump to

Keyboard shortcuts

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