Versions in this module Expand all Collapse all v0 v0.36.0 Jul 27, 2026 Changes in this version + var ErrUnavailable = errors.New("userauth: anonymous-credential FFI unavailable in this build") + func ProbeID(credentialB64, probeASN, probeCC string) (string, error) + func Register(url, publicParams, manifestVersion, proxy, userAgent string, timeout float32) (string, error) + type CredStore struct + Store model.KeyValueStore + func NewCredStore(kvstore model.KeyValueStore) *CredStore + func (cs *CredStore) Get() (cred StoredCredential) + func (cs *CredStore) Set(cred StoredCredential) error + type CredentialConfig struct + AgeRange ParamRange + Credential string + ManifestVersion string + MeasurementCountRange ParamRange + PublicParams string + type CredentialSubmitter struct + func NewCredentialSubmitter(ctx context.Context, config CredentialSubmitterConfig) (*CredentialSubmitter, error) + func (cs *CredentialSubmitter) Submit(ctx context.Context, m *model.Measurement) (string, error) + type CredentialSubmitterConfig struct + AgeRange ParamRange + BaseURL string + Fallback model.Submitter + Logger model.Logger + ManifestVersion string + MeasurementCountRange ParamRange + ProbeASN string + ProbeCC string + Proxy string + PublicParams string + Store *CredStore + Timeout float32 + UserAgent string + type ParamRange struct + Max uint32 + Min uint32 + type RotatedCredential struct + Credential string + MeasurementUID string + func Submit(url, content, probeCC, probeASN, proxy, userAgent string, timeout float32, ...) (RotatedCredential, error) + type StoredCredential struct + Credential string + ManifestVersion string + PublicParams string v0.35.0 Feb 10, 2026