Skip to content

Commit

Permalink
Authlete CI - 7b864cc7ab09646f9bf56666dbbe56ef52184526
Browse files Browse the repository at this point in the history
  • Loading branch information
CI committed Mar 7, 2023
1 parent e44df0d commit ef5f56e
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 26 deletions.
1 change: 0 additions & 1 deletion .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -260,5 +260,4 @@ model_userinfo_issue_response.go
model_userinfo_request.go
model_userinfo_response.go
response.go
test/api_server_metadata_test.go
utils.go
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ Class | Method | HTTP request | Description
*IntrospectionEndpointApi* | [**AuthIntrospectionStandardApi**](docs/IntrospectionEndpointApi.md#authintrospectionstandardapi) | **Post** /api/auth/introspection/standard | /api/auth/intraspection/standard API
*JWKSetEndpointApi* | [**ServiceJwksGetApi**](docs/JWKSetEndpointApi.md#servicejwksgetapi) | **Get** /api/service/jwks/get | /api/service/jwks/get API
*JoseObjectApi* | [**JoseVerifyApi**](docs/JoseObjectApi.md#joseverifyapi) | **Post** /api/jose/verify | /api/jose/verify API
*PushedAuthorizationEndpointApi* | [**PushedAuthApi**](docs/PushedAuthorizationEndpointApi.md#pushedauthapi) | **Post** /api/pushed_auth_req | /api/pushed_auth_req API
*PushedAuthorizationEndpointApi* | [**PushedAuthReqApi**](docs/PushedAuthorizationEndpointApi.md#pushedauthreqapi) | **Post** /api/pushed_auth_req | /api/pushed_auth_req API
*RevocationEndpointApi* | [**AuthRevocationApi**](docs/RevocationEndpointApi.md#authrevocationapi) | **Post** /api/auth/revocation | /api/auth/revocation API
*ServerMetadataApi* | [**InfoApi**](docs/ServerMetadataApi.md#infoapi) | **Get** /api/info | /api/info API
*ServiceManagementApi* | [**ServiceCreateApi**](docs/ServiceManagementApi.md#servicecreateapi) | **Post** /api/service/create | /api/service/create API
Expand Down
2 changes: 1 addition & 1 deletion api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4680,7 +4680,7 @@ paths:
post:
description: |
This API creates a pushed request authorization. It authenticates the client and creates a authorization_uri to be returned by the authorization server.
operationId: pushed_auth_api
operationId: pushed_auth_req_api
requestBody:
content:
application/json:
Expand Down
30 changes: 15 additions & 15 deletions api_pushed_authorization_endpoint.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions docs/PushedAuthorizationEndpointApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ All URIs are relative to *https://api.authlete.com*

Method | HTTP request | Description
------------- | ------------- | -------------
[**PushedAuthApi**](PushedAuthorizationEndpointApi.md#PushedAuthApi) | **Post** /api/pushed_auth_req | /api/pushed_auth_req API
[**PushedAuthReqApi**](PushedAuthorizationEndpointApi.md#PushedAuthReqApi) | **Post** /api/pushed_auth_req | /api/pushed_auth_req API



## PushedAuthApi
## PushedAuthReqApi

> PushedAuthorizationResponse PushedAuthApi(ctx).PushedAuthorizationRequest(pushedAuthorizationRequest).Execute()
> PushedAuthorizationResponse PushedAuthReqApi(ctx).PushedAuthorizationRequest(pushedAuthorizationRequest).Execute()
/api/pushed_auth_req API

Expand All @@ -33,13 +33,13 @@ func main() {

configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.PushedAuthorizationEndpointApi.PushedAuthApi(context.Background()).PushedAuthorizationRequest(pushedAuthorizationRequest).Execute()
resp, r, err := apiClient.PushedAuthorizationEndpointApi.PushedAuthReqApi(context.Background()).PushedAuthorizationRequest(pushedAuthorizationRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `PushedAuthorizationEndpointApi.PushedAuthApi``: %v\n", err)
fmt.Fprintf(os.Stderr, "Error when calling `PushedAuthorizationEndpointApi.PushedAuthReqApi``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `PushedAuthApi`: PushedAuthorizationResponse
fmt.Fprintf(os.Stdout, "Response from `PushedAuthorizationEndpointApi.PushedAuthApi`: %v\n", resp)
// response from `PushedAuthReqApi`: PushedAuthorizationResponse
fmt.Fprintf(os.Stdout, "Response from `PushedAuthorizationEndpointApi.PushedAuthReqApi`: %v\n", resp)
}
```

Expand All @@ -49,7 +49,7 @@ func main() {

### Other Parameters

Other parameters are passed through a pointer to a apiPushedAuthApiRequest struct via the builder pattern
Other parameters are passed through a pointer to a apiPushedAuthReqApiRequest struct via the builder pattern


Name | Type | Description | Notes
Expand Down

0 comments on commit ef5f56e

Please sign in to comment.