internal/httpclient/docs/WellknownAPI.md
All URIs are relative to http://localhost
| Method | HTTP request | Description |
|---|---|---|
| DiscoverJsonWebKeys | Get /.well-known/jwks.json | Discover Well-Known JSON Web Keys |
JsonWebKeySet DiscoverJsonWebKeys(ctx).Execute()
Discover Well-Known JSON Web Keys
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/ory/hydra-client-go/v2"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.WellknownAPI.DiscoverJsonWebKeys(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `WellknownAPI.DiscoverJsonWebKeys``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `DiscoverJsonWebKeys`: JsonWebKeySet
fmt.Fprintf(os.Stdout, "Response from `WellknownAPI.DiscoverJsonWebKeys`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiDiscoverJsonWebKeysRequest struct via the builder pattern
No authorization required
[Back to top] [Back to API list] [Back to Model list] [Back to README]