Versions in this module Expand all Collapse all v1 v1.15.13 Apr 6, 2024 Changes in this version + type ClientData struct + Challenge string + CredType string + Origin string + type Credential struct + Algorithm string + Counter uint32 + Flags CredentialFlags + Id string + Rp string + SecretKey *ecdsa.PrivateKey + UserName string + func CreateCredential(rp string, user string, flags CredentialFlags) (*Credential, error) + func (cred *Credential) GetAssertion(challenge string, origin string) (*Response, error) + type CredentialFlags struct + AttestationData bool + ExtensionData bool + UserPresent bool + UserVerified bool + type Response struct + AuthenticatorData []byte + ClientDataJSON []byte + Login string + Signature []byte