Versions in this module Expand all Collapse all v0 v0.1.1 Oct 17, 2019 Changes in this version + const CommandAddCredential + const CommandAddVirtualAuthenticator + const CommandClearCredentials + const CommandDisable + const CommandEnable + const CommandGetCredential + const CommandGetCredentials + const CommandRemoveCredential + const CommandRemoveVirtualAuthenticator + const CommandSetUserVerified + type AddCredentialParams struct + AuthenticatorID AuthenticatorID + Credential *Credential + func AddCredential(authenticatorID AuthenticatorID, credential *Credential) *AddCredentialParams + func (p *AddCredentialParams) Do(ctx context.Context) (err error) + func (v *AddCredentialParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *AddCredentialParams) UnmarshalJSON(data []byte) error + func (v AddCredentialParams) MarshalEasyJSON(w *jwriter.Writer) + func (v AddCredentialParams) MarshalJSON() ([]byte, error) + type AddVirtualAuthenticatorParams struct + Options *VirtualAuthenticatorOptions + func AddVirtualAuthenticator(options *VirtualAuthenticatorOptions) *AddVirtualAuthenticatorParams + func (p *AddVirtualAuthenticatorParams) Do(ctx context.Context) (authenticatorID AuthenticatorID, err error) + func (v *AddVirtualAuthenticatorParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *AddVirtualAuthenticatorParams) UnmarshalJSON(data []byte) error + func (v AddVirtualAuthenticatorParams) MarshalEasyJSON(w *jwriter.Writer) + func (v AddVirtualAuthenticatorParams) MarshalJSON() ([]byte, error) + type AddVirtualAuthenticatorReturns struct + AuthenticatorID AuthenticatorID + func (v *AddVirtualAuthenticatorReturns) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *AddVirtualAuthenticatorReturns) UnmarshalJSON(data []byte) error + func (v AddVirtualAuthenticatorReturns) MarshalEasyJSON(w *jwriter.Writer) + func (v AddVirtualAuthenticatorReturns) MarshalJSON() ([]byte, error) + type AuthenticatorID string + func (t AuthenticatorID) String() string + type AuthenticatorProtocol string + const AuthenticatorProtocolCtap2 + const AuthenticatorProtocolU2f + func (t *AuthenticatorProtocol) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *AuthenticatorProtocol) UnmarshalJSON(buf []byte) error + func (t AuthenticatorProtocol) MarshalEasyJSON(out *jwriter.Writer) + func (t AuthenticatorProtocol) MarshalJSON() ([]byte, error) + func (t AuthenticatorProtocol) String() string + type AuthenticatorTransport string + const AuthenticatorTransportBle + const AuthenticatorTransportCable + const AuthenticatorTransportInternal + const AuthenticatorTransportNfc + const AuthenticatorTransportUsb + func (t *AuthenticatorTransport) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *AuthenticatorTransport) UnmarshalJSON(buf []byte) error + func (t AuthenticatorTransport) MarshalEasyJSON(out *jwriter.Writer) + func (t AuthenticatorTransport) MarshalJSON() ([]byte, error) + func (t AuthenticatorTransport) String() string + type ClearCredentialsParams struct + AuthenticatorID AuthenticatorID + func ClearCredentials(authenticatorID AuthenticatorID) *ClearCredentialsParams + func (p *ClearCredentialsParams) Do(ctx context.Context) (err error) + func (v *ClearCredentialsParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *ClearCredentialsParams) UnmarshalJSON(data []byte) error + func (v ClearCredentialsParams) MarshalEasyJSON(w *jwriter.Writer) + func (v ClearCredentialsParams) MarshalJSON() ([]byte, error) + type Credential struct + CredentialID string + IsResidentCredential bool + PrivateKey string + RpID string + SignCount int64 + UserHandle string + func (v *Credential) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *Credential) UnmarshalJSON(data []byte) error + func (v Credential) MarshalEasyJSON(w *jwriter.Writer) + func (v Credential) MarshalJSON() ([]byte, error) + type DisableParams struct + func Disable() *DisableParams + func (p *DisableParams) Do(ctx context.Context) (err error) + func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *DisableParams) UnmarshalJSON(data []byte) error + func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer) + func (v DisableParams) MarshalJSON() ([]byte, error) + type EnableParams struct + func Enable() *EnableParams + func (p *EnableParams) Do(ctx context.Context) (err error) + func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EnableParams) UnmarshalJSON(data []byte) error + func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer) + func (v EnableParams) MarshalJSON() ([]byte, error) + type GetCredentialParams struct + AuthenticatorID AuthenticatorID + CredentialID string + func GetCredential(authenticatorID AuthenticatorID, credentialID string) *GetCredentialParams + func (p *GetCredentialParams) Do(ctx context.Context) (credential *Credential, err error) + func (v *GetCredentialParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetCredentialParams) UnmarshalJSON(data []byte) error + func (v GetCredentialParams) MarshalEasyJSON(w *jwriter.Writer) + func (v GetCredentialParams) MarshalJSON() ([]byte, error) + type GetCredentialReturns struct + Credential *Credential + func (v *GetCredentialReturns) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetCredentialReturns) UnmarshalJSON(data []byte) error + func (v GetCredentialReturns) MarshalEasyJSON(w *jwriter.Writer) + func (v GetCredentialReturns) MarshalJSON() ([]byte, error) + type GetCredentialsParams struct + AuthenticatorID AuthenticatorID + func GetCredentials(authenticatorID AuthenticatorID) *GetCredentialsParams + func (p *GetCredentialsParams) Do(ctx context.Context) (credentials []*Credential, err error) + func (v *GetCredentialsParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetCredentialsParams) UnmarshalJSON(data []byte) error + func (v GetCredentialsParams) MarshalEasyJSON(w *jwriter.Writer) + func (v GetCredentialsParams) MarshalJSON() ([]byte, error) + type GetCredentialsReturns struct + Credentials []*Credential + func (v *GetCredentialsReturns) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetCredentialsReturns) UnmarshalJSON(data []byte) error + func (v GetCredentialsReturns) MarshalEasyJSON(w *jwriter.Writer) + func (v GetCredentialsReturns) MarshalJSON() ([]byte, error) + type RemoveCredentialParams struct + AuthenticatorID AuthenticatorID + CredentialID string + func RemoveCredential(authenticatorID AuthenticatorID, credentialID string) *RemoveCredentialParams + func (p *RemoveCredentialParams) Do(ctx context.Context) (err error) + func (v *RemoveCredentialParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *RemoveCredentialParams) UnmarshalJSON(data []byte) error + func (v RemoveCredentialParams) MarshalEasyJSON(w *jwriter.Writer) + func (v RemoveCredentialParams) MarshalJSON() ([]byte, error) + type RemoveVirtualAuthenticatorParams struct + AuthenticatorID AuthenticatorID + func RemoveVirtualAuthenticator(authenticatorID AuthenticatorID) *RemoveVirtualAuthenticatorParams + func (p *RemoveVirtualAuthenticatorParams) Do(ctx context.Context) (err error) + func (v *RemoveVirtualAuthenticatorParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *RemoveVirtualAuthenticatorParams) UnmarshalJSON(data []byte) error + func (v RemoveVirtualAuthenticatorParams) MarshalEasyJSON(w *jwriter.Writer) + func (v RemoveVirtualAuthenticatorParams) MarshalJSON() ([]byte, error) + type SetUserVerifiedParams struct + AuthenticatorID AuthenticatorID + IsUserVerified bool + func SetUserVerified(authenticatorID AuthenticatorID, isUserVerified bool) *SetUserVerifiedParams + func (p *SetUserVerifiedParams) Do(ctx context.Context) (err error) + func (v *SetUserVerifiedParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SetUserVerifiedParams) UnmarshalJSON(data []byte) error + func (v SetUserVerifiedParams) MarshalEasyJSON(w *jwriter.Writer) + func (v SetUserVerifiedParams) MarshalJSON() ([]byte, error) + type VirtualAuthenticatorOptions struct + AutomaticPresenceSimulation bool + HasResidentKey bool + HasUserVerification bool + Protocol AuthenticatorProtocol + Transport AuthenticatorTransport + func (v *VirtualAuthenticatorOptions) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *VirtualAuthenticatorOptions) UnmarshalJSON(data []byte) error + func (v VirtualAuthenticatorOptions) MarshalEasyJSON(w *jwriter.Writer) + func (v VirtualAuthenticatorOptions) MarshalJSON() ([]byte, error)