зеркало из
https://github.com/therootcompany/keypairs
synced 2025-07-01 16:56:32 +00:00
doc cleanup
Этот коммит содержится в:
родитель
04259f1e96
Коммит
002ffb5e6d
6
doc.go
6
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)
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user