Skip to content

Commit

Permalink
autogen: regenerate OpenAPI client for v1.11.12
Browse files Browse the repository at this point in the history
Version: v1.11.12
  • Loading branch information
aeneasr committed Jun 27, 2024
1 parent b2a3ee1 commit 0bfb954
Show file tree
Hide file tree
Showing 564 changed files with 1,006 additions and 806 deletions.
3 changes: 3 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ docs/Warning.md
docs/WellknownApi.md
docs/Workspace.md
docs/WorkspaceApi.md
docs/WorkspaceApiKey.md
git_push.sh
ory_client/__init__.py
ory_client/api/__init__.py
Expand Down Expand Up @@ -560,6 +561,7 @@ ory_client/models/verification_flow_state.py
ory_client/models/version.py
ory_client/models/warning.py
ory_client/models/workspace.py
ory_client/models/workspace_api_key.py
ory_client/py.typed
ory_client/rest.py
pyproject.toml
Expand Down Expand Up @@ -842,4 +844,5 @@ test/test_warning.py
test/test_wellknown_api.py
test/test_workspace.py
test/test_workspace_api.py
test/test_workspace_api_key.py
tox.ini
52 changes: 24 additions & 28 deletions docs/EventsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Create an event stream for your project.

### Example

* Api Key Authentication (oryNetworkCookie):
* Bearer Authentication (oryWorkspaceApiKey):

```python
import ory_client
Expand All @@ -37,11 +37,10 @@ configuration = ory_client.Configuration(
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: oryNetworkCookie
configuration.api_key['oryNetworkCookie'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['oryNetworkCookie'] = 'Bearer'
# Configure Bearer authorization: oryWorkspaceApiKey
configuration = ory_client.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)

# Enter a context with an instance of the API client
with ory_client.ApiClient(configuration) as api_client:
Expand Down Expand Up @@ -75,7 +74,7 @@ Name | Type | Description | Notes

### Authorization

[oryNetworkCookie](../README.md#oryNetworkCookie)
[oryWorkspaceApiKey](../README.md#oryWorkspaceApiKey)

### HTTP request headers

Expand Down Expand Up @@ -103,7 +102,7 @@ Remove an event stream from a project.

### Example

* Api Key Authentication (oryNetworkCookie):
* Bearer Authentication (oryWorkspaceApiKey):

```python
import ory_client
Expand All @@ -121,11 +120,10 @@ configuration = ory_client.Configuration(
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: oryNetworkCookie
configuration.api_key['oryNetworkCookie'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['oryNetworkCookie'] = 'Bearer'
# Configure Bearer authorization: oryWorkspaceApiKey
configuration = ory_client.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)

# Enter a context with an instance of the API client
with ory_client.ApiClient(configuration) as api_client:
Expand Down Expand Up @@ -157,7 +155,7 @@ void (empty response body)

### Authorization

[oryNetworkCookie](../README.md#oryNetworkCookie)
[oryWorkspaceApiKey](../README.md#oryWorkspaceApiKey)

### HTTP request headers

Expand All @@ -183,7 +181,7 @@ List all event streams for the project. This endpoint is not paginated.

### Example

* Api Key Authentication (oryNetworkCookie):
* Bearer Authentication (oryWorkspaceApiKey):

```python
import ory_client
Expand All @@ -202,11 +200,10 @@ configuration = ory_client.Configuration(
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: oryNetworkCookie
configuration.api_key['oryNetworkCookie'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['oryNetworkCookie'] = 'Bearer'
# Configure Bearer authorization: oryWorkspaceApiKey
configuration = ory_client.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)

# Enter a context with an instance of the API client
with ory_client.ApiClient(configuration) as api_client:
Expand Down Expand Up @@ -238,7 +235,7 @@ Name | Type | Description | Notes

### Authorization

[oryNetworkCookie](../README.md#oryNetworkCookie)
[oryWorkspaceApiKey](../README.md#oryWorkspaceApiKey)

### HTTP request headers

Expand All @@ -263,7 +260,7 @@ Update an event stream for a project.

### Example

* Api Key Authentication (oryNetworkCookie):
* Bearer Authentication (oryWorkspaceApiKey):

```python
import ory_client
Expand All @@ -283,11 +280,10 @@ configuration = ory_client.Configuration(
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: oryNetworkCookie
configuration.api_key['oryNetworkCookie'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['oryNetworkCookie'] = 'Bearer'
# Configure Bearer authorization: oryWorkspaceApiKey
configuration = ory_client.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)

# Enter a context with an instance of the API client
with ory_client.ApiClient(configuration) as api_client:
Expand Down Expand Up @@ -323,7 +319,7 @@ Name | Type | Description | Notes

### Authorization

[oryNetworkCookie](../README.md#oryNetworkCookie)
[oryWorkspaceApiKey](../README.md#oryWorkspaceApiKey)

### HTTP request headers

Expand Down
14 changes: 8 additions & 6 deletions docs/IdentityApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -432,11 +432,11 @@ void (empty response body)
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **delete_identity_credentials**
> delete_identity_credentials(id, type)
> delete_identity_credentials(id, type, identifier=identifier)
Delete a credential for a specific identity

Delete an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model) credential by its type You can only delete second factor (aal2) credentials.
Delete an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model) credential by its type. You cannot delete password or code auth credentials through this API.

### Example

Expand Down Expand Up @@ -468,11 +468,12 @@ with ory_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = ory_client.IdentityApi(api_client)
id = 'id_example' # str | ID is the identity's ID.
type = 'type_example' # str | Type is the type of credentials to be deleted. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode
type = 'type_example' # str | Type is the type of credentials to delete. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode
identifier = 'identifier_example' # str | Identifier is the identifier of the OIDC credential to delete. Find the identifier by calling the `GET /admin/identities/{id}?include_credential=oidc` endpoint. (optional)

try:
# Delete a credential for a specific identity
api_instance.delete_identity_credentials(id, type)
api_instance.delete_identity_credentials(id, type, identifier=identifier)
except Exception as e:
print("Exception when calling IdentityApi->delete_identity_credentials: %s\n" % e)
```
Expand All @@ -485,7 +486,8 @@ with ory_client.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **str**| ID is the identity's ID. |
**type** | **str**| Type is the type of credentials to be deleted. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode |
**type** | **str**| Type is the type of credentials to delete. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode |
**identifier** | **str**| Identifier is the identifier of the OIDC credential to delete. Find the identifier by calling the `GET /admin/identities/{id}?include_credential=oidc` endpoint. | [optional]

### Return type

Expand Down Expand Up @@ -672,7 +674,7 @@ void (empty response body)
Extend a Session

Calling this endpoint extends the given session ID. If `session.earliest_possible_extend` is set it will only extend the session after the specified time has passed. This endpoint returns per default a 204 No Content response on success. Older Ory Network projects may return a 200 OK response with the session in the body. Returning the session as part of the response will be deprecated in the future and should not be relied upon. Retrieve the session ID from the `/sessions/whoami` endpoint / `toSession` SDK method.
Calling this endpoint extends the given session ID. If `session.earliest_possible_extend` is set it will only extend the session after the specified time has passed. This endpoint returns per default a 204 No Content response on success. Older Ory Network projects may return a 200 OK response with the session in the body. Returning the session as part of the response will be deprecated in the future and should not be relied upon. This endpoint ignores consecutive requests to extend the same session and returns a 404 error in those scenarios. This endpoint also returns 404 errors if the session does not exist. Retrieve the session ID from the `/sessions/whoami` endpoint / `toSession` SDK method.

### Example

Expand Down
Loading

0 comments on commit 0bfb954

Please sign in to comment.