From 002ffb5e6da088af927917562867acdeda326baf Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 21 Feb 2019 00:12:31 +0000 Subject: [PATCH] doc cleanup --- doc.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc.go b/doc.go index aa2222e..34192ad 100644 --- a/doc.go +++ b/doc.go @@ -20,13 +20,13 @@ All keys are cached by Thumbprint, as well as kid(@issuer), if available. import "github.com/big-squid/go-keypairs/keyfetch" pubs, err := keyfetch.OIDCJWKs("https://example.com/") - pubs, err := keyfetch.OIDCJWK(keyIDOrThumb, "https://example.com/") + pubs, err := keyfetch.OIDCJWK(ThumbOrKeyID, "https://example.com/") pubs, err := keyfetch.WellKnownJWKs("https://example.com/") - pubs, err := keyfetch.WellKnownJWK(keyIDOrThumb, "https://example.com/") + pubs, err := keyfetch.WellKnownJWK(ThumbOrKeyID, "https://example.com/") pubs, err := keyfetch.JWKs("https://example.com/path/to/jwks/") - pubs, err := keyfetch.JWK(keyIDOrThumb, "https://example.com/path/to/jwks/) + pubs, err := keyfetch.JWK(ThumbOrKeyID, "https://example.com/path/to/jwks/) pubs, err := keyfetch.Get("https://example.com/jwk.json)