acator

package
v0.2.47 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Counter uint32
	AAGUID  = uuid.Must(uuid.Parse("12c85a48-4baf-47bd-b51f-f192871a1511"))
	Origin  url.URL
)

Functions

func Login

func Login(jsonStream io.Reader) (outStream io.Reader, err error)

Login reads CredentialAssertion JSON from the input stream and same time process it and outputs CredentialAssertionResponse JSON to output stream.

func Register

func Register(jsonStream io.Reader) (outStream io.Reader, err error)

Register reads CredentialCreation JSON from the input stream and same time process it and outputs CredentialCreationResponse JSON to output stream.

func RegisterAsync added in v0.1.51

func RegisterAsync(jsonStream io.Reader) (outStream io.Reader, err error)

RegisterAsync reads CredentialCreation JSON from the input stream and same time process it and outputs CredentialCreationResponse JSON to output stream.

Types

This section is empty.

Directories

Path Synopsis
Package authn implements WebAuthn Cmd to Register and Login.
Package authn implements WebAuthn Cmd to Register and Login.

Jump to

Keyboard shortcuts

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