webauthn

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetWebAuthn

func GetWebAuthn() (*webauthn.WebAuthn, error)

GetWebAuthn 返回 WebAuthn 实例,如果尚未初始化,则初始化并返回。 如果初始化失败,返回错误。

func InitWebAuthn

func InitWebAuthn() error

InitWebAuthn 初始化 WebAuthn 配置,用于在服务中启用 WebAuthn 身份验证功能。 如果初始化失败,将会记录致命错误,并终止程序运行。

Types

This section is empty.

Jump to

Keyboard shortcuts

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