Versions in this module Expand all Collapse all v0 v0.1.0 Jun 23, 2026 Changes in this version + func AddApiKeyTransport(t http.RoundTripper) http.RoundTripper + func AddHttpHeaderTransport(t http.RoundTripper, name, value string) http.RoundTripper + func AddUserAgentTransport(t http.RoundTripper, userAgent string) http.RoundTripper + func AnyToStruct[T any](obj interface{}) (*T, error) + func GenerateRandomString(n int) string + func GetEnv(key, fallback string) string + func JWSToText(jwsData string) string + func OpenBrowser(url string) + func RandomJWK() (jwk.Key, error) + func ResponseToText(resp *http.Response) string + type Jwk struct + Key jwk.Key + func (j *Jwk) MarshalJSON() ([]byte, error) + func (j *Jwk) ThumbprintString(hf crypto.Hash) (string, error) + func (j *Jwk) UnmarshalJSON(data []byte) error + type Jwks struct + Keys jwk.Set + func (j *Jwks) MarshalJSON() ([]byte, error) + func (j *Jwks) UnmarshalJSON(data []byte) error