From dd7159123778ff205a44d6ecb33336e48f0b2d69 Mon Sep 17 00:00:00 2001 From: "authentik-automation[bot]" <135050075+authentik-automation[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 21:34:31 +0000 Subject: [PATCH] Update API Client --- api/openapi.yaml | 4 ++-- docs/LoginChallengeTypes.md | 46 ++++++++++++++++++------------------- schema.yml | 4 ++-- 3 files changed, 27 insertions(+), 27 deletions(-) diff --git a/api/openapi.yaml b/api/openapi.yaml index 5319c32b..f67da137 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -47406,13 +47406,13 @@ components: discriminator: mapping: xak-flow-redirect: '#/components/schemas/RedirectChallenge' - ak-source-plex: '#/components/schemas/PlexAuthenticationChallenge' ak-source-oauth-apple: '#/components/schemas/AppleLoginChallenge' + ak-source-plex: '#/components/schemas/PlexAuthenticationChallenge' propertyName: component oneOf: - $ref: '#/components/schemas/RedirectChallenge' - - $ref: '#/components/schemas/PlexAuthenticationChallenge' - $ref: '#/components/schemas/AppleLoginChallenge' + - $ref: '#/components/schemas/PlexAuthenticationChallenge' LoginMetrics: description: Login Metrics per 1h example: diff --git a/docs/LoginChallengeTypes.md b/docs/LoginChallengeTypes.md index 152df75f..5f84cec3 100644 --- a/docs/LoginChallengeTypes.md +++ b/docs/LoginChallengeTypes.md @@ -5,20 +5,20 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **FlowInfo** | Pointer to [**ContextualFlowInfo**](ContextualFlowInfo.md) | | [optional] -**Component** | Pointer to **string** | | [optional] [default to "ak-source-oauth-apple"] +**Component** | Pointer to **string** | | [optional] [default to "ak-source-plex"] **ResponseErrors** | Pointer to [**map[string][]ErrorDetail**](array.md) | | [optional] **To** | **string** | | **ClientId** | **string** | | -**Slug** | **string** | | **Scope** | **string** | | **RedirectUri** | **string** | | **State** | **string** | | +**Slug** | **string** | | ## Methods ### NewLoginChallengeTypes -`func NewLoginChallengeTypes(to string, clientId string, slug string, scope string, redirectUri string, state string, ) *LoginChallengeTypes` +`func NewLoginChallengeTypes(to string, clientId string, scope string, redirectUri string, state string, slug string, ) *LoginChallengeTypes` NewLoginChallengeTypes instantiates a new LoginChallengeTypes object This constructor will assign default values to properties that have it defined, @@ -148,26 +148,6 @@ and a boolean to check if the value has been set. SetClientId sets ClientId field to given value. -### GetSlug - -`func (o *LoginChallengeTypes) GetSlug() string` - -GetSlug returns the Slug field if non-nil, zero value otherwise. - -### GetSlugOk - -`func (o *LoginChallengeTypes) GetSlugOk() (*string, bool)` - -GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSlug - -`func (o *LoginChallengeTypes) SetSlug(v string)` - -SetSlug sets Slug field to given value. - - ### GetScope `func (o *LoginChallengeTypes) GetScope() string` @@ -228,6 +208,26 @@ and a boolean to check if the value has been set. SetState sets State field to given value. +### GetSlug + +`func (o *LoginChallengeTypes) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *LoginChallengeTypes) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *LoginChallengeTypes) SetSlug(v string)` + +SetSlug sets Slug field to given value. + + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/schema.yml b/schema.yml index 646f7233..8beb39dd 100644 --- a/schema.yml +++ b/schema.yml @@ -41620,14 +41620,14 @@ components: LoginChallengeTypes: oneOf: - $ref: '#/components/schemas/RedirectChallenge' - - $ref: '#/components/schemas/PlexAuthenticationChallenge' - $ref: '#/components/schemas/AppleLoginChallenge' + - $ref: '#/components/schemas/PlexAuthenticationChallenge' discriminator: propertyName: component mapping: xak-flow-redirect: '#/components/schemas/RedirectChallenge' - ak-source-plex: '#/components/schemas/PlexAuthenticationChallenge' ak-source-oauth-apple: '#/components/schemas/AppleLoginChallenge' + ak-source-plex: '#/components/schemas/PlexAuthenticationChallenge' LoginMetrics: type: object description: Login Metrics per 1h