Skip to content

Commit

Permalink
Authlete CI - 2861a09b4078f9a9ea670f674261615a6e6c1001
Browse files Browse the repository at this point in the history
  • Loading branch information
CI committed Mar 7, 2023
1 parent c95baa8 commit e44df0d
Show file tree
Hide file tree
Showing 15 changed files with 1,340 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ api_jose_object.go
api_jwk_set_endpoint.go
api_pushed_authorization_endpoint.go
api_revocation_endpoint.go
api_server_metadata.go
api_service_management.go
api_token_endpoint.go
api_token_operations.go
Expand Down Expand Up @@ -50,6 +51,8 @@ docs/ClientAuthorizationGetListResponse.md
docs/ClientAuthorizationUpdateRequest.md
docs/ClientAuthorizationUpdateResponse.md
docs/ClientExtension.md
docs/ClientFlagUpdateRequest.md
docs/ClientFlagUpdateResponse.md
docs/ClientGetListResponse.md
docs/ClientGrantedScopesDeleteResponse.md
docs/ClientManagementApi.md
Expand Down Expand Up @@ -85,6 +88,7 @@ docs/GrantManagementAction.md
docs/GrantManagementEndpointApi.md
docs/GrantScope.md
docs/GrantType.md
docs/InfoResponse.md
docs/IntrospectionEndpointApi.md
docs/IntrospectionRequest.md
docs/IntrospectionResponse.md
Expand All @@ -108,6 +112,7 @@ docs/RevocationEndpointApi.md
docs/RevocationRequest.md
docs/RevocationResponse.md
docs/Scope.md
docs/ServerMetadataApi.md
docs/Service.md
docs/ServiceGetListResponse.md
docs/ServiceJwksGetResponse.md
Expand Down Expand Up @@ -173,6 +178,8 @@ model_client_authorization_get_list_response.go
model_client_authorization_update_request.go
model_client_authorization_update_response.go
model_client_extension.go
model_client_flag_update_request.go
model_client_flag_update_response.go
model_client_get_list_response.go
model_client_granted_scopes_delete_response.go
model_client_registration_delete_request.go
Expand Down Expand Up @@ -202,6 +209,7 @@ model_grant.go
model_grant_management_action.go
model_grant_scope.go
model_grant_type.go
model_info_response.go
model_introspection_request.go
model_introspection_response.go
model_jose_verify_request.go
Expand Down Expand Up @@ -252,6 +260,5 @@ model_userinfo_issue_response.go
model_userinfo_request.go
model_userinfo_response.go
response.go
test/api_federation_endpoint_test.go
test/api_grant_management_endpoint_test.go
test/api_server_metadata_test.go
utils.go
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ Class | Method | HTTP request | Description
*ClientManagementApi* | [**ClientAuthorizationUpdateApi**](docs/ClientManagementApi.md#clientauthorizationupdateapi) | **Post** /api/client/authorization/update/{clientId} | /api/client/authorization/update/{clientId} API
*ClientManagementApi* | [**ClientCreateApi**](docs/ClientManagementApi.md#clientcreateapi) | **Post** /api/client/create | /api/client/create API
*ClientManagementApi* | [**ClientDeleteApi**](docs/ClientManagementApi.md#clientdeleteapi) | **Delete** /api/client/delete/{clientId} | /api/client/delete/{clientId} API
*ClientManagementApi* | [**ClientFlagUpdateApi**](docs/ClientManagementApi.md#clientflagupdateapi) | **Post** /api/client/lock_flag/update/{clientIdentifier} | /api/client/lock_flag/update/{clientIdentifier} API
*ClientManagementApi* | [**ClientGetApi**](docs/ClientManagementApi.md#clientgetapi) | **Get** /api/client/get/{clientId} | /api/client/get/{clientId} API
*ClientManagementApi* | [**ClientGetListApi**](docs/ClientManagementApi.md#clientgetlistapi) | **Get** /api/client/get/list | /api/client/get/list API
*ClientManagementApi* | [**ClientGrantedScopesDeleteApi**](docs/ClientManagementApi.md#clientgrantedscopesdeleteapi) | **Delete** /api/client/granted_scopes/delete/{clientId}/{subject} | /api/client/granted_scopes/delete/{clientId}/{subject} API
Expand All @@ -113,6 +114,7 @@ Class | Method | HTTP request | Description
*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
*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
*ServiceManagementApi* | [**ServiceDeleteApi**](docs/ServiceManagementApi.md#servicedeleteapi) | **Delete** /api/service/delete/{serviceApiKey} | /api/service/delete/{serviceApiKey} API
*ServiceManagementApi* | [**ServiceGetApi**](docs/ServiceManagementApi.md#servicegetapi) | **Get** /api/service/get/{serviceApiKey} | /api/service/get/{serviceApiKey} API
Expand Down Expand Up @@ -159,6 +161,8 @@ Class | Method | HTTP request | Description
- [ClientAuthorizationUpdateRequest](docs/ClientAuthorizationUpdateRequest.md)
- [ClientAuthorizationUpdateResponse](docs/ClientAuthorizationUpdateResponse.md)
- [ClientExtension](docs/ClientExtension.md)
- [ClientFlagUpdateRequest](docs/ClientFlagUpdateRequest.md)
- [ClientFlagUpdateResponse](docs/ClientFlagUpdateResponse.md)
- [ClientGetListResponse](docs/ClientGetListResponse.md)
- [ClientGrantedScopesDeleteResponse](docs/ClientGrantedScopesDeleteResponse.md)
- [ClientRegistrationDeleteRequest](docs/ClientRegistrationDeleteRequest.md)
Expand Down Expand Up @@ -188,6 +192,7 @@ Class | Method | HTTP request | Description
- [GrantManagementAction](docs/GrantManagementAction.md)
- [GrantScope](docs/GrantScope.md)
- [GrantType](docs/GrantType.md)
- [InfoResponse](docs/InfoResponse.md)
- [IntrospectionRequest](docs/IntrospectionRequest.md)
- [IntrospectionResponse](docs/IntrospectionResponse.md)
- [JoseVerifyRequest](docs/JoseVerifyRequest.md)
Expand Down
183 changes: 183 additions & 0 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2122,6 +2122,79 @@ paths:
const clientId = ...

await api.deleteClient(clientId);
/api/client/lock_flag/update/{clientIdentifier}:
post:
description: |
Lock and unlock a client
operationId: client_flag_update_api
parameters:
- description: A client ID.
in: path
name: clientIdentifier
required: true
schema:
type: string
requestBody:
content:
application/json:
example:
clientLocked: true
schema:
$ref: '#/components/schemas/client_flag_update_request'
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/client_flag_update_request'
required: false
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/client_flag_update_response'
description: ""
"400":
content:
application/json:
example:
resultCode: A001201
resultMessage: "[A001201] /auth/authorization, TLS must be used."
schema:
$ref: '#/components/schemas/result'
description: ""
"401":
content:
application/json:
example:
resultCode: A001202
resultMessage: "[A001202] /auth/authorization, Authorization header\
\ is missing."
schema:
$ref: '#/components/schemas/result'
description: ""
"403":
content:
application/json:
example:
resultCode: A001215
resultMessage: "[A001215] /auth/authorization, The client (ID = 26837717140341)\
\ is locked."
schema:
$ref: '#/components/schemas/result'
description: ""
"500":
content:
application/json:
example:
resultCode: A001101
resultMessage: "[A001101] /auth/authorization, Authlete Server error."
schema:
$ref: '#/components/schemas/result'
description: ""
security:
- ServiceCredentials: []
summary: "/api/client/lock_flag/update/{clientIdentifier} API"
tags:
- Client Management
/api/client/secret/refresh/{clientIdentifier}:
get:
description: |
Expand Down Expand Up @@ -11910,6 +11983,73 @@ paths:
const api: AuthleteApi = new AuthleteApiImpl(conf);

await api.getFederationConfiguration(true);
/api/info:
get:
description: |
get the server version and enabled features
operationId: info_api
responses:
"200":
content:
application/json:
example:
version: 2.3.0
features:
- ciba
- dcr
- deviceflow
- fapi
- openbanking
- hsm
- gm
- tc
- oidc_federation
schema:
$ref: '#/components/schemas/info_response'
description: ""
"400":
content:
application/json:
example:
resultCode: A001201
resultMessage: "[A001201] /auth/authorization, TLS must be used."
schema:
$ref: '#/components/schemas/result'
description: ""
"401":
content:
application/json:
example:
resultCode: A001202
resultMessage: "[A001202] /auth/authorization, Authorization header\
\ is missing."
schema:
$ref: '#/components/schemas/result'
description: ""
"403":
content:
application/json:
example:
resultCode: A001215
resultMessage: "[A001215] /auth/authorization, The client (ID = 26837717140341)\
\ is locked."
schema:
$ref: '#/components/schemas/result'
description: ""
"500":
content:
application/json:
example:
resultCode: A001101
resultMessage: "[A001101] /auth/authorization, Authlete Server error."
schema:
$ref: '#/components/schemas/result'
description: ""
security:
- ServiceCredentials: []
summary: /api/info API
tags:
- Server Metadata
components:
responses:
"400":
Expand Down Expand Up @@ -15917,6 +16057,30 @@ components:
$ref: '#/components/schemas/Client'
type: array
type: object
client_flag_update_request:
properties:
clientLocked:
description: |
The flag value to be set
type: boolean
required:
- clientLocked
type: object
client_flag_update_response:
example:
resultCode: resultCode
resultMessage: resultMessage
properties:
resultCode:
description: The code which represents the result of the API call.
type: string
resultMessage:
description: A short message which explains the result of the API call.
type: string
required:
- resultCode
- resultMessage
type: object
client_secret_refresh_response:
example:
newClientSecret: newClientSecret
Expand Down Expand Up @@ -22228,6 +22392,25 @@ components:
Its format varies depending on the value of `action` parameter.
type: string
type: object
info_response:
example:
features:
- features
- features
version: version
properties:
version:
description: The server version.
type: string
features:
description: the features that the server supports.
items:
type: string
type: array
required:
- features
- version
type: object
access_token:
example:
createdAt: 2
Expand Down
Loading

0 comments on commit e44df0d

Please sign in to comment.