All URIs are relative to https://api.authlete.com
Method | HTTP request | Description |
---|---|---|
ServiceJwksGetApi | Get /api/service/jwks/get | /api/service/jwks/get API |
ServiceJwksGetResponse ServiceJwksGetApi(ctx).IncludePrivateKeys(includePrivateKeys).Pretty(pretty).Execute()
/api/service/jwks/get API
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
includePrivateKeys := true // bool | The boolean value that indicates whether the response should include the private keys associated with the service or not. If `true`, the private keys are included in the response. The default value is `false`. (optional)
pretty := true // bool | This boolean value indicates whether the JSON in the response should be formatted or not. If `true`, the JSON in the response is pretty-formatted. The default value is `false`. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.JWKSetEndpointApi.ServiceJwksGetApi(context.Background()).IncludePrivateKeys(includePrivateKeys).Pretty(pretty).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `JWKSetEndpointApi.ServiceJwksGetApi``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ServiceJwksGetApi`: ServiceJwksGetResponse
fmt.Fprintf(os.Stdout, "Response from `JWKSetEndpointApi.ServiceJwksGetApi`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiServiceJwksGetApiRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
includePrivateKeys | bool | The boolean value that indicates whether the response should include the private keys associated with the service or not. If `true`, the private keys are included in the response. The default value is `false`. | |
pretty | bool | This boolean value indicates whether the JSON in the response should be formatted or not. If `true`, the JSON in the response is pretty-formatted. The default value is `false`. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]