Skip to content

Commit

Permalink
autogen: regenerate OpenAPI client for v1.16.6
Browse files Browse the repository at this point in the history
Version: v1.16.6
  • Loading branch information
aeneasr committed Feb 6, 2025
1 parent 99e3f00 commit 092fd44
Show file tree
Hide file tree
Showing 301 changed files with 2,161 additions and 294 deletions.
6 changes: 6 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ docs/CourierMessageStatus.md
docs/CourierMessageType.md
docs/CreateCustomDomainBody.md
docs/CreateEventStreamBody.md
docs/CreateFedcmFlowResponse.md
docs/CreateIdentityBody.md
docs/CreateInviteResponse.md
docs/CreateJsonWebKeySet.md
Expand Down Expand Up @@ -202,6 +203,7 @@ docs/ProjectServiceIdentity.md
docs/ProjectServiceOAuth2.md
docs/ProjectServicePermission.md
docs/ProjectServices.md
docs/Provider.md
docs/QuotaUsage.md
docs/RFC6749ErrorJson.md
docs/RecoveryCodeForIdentity.md
Expand Down Expand Up @@ -257,6 +259,7 @@ docs/UiNodeMeta.md
docs/UiNodeScriptAttributes.md
docs/UiNodeTextAttributes.md
docs/UiText.md
docs/UpdateFedcmFlowBody.md
docs/UpdateIdentityBody.md
docs/UpdateLoginFlowBody.md
docs/UpdateLoginFlowWithCodeMethod.md
Expand Down Expand Up @@ -340,6 +343,7 @@ model_courier_message_status.go
model_courier_message_type.go
model_create_custom_domain_body.go
model_create_event_stream_body.go
model_create_fedcm_flow_response.go
model_create_identity_body.go
model_create_invite_response.go
model_create_json_web_key_set.go
Expand Down Expand Up @@ -480,6 +484,7 @@ model_project_service_identity.go
model_project_service_o_auth2.go
model_project_service_permission.go
model_project_services.go
model_provider.go
model_quota_usage.go
model_recovery_code_for_identity.go
model_recovery_flow.go
Expand Down Expand Up @@ -534,6 +539,7 @@ model_ui_node_meta.go
model_ui_node_script_attributes.go
model_ui_node_text_attributes.go
model_ui_text.go
model_update_fedcm_flow_body.go
model_update_identity_body.go
model_update_login_flow_body.go
model_update_login_flow_with_code_method.go
Expand Down
199 changes: 198 additions & 1 deletion api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ info:
url: https://www.apache.org/licenses/LICENSE-2.0.html
termsOfService: /ptos
title: Ory APIs
version: v1.16.5
version: v1.16.6
servers:
- url: "https://{project_slug}.projects.oryapis.com/"
variables:
Expand Down Expand Up @@ -5204,6 +5204,89 @@ paths:
summary: Get User-Flow Errors
tags:
- frontend
/self-service/fed-cm/parameters:
get:
description: This endpoint returns a list of all available FedCM providers.
It is only supported on the Ory Network.
operationId: createFedcmFlow
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/createFedcmFlowResponse'
description: createFedcmFlowResponse
"400":
content:
application/json:
schema:
$ref: '#/components/schemas/errorGeneric'
description: errorGeneric
default:
content:
application/json:
schema:
$ref: '#/components/schemas/errorGeneric'
description: errorGeneric
summary: Get FedCM Parameters
tags:
- frontend
/self-service/fed-cm/token:
post:
description: |-
Use this endpoint to submit a token from a FedCM provider through
`navigator.credentials.get` and log the user in. The parameters from
`navigator.credentials.get` must have come from `GET
self-service/fed-cm/parameters`.
operationId: updateFedcmFlow
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateFedcmFlowBody'
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/UpdateFedcmFlowBody'
required: true
x-originalParamName: Body
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/successfulNativeLogin'
description: successfulNativeLogin
"303":
description: |-
Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is
typically 201.
"400":
content:
application/json:
schema:
$ref: '#/components/schemas/loginFlow'
description: loginFlow
"410":
content:
application/json:
schema:
$ref: '#/components/schemas/errorGeneric'
description: errorGeneric
"422":
content:
application/json:
schema:
$ref: '#/components/schemas/errorBrowserLocationChangeRequired'
description: errorBrowserLocationChangeRequired
default:
content:
application/json:
schema:
$ref: '#/components/schemas/errorGeneric'
description: errorGeneric
summary: Submit a FedCM token
tags:
- frontend
/self-service/login:
post:
description: |-
Expand Down Expand Up @@ -10287,6 +10370,64 @@ components:
- name
- timestamp
type: object
Provider:
example:
domain_hint: domain_hint
login_hint: login_hint
config_url: config_url
fields:
- fields
- fields
nonce: nonce
parameters:
key: parameters
client_id: client_id
properties:
client_id:
description: "The RP's client identifier, issued by the IdP."
type: string
config_url:
description: A full path of the IdP config file.
type: string
domain_hint:
description: |-
By specifying one of domain_hints values provided by the accounts endpoints,
the FedCM dialog selectively shows the specified account.
type: string
fields:
description: |-
Array of strings that specifies the user information ("name", " email",
"picture") that RP needs IdP to share with them.

Note: Field API is supported by Chrome 132 and later.
items:
type: string
type: array
login_hint:
description: |-
By specifying one of login_hints values provided by the accounts endpoints,
the FedCM dialog selectively shows the specified account.
type: string
nonce:
description: |-
A random string to ensure the response is issued for this specific request.
Prevents replay attacks.
type: string
parameters:
additionalProperties:
type: string
description: |-
Custom object that allows to specify additional key-value parameters:
scope: A string value containing additional permissions that RP needs to
request, for example " drive.readonly calendar.readonly"
nonce: A random string to ensure the response is issued for this specific
request. Prevents replay attacks.

Other custom key-value parameters.

Note: parameters is supported from Chrome 132.
type: object
type: object
RFC6749ErrorJson:
properties:
error:
Expand Down Expand Up @@ -10386,6 +10527,27 @@ components:
UUID:
format: uuid4
type: string
UpdateFedcmFlowBody:
example:
csrf_token: csrf_token
nonce: nonce
token: token
properties:
csrf_token:
description: CSRFToken is the anti-CSRF token.
type: string
nonce:
description: |-
Nonce is the nonce that was used in the `navigator.credentials.get` call. If
specified, it must match the `nonce` claim in the token.
type: string
token:
description: Token contains the result of `navigator.credentials.get`.
type: string
required:
- csrf_token
- token
type: object
Usage:
properties:
GenericUsage:
Expand Down Expand Up @@ -10982,6 +11144,7 @@ components:
- $ref: '#/components/schemas/continueWithSettingsUi'
- $ref: '#/components/schemas/continueWithRecoveryUi'
- $ref: '#/components/schemas/continueWithRedirectBrowserTo'
type: object
continueWithRecoveryUi:
description: "Indicates, that the UI flow could be continued by showing a recovery\
\ ui"
Expand Down Expand Up @@ -11189,6 +11352,40 @@ components:
- topic_arn
- type
type: object
createFedcmFlowResponse:
description: Contains a list of all available FedCM providers.
example:
csrf_token: csrf_token
providers:
- domain_hint: domain_hint
login_hint: login_hint
config_url: config_url
fields:
- fields
- fields
nonce: nonce
parameters:
key: parameters
client_id: client_id
- domain_hint: domain_hint
login_hint: login_hint
config_url: config_url
fields:
- fields
- fields
nonce: nonce
parameters:
key: parameters
client_id: client_id
properties:
csrf_token:
type: string
providers:
items:
$ref: '#/components/schemas/Provider'
type: array
title: CreateFedcmFlowResponse
type: object
createIdentityBody:
description: Create Identity Body
properties:
Expand Down
2 changes: 1 addition & 1 deletion api_courier.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_events.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 092fd44

Please sign in to comment.