Documentation
¶
Rendered for windows/amd64
Index ¶
- func AuthenticatorGetAssertion(hWnd uintptr, rpID *uint16, clientData *share.RawCollectedClientData, ...) (assertion *share.Assertion, err error)
- func AuthenticatorMakeCredential(hWnd uintptr, rpInfo *share.RawRPInfo, userInfo *share.RawUserInfo, ...) (attestation *share.CredentialAttestation, err error)
- func DeletePlatformCred(cbCred uint32, pbCred *byte) error
- func GetAPIVersionNumber() uintptr
- func GetErrorName(hr hresult.HResult) string
- func GetPlatformCredentialList(options *share.RawGetCredentialsOptions) (credList []*share.CredentialDetails, err error)
- func IsUserVerifyingPlatformAuthenticatorAvailable() (is bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthenticatorGetAssertion ¶
func AuthenticatorGetAssertion(hWnd uintptr, rpID *uint16, clientData *share.RawCollectedClientData, opts *share.RawAuthenticatorGetAssertionOptions) (assertion *share.Assertion, err error)
AuthenticatorGetAssertion produces an assertion signature representing an assertion by the authenticator that the user has consented to a specific transaction, such as logging in or completing a purchase.
func AuthenticatorMakeCredential ¶
func AuthenticatorMakeCredential(hWnd uintptr, rpInfo *share.RawRPInfo, userInfo *share.RawUserInfo, pkCredParams *share.RawCOSECredentialParameters, clientData *share.RawCollectedClientData, options *share.RawAuthenticatorMakeCredentialOptions) (attestation *share.CredentialAttestation, err error)
AuthenticatorMakeCredential ...
func DeletePlatformCred ¶
DeletePlatformCred removes a Public Key Credential Source stored on a Virtual Authenticator.
func GetAPIVersionNumber ¶
func GetAPIVersionNumber() uintptr
GetAPIVersionNumber returns supported webauthn version of the current system.
func GetErrorName ¶
GetErrorName returns the following Error Names:
L"Success" - S_OK L"InvalidStateError" - NTE_EXISTS L"ConstraintError" - HRESULT_FROM_WIN32(ERROR_NOT_SUPPORTED), NTE_NOT_SUPPORTED, NTE_TOKEN_KEYSET_STORAGE_FULL L"NotSupportedError" - NTE_INVALID_PARAMETER L"NotAllowedError" - NTE_DEVICE_NOT_FOUND, NTE_NOT_FOUND, HRESULT_FROM_WIN32(ERROR_CANCELLED), NTE_USER_CANCELLED, HRESULT_FROM_WIN32(ERROR_TIMEOUT) L"UnknownError" - All other hr values
func GetPlatformCredentialList ¶
func GetPlatformCredentialList(options *share.RawGetCredentialsOptions) (credList []*share.CredentialDetails, err error)
GetPlatformCredentialList ...
func IsUserVerifyingPlatformAuthenticatorAvailable ¶
func IsUserVerifyingPlatformAuthenticatorAvailable() (is bool)
IsUserVerifyingPlatformAuthenticatorAvailable checks if the device owns platform authenticators.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.