Skip to content

Commit

Permalink
Update API Client
Browse files Browse the repository at this point in the history
#### What's Changed
---

##### `GET` /providers/rac/{id}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    New optional properties:
    - `invalidation_flow`

    * Deleted property `invalidation_flow` (string)
        > Flow used ending the session from a provider.

##### `PUT` /providers/rac/{id}/

###### Request:

Changed content type : `application/json`

New optional properties:
- `invalidation_flow`

* Deleted property `invalidation_flow` (string)
    > Flow used ending the session from a provider.

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    New optional properties:
    - `invalidation_flow`

    * Deleted property `invalidation_flow` (string)
        > Flow used ending the session from a provider.

##### `PATCH` /providers/rac/{id}/

###### Request:

Changed content type : `application/json`

* Deleted property `invalidation_flow` (string)
    > Flow used ending the session from a provider.

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    New optional properties:
    - `invalidation_flow`

    * Deleted property `invalidation_flow` (string)
        > Flow used ending the session from a provider.

##### `POST` /providers/rac/

###### Request:

Changed content type : `application/json`

New optional properties:
- `invalidation_flow`

* Deleted property `invalidation_flow` (string)
    > Flow used ending the session from a provider.

###### Return Type:

Changed response : **201 Created**

* Changed content type : `application/json`

    New optional properties:
    - `invalidation_flow`

    * Deleted property `invalidation_flow` (string)
        > Flow used ending the session from a provider.

##### `GET` /providers/rac/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `results` (array)

        Changed items (object):
            > RACProvider Serializer

        New optional properties:
        - `invalidation_flow`

        * Deleted property `invalidation_flow` (string)
            > Flow used ending the session from a provider.

##### `GET` /rac/connection_tokens/{connection_token_uuid}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `provider_obj` (object)
        > RACProvider Serializer

        New optional properties:
        - `invalidation_flow`

        * Deleted property `invalidation_flow` (string)
            > Flow used ending the session from a provider.

    * Changed property `endpoint_obj` (object)
        > Endpoint Serializer

        * Changed property `provider_obj` (object)
            > RACProvider Serializer

            New optional properties:
            - `invalidation_flow`

            * Deleted property `invalidation_flow` (string)
                > Flow used ending the session from a provider.

##### `PUT` /rac/connection_tokens/{connection_token_uuid}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `provider_obj` (object)
        > RACProvider Serializer

        New optional properties:
        - `invalidation_flow`

        * Deleted property `invalidation_flow` (string)
            > Flow used ending the session from a provider.

    * Changed property `endpoint_obj` (object)
        > Endpoint Serializer

        * Changed property `provider_obj` (object)
            > RACProvider Serializer

            New optional properties:
            - `invalidation_flow`

            * Deleted property `invalidation_flow` (string)
                > Flow used ending the session from a provider.

##### `PATCH` /rac/connection_tokens/{connection_token_uuid}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `provider_obj` (object)
        > RACProvider Serializer

        New optional properties:
        - `invalidation_flow`

        * Deleted property `invalidation_flow` (string)
            > Flow used ending the session from a provider.

    * Changed property `endpoint_obj` (object)
        > Endpoint Serializer

        * Changed property `provider_obj` (object)
            > RACProvider Serializer

            New optional properties:
            - `invalidation_flow`

            * Deleted property `invalidation_flow` (string)
                > Flow used ending the session from a provider.

##### `GET` /rac/endpoints/{pbm_uuid}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `provider_obj` (object)
        > RACProvider Serializer

        New optional properties:
        - `invalidation_flow`

        * Deleted property `invalidation_flow` (string)
            > Flow used ending the session from a provider.

##### `PUT` /rac/endpoints/{pbm_uuid}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `provider_obj` (object)
        > RACProvider Serializer

        New optional properties:
        - `invalidation_flow`

        * Deleted property `invalidation_flow` (string)
            > Flow used ending the session from a provider.

##### `PATCH` /rac/endpoints/{pbm_uuid}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `provider_obj` (object)
        > RACProvider Serializer

        New optional properties:
        - `invalidation_flow`

        * Deleted property `invalidation_flow` (string)
            > Flow used ending the session from a provider.

##### `GET` /sources/kerberos/{slug}/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `spnego_server_name` (string)
        > Force the use of a specific server name for SPNEGO. Must be in the form HTTP@hostname

##### `PUT` /sources/kerberos/{slug}/

###### Request:

Changed content type : `application/json`

* Changed property `spnego_server_name` (string)
    > Force the use of a specific server name for SPNEGO. Must be in the form HTTP@hostname

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `spnego_server_name` (string)
        > Force the use of a specific server name for SPNEGO. Must be in the form HTTP@hostname

##### `PATCH` /sources/kerberos/{slug}/

###### Request:

Changed content type : `application/json`

* Changed property `spnego_server_name` (string)
    > Force the use of a specific server name for SPNEGO. Must be in the form HTTP@hostname

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `spnego_server_name` (string)
        > Force the use of a specific server name for SPNEGO. Must be in the form HTTP@hostname

##### `GET` /rac/connection_tokens/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `results` (array)

        Changed items (object):
            > ConnectionToken Serializer

        * Changed property `provider_obj` (object)
            > RACProvider Serializer

            New optional properties:
            - `invalidation_flow`

            * Deleted property `invalidation_flow` (string)
                > Flow used ending the session from a provider.

        * Changed property `endpoint_obj` (object)
            > Endpoint Serializer

            * Changed property `provider_obj` (object)
                > RACProvider Serializer

                New optional properties:
                - `invalidation_flow`

                * Deleted property `invalidation_flow` (string)
                    > Flow used ending the session from a provider.

##### `POST` /rac/endpoints/

###### Return Type:

Changed response : **201 Created**

* Changed content type : `application/json`

    * Changed property `provider_obj` (object)
        > RACProvider Serializer

        New optional properties:
        - `invalidation_flow`

        * Deleted property `invalidation_flow` (string)
            > Flow used ending the session from a provider.

##### `GET` /rac/endpoints/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `results` (array)

        Changed items (object):
            > Endpoint Serializer

        * Changed property `provider_obj` (object)
            > RACProvider Serializer

            New optional properties:
            - `invalidation_flow`

            * Deleted property `invalidation_flow` (string)
                > Flow used ending the session from a provider.

##### `POST` /sources/kerberos/

###### Request:

Changed content type : `application/json`

* Changed property `spnego_server_name` (string)
    > Force the use of a specific server name for SPNEGO. Must be in the form HTTP@hostname

###### Return Type:

Changed response : **201 Created**

* Changed content type : `application/json`

    * Changed property `spnego_server_name` (string)
        > Force the use of a specific server name for SPNEGO. Must be in the form HTTP@hostname

##### `GET` /sources/kerberos/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `results` (array)

        Changed items (object):
            > Kerberos Source Serializer

        * Changed property `spnego_server_name` (string)
            > Force the use of a specific server name for SPNEGO. Must be in the form HTTP@hostname

##### `PUT` /core/transactional/applications/

###### Request:

Changed content type : `application/json`

* Changed property `provider` (object)

    Updated `authentik_providers_rac.racprovider` provider_model:
    New optional properties:
    - `invalidation_flow`

    * Deleted property `invalidation_flow` (string)
        > Flow used ending the session from a provider.
  • Loading branch information
authentik-automation[bot] committed Nov 4, 2024
1 parent 2b7f1f2 commit f07d17d
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 41 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "authentik-client"
version = "3.2024100.0"
version = "3.2024100.1"
authors = ["[email protected]"]
description = "Making authentication simple."
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion docs/KerberosSource.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Name | Type | Description | Notes
**sync_principal** | Option<**String**> | Principal to authenticate to kadmin for sync. | [optional]
**sync_ccache** | Option<**String**> | Credentials cache to authenticate to kadmin for sync. Must be in the form TYPE:residual | [optional]
**connectivity** | Option<**std::collections::HashMap<String, String>**> | Get cached source connectivity | [readonly]
**spnego_server_name** | Option<**String**> | Force the use of a specific server name for SPNEGO | [optional]
**spnego_server_name** | Option<**String**> | Force the use of a specific server name for SPNEGO. Must be in the form HTTP@hostname | [optional]
**spnego_ccache** | Option<**String**> | Credential cache to use for SPNEGO in form type:residual | [optional]
**password_login_update_internal_password** | Option<**bool**> | If enabled, the authentik-stored password will be updated upon login with the Kerberos password backend | [optional]

Expand Down
2 changes: 1 addition & 1 deletion docs/KerberosSourceRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Name | Type | Description | Notes
**sync_password** | Option<**String**> | Password to authenticate to kadmin for sync | [optional]
**sync_keytab** | Option<**String**> | Keytab to authenticate to kadmin for sync. Must be base64-encoded or in the form TYPE:residual | [optional]
**sync_ccache** | Option<**String**> | Credentials cache to authenticate to kadmin for sync. Must be in the form TYPE:residual | [optional]
**spnego_server_name** | Option<**String**> | Force the use of a specific server name for SPNEGO | [optional]
**spnego_server_name** | Option<**String**> | Force the use of a specific server name for SPNEGO. Must be in the form HTTP@hostname | [optional]
**spnego_keytab** | Option<**String**> | SPNEGO keytab base64-encoded or path to keytab in the form FILE:path | [optional]
**spnego_ccache** | Option<**String**> | Credential cache to use for SPNEGO in form type:residual | [optional]
**password_login_update_internal_password** | Option<**bool**> | If enabled, the authentik-stored password will be updated upon login with the Kerberos password backend | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/PatchedKerberosSourceRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Name | Type | Description | Notes
**sync_password** | Option<**String**> | Password to authenticate to kadmin for sync | [optional]
**sync_keytab** | Option<**String**> | Keytab to authenticate to kadmin for sync. Must be base64-encoded or in the form TYPE:residual | [optional]
**sync_ccache** | Option<**String**> | Credentials cache to authenticate to kadmin for sync. Must be in the form TYPE:residual | [optional]
**spnego_server_name** | Option<**String**> | Force the use of a specific server name for SPNEGO | [optional]
**spnego_server_name** | Option<**String**> | Force the use of a specific server name for SPNEGO. Must be in the form HTTP@hostname | [optional]
**spnego_keytab** | Option<**String**> | SPNEGO keytab base64-encoded or path to keytab in the form FILE:path | [optional]
**spnego_ccache** | Option<**String**> | Credential cache to use for SPNEGO in form type:residual | [optional]
**password_login_update_internal_password** | Option<**bool**> | If enabled, the authentik-stored password will be updated upon login with the Kerberos password backend | [optional]
Expand Down
1 change: 0 additions & 1 deletion docs/PatchedRacProviderRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Name | Type | Description | Notes
**name** | Option<**String**> | | [optional]
**authentication_flow** | Option<[**uuid::Uuid**](uuid::Uuid.md)> | Flow used for authentication when the associated application is accessed by an un-authenticated user. | [optional]
**authorization_flow** | Option<[**uuid::Uuid**](uuid::Uuid.md)> | Flow used when authorizing this provider. | [optional]
**invalidation_flow** | Option<[**uuid::Uuid**](uuid::Uuid.md)> | Flow used ending the session from a provider. | [optional]
**property_mappings** | Option<[**Vec<uuid::Uuid>**](uuid::Uuid.md)> | | [optional]
**settings** | Option<[**serde_json::Value**](.md)> | | [optional]
**connection_expiry** | Option<**String**> | Determines how long a session lasts. Default of 0 means that the sessions lasts until the browser is closed. (Format: hours=-1;minutes=-2;seconds=-3) | [optional]
Expand Down
1 change: 0 additions & 1 deletion docs/RacProvider.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Name | Type | Description | Notes
**name** | **String** | |
**authentication_flow** | Option<[**uuid::Uuid**](uuid::Uuid.md)> | Flow used for authentication when the associated application is accessed by an un-authenticated user. | [optional]
**authorization_flow** | [**uuid::Uuid**](uuid::Uuid.md) | Flow used when authorizing this provider. |
**invalidation_flow** | [**uuid::Uuid**](uuid::Uuid.md) | Flow used ending the session from a provider. |
**property_mappings** | Option<[**Vec<uuid::Uuid>**](uuid::Uuid.md)> | | [optional]
**component** | **String** | Get object component so that we know how to edit the object | [readonly]
**assigned_application_slug** | **String** | Internal application name, used in URLs. | [readonly]
Expand Down
1 change: 0 additions & 1 deletion docs/RacProviderRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Name | Type | Description | Notes
**name** | **String** | |
**authentication_flow** | Option<[**uuid::Uuid**](uuid::Uuid.md)> | Flow used for authentication when the associated application is accessed by an un-authenticated user. | [optional]
**authorization_flow** | [**uuid::Uuid**](uuid::Uuid.md) | Flow used when authorizing this provider. |
**invalidation_flow** | [**uuid::Uuid**](uuid::Uuid.md) | Flow used ending the session from a provider. |
**property_mappings** | Option<[**Vec<uuid::Uuid>**](uuid::Uuid.md)> | | [optional]
**settings** | Option<[**serde_json::Value**](.md)> | | [optional]
**connection_expiry** | Option<**String**> | Determines how long a session lasts. Default of 0 means that the sessions lasts until the browser is closed. (Format: hours=-1;minutes=-2;seconds=-3) | [optional]
Expand Down
23 changes: 6 additions & 17 deletions schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42975,7 +42975,8 @@ components:
readOnly: true
spnego_server_name:
type: string
description: Force the use of a specific server name for SPNEGO
description: Force the use of a specific server name for SPNEGO. Must be
in the form HTTP@hostname
spnego_ccache:
type: string
description: Credential cache to use for SPNEGO in form type:residual
Expand Down Expand Up @@ -43144,7 +43145,8 @@ components:
be in the form TYPE:residual
spnego_server_name:
type: string
description: Force the use of a specific server name for SPNEGO
description: Force the use of a specific server name for SPNEGO. Must be
in the form HTTP@hostname
spnego_keytab:
type: string
writeOnly: true
Expand Down Expand Up @@ -48448,7 +48450,8 @@ components:
be in the form TYPE:residual
spnego_server_name:
type: string
description: Force the use of a specific server name for SPNEGO
description: Force the use of a specific server name for SPNEGO. Must be
in the form HTTP@hostname
spnego_keytab:
type: string
writeOnly: true
Expand Down Expand Up @@ -49461,10 +49464,6 @@ components:
type: string
format: uuid
description: Flow used when authorizing this provider.
invalidation_flow:
type: string
format: uuid
description: Flow used ending the session from a provider.
property_mappings:
type: array
items:
Expand Down Expand Up @@ -51696,10 +51695,6 @@ components:
type: string
format: uuid
description: Flow used when authorizing this provider.
invalidation_flow:
type: string
format: uuid
description: Flow used ending the session from a provider.
property_mappings:
type: array
items:
Expand Down Expand Up @@ -51757,7 +51752,6 @@ components:
- assigned_backchannel_application_slug
- authorization_flow
- component
- invalidation_flow
- meta_model_name
- name
- outpost_set
Expand All @@ -51781,10 +51775,6 @@ components:
type: string
format: uuid
description: Flow used when authorizing this provider.
invalidation_flow:
type: string
format: uuid
description: Flow used ending the session from a provider.
property_mappings:
type: array
items:
Expand All @@ -51801,7 +51791,6 @@ components:
description: When set to true, connection tokens will be deleted upon disconnect.
required:
- authorization_flow
- invalidation_flow
- name
RadiusCheckAccess:
type: object
Expand Down
2 changes: 1 addition & 1 deletion src/models/kerberos_source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ pub struct KerberosSource {
/// Get cached source connectivity
#[serde(rename = "connectivity", deserialize_with = "Option::deserialize")]
pub connectivity: Option<std::collections::HashMap<String, String>>,
/// Force the use of a specific server name for SPNEGO
/// Force the use of a specific server name for SPNEGO. Must be in the form HTTP@hostname
#[serde(rename = "spnego_server_name", skip_serializing_if = "Option::is_none")]
pub spnego_server_name: Option<String>,
/// Credential cache to use for SPNEGO in form type:residual
Expand Down
2 changes: 1 addition & 1 deletion src/models/kerberos_source_request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ pub struct KerberosSourceRequest {
/// Credentials cache to authenticate to kadmin for sync. Must be in the form TYPE:residual
#[serde(rename = "sync_ccache", skip_serializing_if = "Option::is_none")]
pub sync_ccache: Option<String>,
/// Force the use of a specific server name for SPNEGO
/// Force the use of a specific server name for SPNEGO. Must be in the form HTTP@hostname
#[serde(rename = "spnego_server_name", skip_serializing_if = "Option::is_none")]
pub spnego_server_name: Option<String>,
/// SPNEGO keytab base64-encoded or path to keytab in the form FILE:path
Expand Down
2 changes: 1 addition & 1 deletion src/models/patched_kerberos_source_request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ pub struct PatchedKerberosSourceRequest {
/// Credentials cache to authenticate to kadmin for sync. Must be in the form TYPE:residual
#[serde(rename = "sync_ccache", skip_serializing_if = "Option::is_none")]
pub sync_ccache: Option<String>,
/// Force the use of a specific server name for SPNEGO
/// Force the use of a specific server name for SPNEGO. Must be in the form HTTP@hostname
#[serde(rename = "spnego_server_name", skip_serializing_if = "Option::is_none")]
pub spnego_server_name: Option<String>,
/// SPNEGO keytab base64-encoded or path to keytab in the form FILE:path
Expand Down
4 changes: 0 additions & 4 deletions src/models/patched_rac_provider_request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ pub struct PatchedRacProviderRequest {
/// Flow used when authorizing this provider.
#[serde(rename = "authorization_flow", skip_serializing_if = "Option::is_none")]
pub authorization_flow: Option<uuid::Uuid>,
/// Flow used ending the session from a provider.
#[serde(rename = "invalidation_flow", skip_serializing_if = "Option::is_none")]
pub invalidation_flow: Option<uuid::Uuid>,
#[serde(rename = "property_mappings", skip_serializing_if = "Option::is_none")]
pub property_mappings: Option<Vec<uuid::Uuid>>,
#[serde(
Expand All @@ -54,7 +51,6 @@ impl PatchedRacProviderRequest {
name: None,
authentication_flow: None,
authorization_flow: None,
invalidation_flow: None,
property_mappings: None,
settings: None,
connection_expiry: None,
Expand Down
5 changes: 0 additions & 5 deletions src/models/rac_provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ pub struct RacProvider {
/// Flow used when authorizing this provider.
#[serde(rename = "authorization_flow")]
pub authorization_flow: uuid::Uuid,
/// Flow used ending the session from a provider.
#[serde(rename = "invalidation_flow")]
pub invalidation_flow: uuid::Uuid,
#[serde(rename = "property_mappings", skip_serializing_if = "Option::is_none")]
pub property_mappings: Option<Vec<uuid::Uuid>>,
/// Get object component so that we know how to edit the object
Expand Down Expand Up @@ -81,7 +78,6 @@ impl RacProvider {
pk: i32,
name: String,
authorization_flow: uuid::Uuid,
invalidation_flow: uuid::Uuid,
component: String,
assigned_application_slug: String,
assigned_application_name: String,
Expand All @@ -97,7 +93,6 @@ impl RacProvider {
name,
authentication_flow: None,
authorization_flow,
invalidation_flow,
property_mappings: None,
component,
assigned_application_slug,
Expand Down
6 changes: 1 addition & 5 deletions src/models/rac_provider_request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ pub struct RacProviderRequest {
/// Flow used when authorizing this provider.
#[serde(rename = "authorization_flow")]
pub authorization_flow: uuid::Uuid,
/// Flow used ending the session from a provider.
#[serde(rename = "invalidation_flow")]
pub invalidation_flow: uuid::Uuid,
#[serde(rename = "property_mappings", skip_serializing_if = "Option::is_none")]
pub property_mappings: Option<Vec<uuid::Uuid>>,
#[serde(
Expand All @@ -49,12 +46,11 @@ pub struct RacProviderRequest {

impl RacProviderRequest {
/// RACProvider Serializer
pub fn new(name: String, authorization_flow: uuid::Uuid, invalidation_flow: uuid::Uuid) -> RacProviderRequest {
pub fn new(name: String, authorization_flow: uuid::Uuid) -> RacProviderRequest {
RacProviderRequest {
name,
authentication_flow: None,
authorization_flow,
invalidation_flow,
property_mappings: None,
settings: None,
connection_expiry: None,
Expand Down

0 comments on commit f07d17d

Please sign in to comment.