Versions in this module Expand all Collapse all v11 v11.3.3 Dec 13, 2022 Changes in this version + var PromptPlatformMessage = "Using platform authenticator, follow the OS dialogs" + var PromptWriter io.Writer = os.Stderr + func IsAvailable() bool + func Login(ctx context.Context, origin string, assertion *wanlib.CredentialAssertion, ...) (*proto.MFAAuthenticateResponse, string, error) + func Register(ctx context.Context, origin string, cc *wanlib.CredentialCreation) (*proto.MFARegisterResponse, error) + type AuthenticatorAttachment int + const AttachmentAuto + const AttachmentCrossPlatform + const AttachmentPlatform + type CheckSupportResult struct + HasCompileSupport bool + HasPlatformUV bool + IsAvailable bool + WebAuthnAPIVersion int + func CheckSupport() CheckSupportResult + type DiagResult struct + Available bool + LoginSuccessful bool + RegisterSuccessful bool + func Diag(ctx context.Context, promptOut io.Writer) (*DiagResult, error) + type GUID struct + Data1 uint32 + Data2 uint16 + Data3 uint16 + Data4 [8]byte + type LoginOpts struct + AuthenticatorAttachment AuthenticatorAttachment