Skip to content

Commit 067a7f4

Browse files
Update API Client
#### What's Changed --- ##### `GET` /sources/oauth/{slug}/ ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Added property `authorization_code_auth_method` (object) > How to perform authentication during an authorization_code token request flow Enum values: * `basic_auth` * `post_body` ##### `PUT` /sources/oauth/{slug}/ ###### Request: Changed content type : `application/json` * Added property `authorization_code_auth_method` (object) > How to perform authentication during an authorization_code token request flow ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Added property `authorization_code_auth_method` (object) > How to perform authentication during an authorization_code token request flow ##### `PATCH` /sources/oauth/{slug}/ ###### Request: Changed content type : `application/json` * Added property `authorization_code_auth_method` (object) > How to perform authentication during an authorization_code token request flow ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Added property `authorization_code_auth_method` (object) > How to perform authentication during an authorization_code token request flow ##### `POST` /sources/oauth/ ###### Request: Changed content type : `application/json` * Added property `authorization_code_auth_method` (object) > How to perform authentication during an authorization_code token request flow ###### Return Type: Changed response : **201 Created** * Changed content type : `application/json` * Added property `authorization_code_auth_method` (object) > How to perform authentication during an authorization_code token request flow ##### `GET` /sources/oauth/ ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Changed property `results` (array) Changed items (object): > OAuth Source Serializer * Added property `authorization_code_auth_method` (object) > How to perform authentication during an authorization_code token request flow
1 parent 36c09ee commit 067a7f4

12 files changed

+361
-0
lines changed

.openapi-generator/FILES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ docs/AuthenticatorWebAuthnChallengeResponseRequest.md
8080
docs/AuthenticatorWebAuthnStage.md
8181
docs/AuthenticatorWebAuthnStageRequest.md
8282
docs/AuthenticatorsApi.md
83+
docs/AuthorizationCodeAuthMethodEnum.md
8384
docs/AutoSubmitChallengeResponseRequest.md
8485
docs/AutosubmitChallenge.md
8586
docs/BackendsEnum.md
@@ -839,6 +840,7 @@ model_authenticator_web_authn_challenge.go
839840
model_authenticator_web_authn_challenge_response_request.go
840841
model_authenticator_web_authn_stage.go
841842
model_authenticator_web_authn_stage_request.go
843+
model_authorization_code_auth_method_enum.go
842844
model_auto_submit_challenge_response_request.go
843845
model_autosubmit_challenge.go
844846
model_backends_enum.go

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1086,6 +1086,7 @@ Class | Method | HTTP request | Description
10861086
- [AuthenticatorWebAuthnChallengeResponseRequest](docs/AuthenticatorWebAuthnChallengeResponseRequest.md)
10871087
- [AuthenticatorWebAuthnStage](docs/AuthenticatorWebAuthnStage.md)
10881088
- [AuthenticatorWebAuthnStageRequest](docs/AuthenticatorWebAuthnStageRequest.md)
1089+
- [AuthorizationCodeAuthMethodEnum](docs/AuthorizationCodeAuthMethodEnum.md)
10891090
- [AutoSubmitChallengeResponseRequest](docs/AutoSubmitChallengeResponseRequest.md)
10901091
- [AutosubmitChallenge](docs/AutosubmitChallenge.md)
10911092
- [BackendsEnum](docs/BackendsEnum.md)

api/openapi.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47188,6 +47188,11 @@ components:
4718847188
required:
4718947189
- name
4719047190
type: object
47191+
AuthorizationCodeAuthMethodEnum:
47192+
enum:
47193+
- basic_auth
47194+
- post_body
47195+
type: string
4719147196
AutoSubmitChallengeResponseRequest:
4719247197
description: Pseudo class for autosubmit response
4719347198
properties:
@@ -55580,6 +55585,7 @@ components:
5558055585
profile_url: profile_url
5558155586
icon: icon
5558255587
oidc_jwks: ""
55588+
authorization_code_auth_method: ""
5558355589
type: ""
5558455590
additional_scopes: additional_scopes
5558555591
enabled: true
@@ -55723,6 +55729,11 @@ components:
5572355729
oidc_jwks_url:
5572455730
type: string
5572555731
oidc_jwks: {}
55732+
authorization_code_auth_method:
55733+
allOf:
55734+
- $ref: '#/components/schemas/AuthorizationCodeAuthMethodEnum'
55735+
description: How to perform authentication during an authorization_code
55736+
token request flow
5572655737
required:
5572755738
- callback_url
5572855739
- component
@@ -55833,6 +55844,7 @@ components:
5583355844
profile_url: profile_url
5583455845
authorization_url: authorization_url
5583555846
oidc_jwks: ""
55847+
authorization_code_auth_method: ""
5583655848
additional_scopes: additional_scopes
5583755849
enabled: true
5583855850
group_matching_mode: ""
@@ -55932,6 +55944,11 @@ components:
5593255944
oidc_jwks_url:
5593355945
type: string
5593455946
oidc_jwks: {}
55947+
authorization_code_auth_method:
55948+
allOf:
55949+
- $ref: '#/components/schemas/AuthorizationCodeAuthMethodEnum'
55950+
description: How to perform authentication during an authorization_code
55951+
token request flow
5593555952
required:
5593655953
- consumer_key
5593755954
- consumer_secret
@@ -60466,6 +60483,7 @@ components:
6046660483
profile_url: profile_url
6046760484
icon: icon
6046860485
oidc_jwks: ""
60486+
authorization_code_auth_method: ""
6046960487
type: ""
6047060488
additional_scopes: additional_scopes
6047160489
enabled: true
@@ -60500,6 +60518,7 @@ components:
6050060518
profile_url: profile_url
6050160519
icon: icon
6050260520
oidc_jwks: ""
60521+
authorization_code_auth_method: ""
6050360522
type: ""
6050460523
additional_scopes: additional_scopes
6050560524
enabled: true
@@ -67660,6 +67679,7 @@ components:
6766067679
profile_url: profile_url
6766167680
authorization_url: authorization_url
6766267681
oidc_jwks: ""
67682+
authorization_code_auth_method: ""
6766367683
additional_scopes: additional_scopes
6766467684
enabled: true
6766567685
group_matching_mode: ""
@@ -67759,6 +67779,11 @@ components:
6775967779
oidc_jwks_url:
6776067780
type: string
6776167781
oidc_jwks: {}
67782+
authorization_code_auth_method:
67783+
allOf:
67784+
- $ref: '#/components/schemas/AuthorizationCodeAuthMethodEnum'
67785+
description: How to perform authentication during an authorization_code
67786+
token request flow
6776267787
type: object
6776367788
PatchedOutpostRequest:
6776467789
description: Outpost Serializer
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# AuthorizationCodeAuthMethodEnum
2+
3+
## Enum
4+
5+
6+
* `BASIC_AUTH` (value: `"basic_auth"`)
7+
8+
* `POST_BODY` (value: `"post_body"`)
9+
10+
11+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
12+
13+

docs/OAuthSource.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ Name | Type | Description | Notes
3434
**OidcWellKnownUrl** | Pointer to **string** | | [optional]
3535
**OidcJwksUrl** | Pointer to **string** | | [optional]
3636
**OidcJwks** | Pointer to **interface{}** | | [optional]
37+
**AuthorizationCodeAuthMethod** | Pointer to [**AuthorizationCodeAuthMethodEnum**](AuthorizationCodeAuthMethodEnum.md) | How to perform authentication during an authorization_code token request flow | [optional]
3738

3839
## Methods
3940

@@ -829,6 +830,31 @@ HasOidcJwks returns a boolean if a field has been set.
829830
`func (o *OAuthSource) UnsetOidcJwks()`
830831

831832
UnsetOidcJwks ensures that no value is present for OidcJwks, not even an explicit nil
833+
### GetAuthorizationCodeAuthMethod
834+
835+
`func (o *OAuthSource) GetAuthorizationCodeAuthMethod() AuthorizationCodeAuthMethodEnum`
836+
837+
GetAuthorizationCodeAuthMethod returns the AuthorizationCodeAuthMethod field if non-nil, zero value otherwise.
838+
839+
### GetAuthorizationCodeAuthMethodOk
840+
841+
`func (o *OAuthSource) GetAuthorizationCodeAuthMethodOk() (*AuthorizationCodeAuthMethodEnum, bool)`
842+
843+
GetAuthorizationCodeAuthMethodOk returns a tuple with the AuthorizationCodeAuthMethod field if it's non-nil, zero value otherwise
844+
and a boolean to check if the value has been set.
845+
846+
### SetAuthorizationCodeAuthMethod
847+
848+
`func (o *OAuthSource) SetAuthorizationCodeAuthMethod(v AuthorizationCodeAuthMethodEnum)`
849+
850+
SetAuthorizationCodeAuthMethod sets AuthorizationCodeAuthMethod field to given value.
851+
852+
### HasAuthorizationCodeAuthMethod
853+
854+
`func (o *OAuthSource) HasAuthorizationCodeAuthMethod() bool`
855+
856+
HasAuthorizationCodeAuthMethod returns a boolean if a field has been set.
857+
832858

833859
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
834860

docs/OAuthSourceRequest.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Name | Type | Description | Notes
2626
**OidcWellKnownUrl** | Pointer to **string** | | [optional]
2727
**OidcJwksUrl** | Pointer to **string** | | [optional]
2828
**OidcJwks** | Pointer to **interface{}** | | [optional]
29+
**AuthorizationCodeAuthMethod** | Pointer to [**AuthorizationCodeAuthMethodEnum**](AuthorizationCodeAuthMethodEnum.md) | How to perform authentication during an authorization_code token request flow | [optional]
2930

3031
## Methods
3132

@@ -641,6 +642,31 @@ HasOidcJwks returns a boolean if a field has been set.
641642
`func (o *OAuthSourceRequest) UnsetOidcJwks()`
642643

643644
UnsetOidcJwks ensures that no value is present for OidcJwks, not even an explicit nil
645+
### GetAuthorizationCodeAuthMethod
646+
647+
`func (o *OAuthSourceRequest) GetAuthorizationCodeAuthMethod() AuthorizationCodeAuthMethodEnum`
648+
649+
GetAuthorizationCodeAuthMethod returns the AuthorizationCodeAuthMethod field if non-nil, zero value otherwise.
650+
651+
### GetAuthorizationCodeAuthMethodOk
652+
653+
`func (o *OAuthSourceRequest) GetAuthorizationCodeAuthMethodOk() (*AuthorizationCodeAuthMethodEnum, bool)`
654+
655+
GetAuthorizationCodeAuthMethodOk returns a tuple with the AuthorizationCodeAuthMethod field if it's non-nil, zero value otherwise
656+
and a boolean to check if the value has been set.
657+
658+
### SetAuthorizationCodeAuthMethod
659+
660+
`func (o *OAuthSourceRequest) SetAuthorizationCodeAuthMethod(v AuthorizationCodeAuthMethodEnum)`
661+
662+
SetAuthorizationCodeAuthMethod sets AuthorizationCodeAuthMethod field to given value.
663+
664+
### HasAuthorizationCodeAuthMethod
665+
666+
`func (o *OAuthSourceRequest) HasAuthorizationCodeAuthMethod() bool`
667+
668+
HasAuthorizationCodeAuthMethod returns a boolean if a field has been set.
669+
644670

645671
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
646672

docs/PatchedOAuthSourceRequest.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Name | Type | Description | Notes
2626
**OidcWellKnownUrl** | Pointer to **string** | | [optional]
2727
**OidcJwksUrl** | Pointer to **string** | | [optional]
2828
**OidcJwks** | Pointer to **interface{}** | | [optional]
29+
**AuthorizationCodeAuthMethod** | Pointer to [**AuthorizationCodeAuthMethodEnum**](AuthorizationCodeAuthMethodEnum.md) | How to perform authentication during an authorization_code token request flow | [optional]
2930

3031
## Methods
3132

@@ -666,6 +667,31 @@ HasOidcJwks returns a boolean if a field has been set.
666667
`func (o *PatchedOAuthSourceRequest) UnsetOidcJwks()`
667668

668669
UnsetOidcJwks ensures that no value is present for OidcJwks, not even an explicit nil
670+
### GetAuthorizationCodeAuthMethod
671+
672+
`func (o *PatchedOAuthSourceRequest) GetAuthorizationCodeAuthMethod() AuthorizationCodeAuthMethodEnum`
673+
674+
GetAuthorizationCodeAuthMethod returns the AuthorizationCodeAuthMethod field if non-nil, zero value otherwise.
675+
676+
### GetAuthorizationCodeAuthMethodOk
677+
678+
`func (o *PatchedOAuthSourceRequest) GetAuthorizationCodeAuthMethodOk() (*AuthorizationCodeAuthMethodEnum, bool)`
679+
680+
GetAuthorizationCodeAuthMethodOk returns a tuple with the AuthorizationCodeAuthMethod field if it's non-nil, zero value otherwise
681+
and a boolean to check if the value has been set.
682+
683+
### SetAuthorizationCodeAuthMethod
684+
685+
`func (o *PatchedOAuthSourceRequest) SetAuthorizationCodeAuthMethod(v AuthorizationCodeAuthMethodEnum)`
686+
687+
SetAuthorizationCodeAuthMethod sets AuthorizationCodeAuthMethod field to given value.
688+
689+
### HasAuthorizationCodeAuthMethod
690+
691+
`func (o *PatchedOAuthSourceRequest) HasAuthorizationCodeAuthMethod() bool`
692+
693+
HasAuthorizationCodeAuthMethod returns a boolean if a field has been set.
694+
669695

670696
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
671697

model_authorization_code_auth_method_enum.go

Lines changed: 111 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)