kinde_sdk 1.6.4 → 1.6.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/controllers/kinde_sdk/auth_controller.rb +2 -0
- data/app/helpers/auth_helper.rb +4 -4
- data/kinde_api/Gemfile +9 -0
- data/kinde_api/README.md +316 -47
- data/kinde_api/Rakefile +10 -0
- data/kinde_api/docs/APIsApi.md +569 -60
- data/kinde_api/docs/AddAPIScopeRequest.md +20 -0
- data/kinde_api/docs/AddAPIsRequest.md +4 -4
- data/kinde_api/docs/AddOrganizationUsersRequestUsersInner.md +1 -1
- data/kinde_api/docs/AddRoleScopeRequest.md +18 -0
- data/kinde_api/docs/AddRoleScopeResponse.md +20 -0
- data/kinde_api/docs/ApplicationsApi.md +465 -38
- data/kinde_api/docs/AuthorizeAppApiResponse.md +24 -0
- data/kinde_api/docs/BillingAgreementsApi.md +157 -0
- data/kinde_api/docs/BillingEntitlementsApi.md +89 -0
- data/kinde_api/docs/BillingMeterUsageApi.md +77 -0
- data/kinde_api/docs/BusinessApi.md +27 -66
- data/kinde_api/docs/CallbacksApi.md +25 -25
- data/kinde_api/docs/Category.md +20 -0
- data/kinde_api/docs/ConnectedAppsApi.md +8 -8
- data/kinde_api/docs/Connection.md +22 -0
- data/kinde_api/docs/ConnectionConnection.md +24 -0
- data/kinde_api/docs/ConnectionsApi.md +439 -0
- data/kinde_api/docs/CreateApiScopesResponse.md +22 -0
- data/kinde_api/docs/CreateApiScopesResponseScope.md +18 -0
- data/kinde_api/docs/CreateApisResponse.md +22 -0
- data/kinde_api/docs/CreateApisResponseApi.md +18 -0
- data/kinde_api/docs/CreateApplicationRequest.md +3 -3
- data/kinde_api/docs/CreateApplicationResponseApplication.md +4 -4
- data/kinde_api/docs/CreateBillingAgreementRequest.md +24 -0
- data/kinde_api/docs/CreateCategoryRequest.md +20 -0
- data/kinde_api/docs/CreateCategoryResponse.md +22 -0
- data/kinde_api/docs/CreateCategoryResponseCategory.md +18 -0
- data/kinde_api/docs/CreateConnectionRequest.md +28 -0
- data/kinde_api/docs/CreateConnectionRequestOptions.md +51 -0
- data/kinde_api/docs/CreateConnectionRequestOptionsOneOf.md +22 -0
- data/kinde_api/docs/CreateConnectionRequestOptionsOneOf1.md +34 -0
- data/kinde_api/docs/CreateConnectionRequestOptionsOneOf2.md +44 -0
- data/kinde_api/docs/CreateConnectionResponse.md +22 -0
- data/kinde_api/docs/CreateConnectionResponseConnection.md +18 -0
- data/kinde_api/docs/CreateEnvironmentVariableRequest.md +22 -0
- data/kinde_api/docs/CreateEnvironmentVariableResponse.md +22 -0
- data/kinde_api/docs/CreateEnvironmentVariableResponseEnvironmentVariable.md +18 -0
- data/kinde_api/docs/CreateIdentityResponse.md +22 -0
- data/kinde_api/docs/CreateIdentityResponseIdentity.md +18 -0
- data/kinde_api/docs/CreateMeterUsageRecordRequest.md +26 -0
- data/kinde_api/docs/CreateMeterUsageRecordResponse.md +20 -0
- data/kinde_api/docs/CreateOrganizationRequest.md +17 -7
- data/kinde_api/docs/CreateOrganizationResponse.md +4 -4
- data/kinde_api/docs/CreateOrganizationResponseOrganization.md +4 -2
- data/kinde_api/docs/CreatePropertyRequest.md +30 -0
- data/kinde_api/docs/CreatePropertyResponse.md +22 -0
- data/kinde_api/docs/CreatePropertyResponseProperty.md +18 -0
- data/kinde_api/docs/CreateRolesResponse.md +22 -0
- data/kinde_api/docs/CreateRolesResponseRole.md +18 -0
- data/kinde_api/docs/CreateUserIdentityRequest.md +24 -0
- data/kinde_api/docs/CreateUserRequest.md +3 -1
- data/kinde_api/docs/CreateUserRequestIdentitiesInner.md +3 -1
- data/kinde_api/docs/CreateUserRequestIdentitiesInnerDetails.md +7 -1
- data/kinde_api/docs/CreateUserRequestProfile.md +3 -1
- data/kinde_api/docs/CreateUserResponse.md +1 -1
- data/kinde_api/docs/CreateWebHookRequest.md +24 -0
- data/kinde_api/docs/CreateWebhookResponse.md +22 -0
- data/kinde_api/docs/CreateWebhookResponseWebhook.md +20 -0
- data/kinde_api/docs/DeleteApiResponse.md +20 -0
- data/kinde_api/docs/DeleteEnvironmentVariableResponse.md +20 -0
- data/kinde_api/docs/DeleteRoleScopeResponse.md +20 -0
- data/kinde_api/docs/DeleteWebhookResponse.md +20 -0
- data/kinde_api/docs/EnvironmentVariable.md +26 -0
- data/kinde_api/docs/EnvironmentVariablesApi.md +356 -0
- data/kinde_api/docs/EnvironmentsApi.md +281 -5
- data/kinde_api/docs/EventType.md +26 -0
- data/kinde_api/docs/FeatureFlagsApi.md +4 -4
- data/kinde_api/docs/GetApiResponse.md +22 -0
- data/kinde_api/docs/GetApiResponseApi.md +28 -0
- data/kinde_api/docs/GetApiResponseApiApplicationsInner.md +24 -0
- data/kinde_api/docs/GetApiResponseApiScopesInner.md +20 -0
- data/kinde_api/docs/GetApiScopeResponse.md +22 -0
- data/kinde_api/docs/GetApiScopesResponse.md +22 -0
- data/kinde_api/docs/GetApiScopesResponseScopesInner.md +22 -0
- data/kinde_api/docs/GetApisResponse.md +24 -0
- data/kinde_api/docs/GetApisResponseApisInner.md +26 -0
- data/kinde_api/docs/GetApisResponseApisInnerScopesInner.md +20 -0
- data/kinde_api/docs/GetApplicationResponseApplication.md +11 -5
- data/kinde_api/docs/GetBillingAgreementsResponse.md +24 -0
- data/kinde_api/docs/GetBillingAgreementsResponseAgreementsInner.md +26 -0
- data/kinde_api/docs/GetBillingAgreementsResponseAgreementsInnerEntitlementsInner.md +20 -0
- data/kinde_api/docs/GetBillingEntitlementsResponse.md +26 -0
- data/kinde_api/docs/GetBillingEntitlementsResponseEntitlementsInner.md +32 -0
- data/kinde_api/docs/GetBillingEntitlementsResponsePlansInner.md +20 -0
- data/kinde_api/docs/GetBusinessResponse.md +22 -0
- data/kinde_api/docs/GetBusinessResponseBusiness.md +38 -0
- data/kinde_api/docs/GetCategoriesResponse.md +24 -0
- data/kinde_api/docs/GetConnectionsResponse.md +24 -0
- data/kinde_api/docs/GetEnvironmentResponse.md +22 -0
- data/kinde_api/docs/GetEnvironmentResponseEnvironment.md +68 -0
- data/kinde_api/docs/GetEnvironmentResponseEnvironmentBackgroundColor.md +22 -0
- data/kinde_api/docs/GetEnvironmentResponseEnvironmentLinkColor.md +22 -0
- data/kinde_api/docs/GetEnvironmentVariableResponse.md +22 -0
- data/kinde_api/docs/GetEnvironmentVariablesResponse.md +24 -0
- data/kinde_api/docs/GetEventResponse.md +22 -0
- data/kinde_api/docs/GetEventResponseEvent.md +26 -0
- data/kinde_api/docs/GetEventTypesResponse.md +22 -0
- data/kinde_api/docs/GetIdentitiesResponse.md +24 -0
- data/kinde_api/docs/GetIndustriesResponse.md +22 -0
- data/kinde_api/docs/GetIndustriesResponseIndustriesInner.md +20 -0
- data/kinde_api/docs/GetOrganizationResponse.md +72 -0
- data/kinde_api/docs/GetOrganizationResponseBilling.md +20 -0
- data/kinde_api/docs/GetOrganizationResponseBillingAgreementsInner.md +20 -0
- data/kinde_api/docs/GetOrganizationUsersResponse.md +2 -2
- data/kinde_api/docs/GetOrganizationsResponse.md +4 -4
- data/kinde_api/docs/GetPropertiesResponse.md +24 -0
- data/kinde_api/docs/GetPropertyValuesResponse.md +24 -0
- data/kinde_api/docs/GetRoleResponse.md +22 -0
- data/kinde_api/docs/GetRoleResponseRole.md +26 -0
- data/kinde_api/docs/GetTimezonesResponse.md +22 -0
- data/kinde_api/docs/GetTimezonesResponseTimezonesInner.md +20 -0
- data/kinde_api/docs/GetUserMfaResponse.md +22 -0
- data/kinde_api/docs/GetUserMfaResponseMfa.md +30 -0
- data/kinde_api/docs/GetUserSessionsResponse.md +24 -0
- data/kinde_api/docs/GetUserSessionsResponseSessionsInner.md +40 -0
- data/kinde_api/docs/GetWebhooksResponse.md +22 -0
- data/kinde_api/docs/IdentitiesApi.md +219 -0
- data/kinde_api/docs/Identity.md +34 -0
- data/kinde_api/docs/IndustriesApi.md +14 -21
- data/kinde_api/docs/LogoutRedirectUrls.md +6 -2
- data/kinde_api/docs/MFAApi.md +77 -0
- data/kinde_api/docs/NotFoundResponse.md +18 -0
- data/kinde_api/docs/NotFoundResponseErrors.md +20 -0
- data/kinde_api/docs/OAuthApi.md +32 -97
- data/kinde_api/docs/OrganizationItemSchema.md +28 -0
- data/kinde_api/docs/OrganizationUser.md +17 -11
- data/kinde_api/docs/OrganizationsApi.md +1440 -210
- data/kinde_api/docs/Permissions.md +1 -1
- data/kinde_api/docs/PermissionsApi.md +7 -7
- data/kinde_api/docs/PropertiesApi.md +297 -0
- data/kinde_api/docs/Property.md +28 -0
- data/kinde_api/docs/PropertyCategoriesApi.md +227 -0
- data/kinde_api/docs/PropertyValue.md +26 -0
- data/kinde_api/docs/ReadEnvLogoResponse.md +22 -0
- data/kinde_api/docs/ReadEnvLogoResponseLogosInner.md +20 -0
- data/kinde_api/docs/ReadLogoResponse.md +22 -0
- data/kinde_api/docs/ReadLogoResponseLogosInner.md +22 -0
- data/kinde_api/docs/ReplaceConnectionRequest.md +24 -0
- data/kinde_api/docs/ReplaceConnectionRequestOptions.md +51 -0
- data/kinde_api/docs/ReplaceConnectionRequestOptionsOneOf.md +32 -0
- data/kinde_api/docs/ReplaceConnectionRequestOptionsOneOf1.md +40 -0
- data/kinde_api/docs/ReplaceMFARequest.md +20 -0
- data/kinde_api/docs/ReplaceOrganizationMFARequest.md +18 -0
- data/kinde_api/docs/RolePermissionsResponse.md +24 -0
- data/kinde_api/docs/RoleScopesResponse.md +22 -0
- data/kinde_api/docs/Roles.md +4 -2
- data/kinde_api/docs/RolesApi.md +338 -54
- data/kinde_api/docs/Scopes.md +24 -0
- data/kinde_api/docs/SearchApi.md +89 -0
- data/kinde_api/docs/SearchUsersResponse.md +22 -0
- data/kinde_api/docs/SearchUsersResponseResultsInner.md +46 -0
- data/kinde_api/docs/SetUserPasswordRequest.md +26 -0
- data/kinde_api/docs/SubscribersApi.md +4 -4
- data/kinde_api/docs/SuccessResponse.md +2 -2
- data/kinde_api/docs/TimezonesApi.md +14 -21
- data/kinde_api/docs/TokenIntrospect.md +5 -5
- data/kinde_api/docs/UpdateAPIApplicationsRequestApplicationsInner.md +4 -4
- data/kinde_api/docs/UpdateAPIScopeRequest.md +18 -0
- data/kinde_api/docs/UpdateApplicationRequest.md +5 -1
- data/kinde_api/docs/UpdateApplicationTokensRequest.md +26 -0
- data/kinde_api/docs/UpdateApplicationsPropertyRequest.md +18 -0
- data/kinde_api/docs/UpdateApplicationsPropertyRequestValue.md +49 -0
- data/kinde_api/docs/UpdateBusinessRequest.md +36 -0
- data/kinde_api/docs/UpdateCategoryRequest.md +18 -0
- data/kinde_api/docs/UpdateConnectionRequest.md +24 -0
- data/kinde_api/docs/UpdateEnvironmentVariableRequest.md +22 -0
- data/kinde_api/docs/UpdateEnvironmentVariableResponse.md +20 -0
- data/kinde_api/docs/UpdateIdentityRequest.md +18 -0
- data/kinde_api/docs/UpdateOrganizationPropertiesRequest.md +18 -0
- data/kinde_api/docs/UpdateOrganizationRequest.md +27 -15
- data/kinde_api/docs/UpdateOrganizationSessionsRequest.md +24 -0
- data/kinde_api/docs/UpdateOrganizationUsersRequestUsersInner.md +2 -2
- data/kinde_api/docs/UpdateOrganizationUsersResponse.md +3 -1
- data/kinde_api/docs/UpdatePropertyRequest.md +24 -0
- data/kinde_api/docs/UpdateUserRequest.md +5 -1
- data/kinde_api/docs/UpdateUserResponse.md +1 -1
- data/kinde_api/docs/UpdateWebHookRequest.md +22 -0
- data/kinde_api/docs/UpdateWebhookResponse.md +22 -0
- data/kinde_api/docs/UpdateWebhookResponseWebhook.md +18 -0
- data/kinde_api/docs/User.md +6 -2
- data/kinde_api/docs/UserProfileV2.md +17 -13
- data/kinde_api/docs/UsersApi.md +893 -99
- data/kinde_api/docs/UsersResponseUsersInner.md +6 -2
- data/kinde_api/docs/Webhook.md +28 -0
- data/kinde_api/docs/WebhooksApi.md +423 -0
- data/kinde_api/git_push.sh +57 -0
- data/kinde_api/kinde_api.gemspec +38 -0
- data/kinde_api/lib/kinde_api/api/apis_api.rb +640 -127
- data/kinde_api/lib/kinde_api/api/applications_api.rb +524 -112
- data/kinde_api/lib/kinde_api/api/billing_agreements_api.rb +166 -0
- data/kinde_api/lib/kinde_api/api/billing_entitlements_api.rb +105 -0
- data/kinde_api/lib/kinde_api/api/billing_meter_usage_api.rb +90 -0
- data/kinde_api/lib/kinde_api/api/business_api.rb +61 -126
- data/kinde_api/lib/kinde_api/api/callbacks_api.rb +152 -172
- data/kinde_api/lib/kinde_api/api/connected_apps_api.rb +57 -67
- data/kinde_api/lib/kinde_api/api/connections_api.rb +433 -0
- data/kinde_api/lib/kinde_api/api/environment_variables_api.rb +347 -0
- data/kinde_api/lib/kinde_api/api/environments_api.rb +327 -78
- data/kinde_api/lib/kinde_api/api/feature_flags_api.rb +68 -88
- data/kinde_api/lib/kinde_api/api/identities_api.rb +222 -0
- data/kinde_api/lib/kinde_api/api/industries_api.rb +29 -34
- data/kinde_api/lib/kinde_api/api/mfa_api.rb +90 -0
- data/kinde_api/lib/kinde_api/api/o_auth_api.rb +104 -129
- data/kinde_api/lib/kinde_api/api/organizations_api.rb +1689 -544
- data/kinde_api/lib/kinde_api/api/permissions_api.rb +76 -80
- data/kinde_api/lib/kinde_api/api/properties_api.rb +300 -0
- data/kinde_api/lib/kinde_api/api/property_categories_api.rb +237 -0
- data/kinde_api/lib/kinde_api/api/roles_api.rb +432 -166
- data/kinde_api/lib/kinde_api/api/search_api.rb +97 -0
- data/kinde_api/lib/kinde_api/api/subscribers_api.rb +59 -60
- data/kinde_api/lib/kinde_api/api/timezones_api.rb +29 -34
- data/kinde_api/lib/kinde_api/api/users_api.rb +900 -150
- data/kinde_api/lib/kinde_api/api/webhooks_api.rb +404 -0
- data/kinde_api/lib/kinde_api/api_client.rb +79 -68
- data/kinde_api/lib/kinde_api/api_error.rb +16 -16
- data/kinde_api/lib/kinde_api/configuration.rb +101 -24
- data/kinde_api/lib/kinde_api/models/add_api_scope_request.rb +235 -0
- data/kinde_api/lib/kinde_api/models/add_apis_request.rb +54 -49
- data/kinde_api/lib/kinde_api/models/add_organization_users_request.rb +40 -42
- data/kinde_api/lib/kinde_api/models/add_organization_users_request_users_inner.rb +53 -51
- data/kinde_api/lib/kinde_api/models/add_organization_users_response.rb +52 -50
- data/kinde_api/lib/kinde_api/models/add_role_scope_request.rb +225 -0
- data/kinde_api/lib/kinde_api/models/add_role_scope_response.rb +230 -0
- data/kinde_api/lib/kinde_api/models/api_result.rb +38 -40
- data/kinde_api/lib/kinde_api/models/applications.rb +55 -50
- data/kinde_api/lib/kinde_api/models/authorize_app_api_response.rb +250 -0
- data/kinde_api/lib/kinde_api/models/category.rb +228 -0
- data/kinde_api/lib/kinde_api/models/connected_apps_access_token.rb +44 -45
- data/kinde_api/lib/kinde_api/models/connected_apps_auth_url.rb +44 -45
- data/kinde_api/lib/kinde_api/models/connection.rb +239 -0
- data/kinde_api/lib/kinde_api/models/connection_connection.rb +246 -0
- data/kinde_api/lib/kinde_api/models/create_api_scopes_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/create_api_scopes_response_scope.rb +220 -0
- data/kinde_api/lib/kinde_api/models/create_apis_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/create_apis_response_api.rb +220 -0
- data/kinde_api/lib/kinde_api/models/create_application_request.rb +60 -52
- data/kinde_api/lib/kinde_api/models/create_application_response.rb +50 -49
- data/kinde_api/lib/kinde_api/models/create_application_response_application.rb +51 -50
- data/kinde_api/lib/kinde_api/models/create_billing_agreement_request.rb +260 -0
- data/kinde_api/lib/kinde_api/models/create_category_request.rb +274 -0
- data/kinde_api/lib/kinde_api/models/create_category_response.rb +237 -0
- data/kinde_api/lib/kinde_api/models/create_category_response_category.rb +220 -0
- data/kinde_api/lib/kinde_api/models/create_connection_request.rb +306 -0
- data/kinde_api/lib/kinde_api/models/create_connection_request_options.rb +106 -0
- data/kinde_api/lib/kinde_api/models/create_connection_request_options_one_of.rb +241 -0
- data/kinde_api/lib/kinde_api/models/create_connection_request_options_one_of1.rb +303 -0
- data/kinde_api/lib/kinde_api/models/create_connection_request_options_one_of2.rb +333 -0
- data/kinde_api/lib/kinde_api/models/create_connection_response.rb +237 -0
- data/kinde_api/lib/kinde_api/models/create_connection_response_connection.rb +220 -0
- data/kinde_api/lib/kinde_api/models/create_environment_variable_request.rb +250 -0
- data/kinde_api/lib/kinde_api/models/create_environment_variable_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/create_environment_variable_response_environment_variable.rb +220 -0
- data/kinde_api/lib/kinde_api/models/create_feature_flag_request.rb +87 -77
- data/kinde_api/lib/kinde_api/models/create_identity_response.rb +237 -0
- data/kinde_api/lib/kinde_api/models/create_identity_response_identity.rb +220 -0
- data/kinde_api/lib/kinde_api/models/create_meter_usage_record_request.rb +309 -0
- data/kinde_api/lib/kinde_api/models/create_meter_usage_record_response.rb +230 -0
- data/kinde_api/lib/kinde_api/models/create_organization_request.rb +175 -100
- data/kinde_api/lib/kinde_api/models/create_organization_response.rb +57 -50
- data/kinde_api/lib/kinde_api/models/create_organization_response_organization.rb +49 -42
- data/kinde_api/lib/kinde_api/models/create_organization_user_permission_request.rb +38 -41
- data/kinde_api/lib/kinde_api/models/create_organization_user_role_request.rb +38 -41
- data/kinde_api/lib/kinde_api/models/create_permission_request.rb +50 -49
- data/kinde_api/lib/kinde_api/models/create_property_request.rb +356 -0
- data/kinde_api/lib/kinde_api/models/create_property_response.rb +237 -0
- data/kinde_api/lib/kinde_api/models/create_property_response_property.rb +220 -0
- data/kinde_api/lib/kinde_api/models/create_role_request.rb +56 -53
- data/kinde_api/lib/kinde_api/models/create_roles_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/create_roles_response_role.rb +220 -0
- data/kinde_api/lib/kinde_api/models/create_subscriber_success_response.rb +38 -41
- data/kinde_api/lib/kinde_api/models/create_subscriber_success_response_subscriber.rb +38 -41
- data/kinde_api/lib/kinde_api/models/create_user_identity_request.rb +284 -0
- data/kinde_api/lib/kinde_api/models/create_user_request.rb +62 -50
- data/kinde_api/lib/kinde_api/models/create_user_request_identities_inner.rb +60 -52
- data/kinde_api/lib/kinde_api/models/create_user_request_identities_inner_details.rb +67 -40
- data/kinde_api/lib/kinde_api/models/create_user_request_profile.rb +54 -45
- data/kinde_api/lib/kinde_api/models/create_user_response.rb +53 -51
- data/kinde_api/lib/kinde_api/models/create_web_hook_request.rb +268 -0
- data/kinde_api/lib/kinde_api/models/create_webhook_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/create_webhook_response_webhook.rb +228 -0
- data/kinde_api/lib/kinde_api/models/delete_api_response.rb +228 -0
- data/kinde_api/lib/kinde_api/models/delete_environment_variable_response.rb +230 -0
- data/kinde_api/lib/kinde_api/models/delete_role_scope_response.rb +230 -0
- data/kinde_api/lib/kinde_api/models/delete_webhook_response.rb +230 -0
- data/kinde_api/lib/kinde_api/models/environment_variable.rb +261 -0
- data/kinde_api/lib/kinde_api/models/error.rb +44 -44
- data/kinde_api/lib/kinde_api/models/error_response.rb +40 -42
- data/kinde_api/lib/kinde_api/models/event_type.rb +255 -0
- data/kinde_api/lib/kinde_api/models/get_api_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/get_api_response_api.rb +272 -0
- data/kinde_api/lib/kinde_api/models/get_api_response_api_applications_inner.rb +285 -0
- data/kinde_api/lib/kinde_api/models/get_api_response_api_scopes_inner.rb +230 -0
- data/kinde_api/lib/kinde_api/models/get_api_scope_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/get_api_scopes_response.rb +241 -0
- data/kinde_api/lib/kinde_api/models/get_api_scopes_response_scopes_inner.rb +240 -0
- data/kinde_api/lib/kinde_api/models/get_apis_response.rb +251 -0
- data/kinde_api/lib/kinde_api/models/get_apis_response_apis_inner.rb +261 -0
- data/kinde_api/lib/kinde_api/models/get_apis_response_apis_inner_scopes_inner.rb +228 -0
- data/kinde_api/lib/kinde_api/models/get_application_response.rb +50 -49
- data/kinde_api/lib/kinde_api/models/get_application_response_application.rb +126 -57
- data/kinde_api/lib/kinde_api/models/get_applications_response.rb +57 -54
- data/kinde_api/lib/kinde_api/models/get_billing_agreements_response.rb +252 -0
- data/kinde_api/lib/kinde_api/models/get_billing_agreements_response_agreements_inner.rb +262 -0
- data/kinde_api/lib/kinde_api/models/get_billing_agreements_response_agreements_inner_entitlements_inner.rb +230 -0
- data/kinde_api/lib/kinde_api/models/get_billing_entitlements_response.rb +264 -0
- data/kinde_api/lib/kinde_api/models/get_billing_entitlements_response_entitlements_inner.rb +290 -0
- data/kinde_api/lib/kinde_api/models/get_billing_entitlements_response_plans_inner.rb +229 -0
- data/kinde_api/lib/kinde_api/models/get_business_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/get_business_response_business.rb +326 -0
- data/kinde_api/lib/kinde_api/models/get_categories_response.rb +251 -0
- data/kinde_api/lib/kinde_api/models/get_connections_response.rb +251 -0
- data/kinde_api/lib/kinde_api/models/get_environment_feature_flags_response.rb +57 -54
- data/kinde_api/lib/kinde_api/models/get_environment_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/get_environment_response_environment.rb +526 -0
- data/kinde_api/lib/kinde_api/models/get_environment_response_environment_background_color.rb +237 -0
- data/kinde_api/lib/kinde_api/models/get_environment_response_environment_link_color.rb +237 -0
- data/kinde_api/lib/kinde_api/models/get_environment_variable_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/get_environment_variables_response.rb +251 -0
- data/kinde_api/lib/kinde_api/models/get_event_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/get_event_response_event.rb +257 -0
- data/kinde_api/lib/kinde_api/models/get_event_types_response.rb +241 -0
- data/kinde_api/lib/kinde_api/models/get_identities_response.rb +251 -0
- data/kinde_api/lib/kinde_api/models/get_industries_response.rb +241 -0
- data/kinde_api/lib/kinde_api/models/get_industries_response_industries_inner.rb +230 -0
- data/kinde_api/lib/kinde_api/models/get_organization_feature_flags_response.rb +52 -50
- data/kinde_api/lib/kinde_api/models/get_organization_feature_flags_response_feature_flags_value.rb +52 -52
- data/kinde_api/lib/kinde_api/models/get_organization_response.rb +547 -0
- data/kinde_api/lib/kinde_api/models/get_organization_response_billing.rb +232 -0
- data/kinde_api/lib/kinde_api/models/get_organization_response_billing_agreements_inner.rb +230 -0
- data/kinde_api/lib/kinde_api/models/get_organization_users_response.rb +57 -54
- data/kinde_api/lib/kinde_api/models/get_organizations_response.rb +57 -54
- data/kinde_api/lib/kinde_api/models/get_organizations_user_permissions_response.rb +52 -50
- data/kinde_api/lib/kinde_api/models/get_organizations_user_roles_response.rb +57 -54
- data/kinde_api/lib/kinde_api/models/get_permissions_response.rb +57 -54
- data/kinde_api/lib/kinde_api/models/get_properties_response.rb +251 -0
- data/kinde_api/lib/kinde_api/models/get_property_values_response.rb +251 -0
- data/kinde_api/lib/kinde_api/models/get_redirect_callback_urls_response.rb +40 -42
- data/kinde_api/lib/kinde_api/models/get_role_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/get_role_response_role.rb +260 -0
- data/kinde_api/lib/kinde_api/models/get_roles_response.rb +57 -54
- data/kinde_api/lib/kinde_api/models/get_subscriber_response.rb +52 -50
- data/kinde_api/lib/kinde_api/models/get_subscribers_response.rb +57 -54
- data/kinde_api/lib/kinde_api/models/get_timezones_response.rb +241 -0
- data/kinde_api/lib/kinde_api/models/get_timezones_response_timezones_inner.rb +230 -0
- data/kinde_api/lib/kinde_api/models/get_user_mfa_response.rb +237 -0
- data/kinde_api/lib/kinde_api/models/get_user_mfa_response_mfa.rb +280 -0
- data/kinde_api/lib/kinde_api/models/get_user_sessions_response.rb +248 -0
- data/kinde_api/lib/kinde_api/models/get_user_sessions_response_sessions_inner.rb +331 -0
- data/kinde_api/lib/kinde_api/models/get_webhooks_response.rb +241 -0
- data/kinde_api/lib/kinde_api/models/identity.rb +300 -0
- data/kinde_api/lib/kinde_api/models/logout_redirect_urls.rb +60 -42
- data/kinde_api/lib/kinde_api/models/not_found_response.rb +219 -0
- data/kinde_api/lib/kinde_api/models/not_found_response_errors.rb +228 -0
- data/kinde_api/lib/kinde_api/models/organization_item_schema.rb +272 -0
- data/kinde_api/lib/kinde_api/models/organization_user.rb +122 -62
- data/kinde_api/lib/kinde_api/models/organization_user_permission.rb +73 -59
- data/kinde_api/lib/kinde_api/models/organization_user_permission_roles_inner.rb +47 -46
- data/kinde_api/lib/kinde_api/models/organization_user_role.rb +55 -50
- data/kinde_api/lib/kinde_api/models/organization_user_role_permissions.rb +55 -50
- data/kinde_api/lib/kinde_api/models/organization_user_role_permissions_permissions.rb +38 -41
- data/kinde_api/lib/kinde_api/models/permissions.rb +57 -54
- data/kinde_api/lib/kinde_api/models/property.rb +264 -0
- data/kinde_api/lib/kinde_api/models/property_value.rb +257 -0
- data/kinde_api/lib/kinde_api/models/read_env_logo_response.rb +242 -0
- data/kinde_api/lib/kinde_api/models/read_env_logo_response_logos_inner.rb +230 -0
- data/kinde_api/lib/kinde_api/models/read_logo_response.rb +242 -0
- data/kinde_api/lib/kinde_api/models/read_logo_response_logos_inner.rb +240 -0
- data/kinde_api/lib/kinde_api/models/redirect_callback_urls.rb +40 -42
- data/kinde_api/lib/kinde_api/models/replace_connection_request.rb +251 -0
- data/kinde_api/lib/kinde_api/models/replace_connection_request_options.rb +106 -0
- data/kinde_api/lib/kinde_api/models/replace_connection_request_options_one_of.rb +293 -0
- data/kinde_api/lib/kinde_api/models/replace_connection_request_options_one_of1.rb +313 -0
- data/kinde_api/lib/kinde_api/models/replace_logout_redirect_urls_request.rb +40 -42
- data/kinde_api/lib/kinde_api/models/replace_mfa_request.rb +276 -0
- data/kinde_api/lib/kinde_api/models/replace_organization_mfa_request.rb +249 -0
- data/kinde_api/lib/kinde_api/models/replace_redirect_callback_urls_request.rb +40 -42
- data/kinde_api/lib/kinde_api/models/role.rb +63 -53
- data/kinde_api/lib/kinde_api/models/role_permissions_response.rb +251 -0
- data/kinde_api/lib/kinde_api/models/role_scopes_response.rb +241 -0
- data/kinde_api/lib/kinde_api/models/roles.rb +68 -53
- data/kinde_api/lib/kinde_api/models/scopes.rb +250 -0
- data/kinde_api/lib/kinde_api/models/search_users_response.rb +241 -0
- data/kinde_api/lib/kinde_api/models/search_users_response_results_inner.rb +374 -0
- data/kinde_api/lib/kinde_api/models/set_user_password_request.rb +311 -0
- data/kinde_api/lib/kinde_api/models/subscriber.rb +63 -54
- data/kinde_api/lib/kinde_api/models/subscribers_subscriber.rb +71 -58
- data/kinde_api/lib/kinde_api/models/success_response.rb +47 -46
- data/kinde_api/lib/kinde_api/models/token_error_response.rb +44 -45
- data/kinde_api/lib/kinde_api/models/token_introspect.rb +63 -58
- data/kinde_api/lib/kinde_api/models/update_api_applications_request.rb +42 -44
- data/kinde_api/lib/kinde_api/models/update_api_applications_request_applications_inner.rb +48 -49
- data/kinde_api/lib/kinde_api/models/update_api_scope_request.rb +220 -0
- data/kinde_api/lib/kinde_api/models/update_application_request.rb +78 -54
- data/kinde_api/lib/kinde_api/models/update_application_tokens_request.rb +260 -0
- data/kinde_api/lib/kinde_api/models/update_applications_property_request.rb +224 -0
- data/kinde_api/lib/kinde_api/models/update_applications_property_request_value.rb +106 -0
- data/kinde_api/lib/kinde_api/models/update_business_request.rb +320 -0
- data/kinde_api/lib/kinde_api/models/update_category_request.rb +220 -0
- data/kinde_api/lib/kinde_api/models/update_connection_request.rb +251 -0
- data/kinde_api/lib/kinde_api/models/update_environement_feature_flag_override_request.rb +40 -43
- data/kinde_api/lib/kinde_api/models/update_environment_variable_request.rb +240 -0
- data/kinde_api/lib/kinde_api/models/update_environment_variable_response.rb +230 -0
- data/kinde_api/lib/kinde_api/models/update_identity_request.rb +220 -0
- data/kinde_api/lib/kinde_api/models/update_organization_properties_request.rb +225 -0
- data/kinde_api/lib/kinde_api/models/update_organization_request.rb +209 -91
- data/kinde_api/lib/kinde_api/models/update_organization_sessions_request.rb +284 -0
- data/kinde_api/lib/kinde_api/models/update_organization_users_request.rb +40 -42
- data/kinde_api/lib/kinde_api/models/update_organization_users_request_users_inner.rb +59 -55
- data/kinde_api/lib/kinde_api/models/update_organization_users_response.rb +76 -57
- data/kinde_api/lib/kinde_api/models/update_property_request.rb +265 -0
- data/kinde_api/lib/kinde_api/models/update_role_permissions_request.rb +40 -42
- data/kinde_api/lib/kinde_api/models/update_role_permissions_request_permissions_inner.rb +44 -45
- data/kinde_api/lib/kinde_api/models/update_role_permissions_response.rb +66 -56
- data/kinde_api/lib/kinde_api/models/update_roles_request.rb +61 -56
- data/kinde_api/lib/kinde_api/models/update_user_request.rb +75 -52
- data/kinde_api/lib/kinde_api/models/update_user_response.rb +75 -67
- data/kinde_api/lib/kinde_api/models/update_web_hook_request.rb +243 -0
- data/kinde_api/lib/kinde_api/models/update_webhook_response.rb +237 -0
- data/kinde_api/lib/kinde_api/models/update_webhook_response_webhook.rb +219 -0
- data/kinde_api/lib/kinde_api/models/user.rb +138 -97
- data/kinde_api/lib/kinde_api/models/user_identities_inner.rb +47 -46
- data/kinde_api/lib/kinde_api/models/user_identity.rb +44 -45
- data/kinde_api/lib/kinde_api/models/user_identity_result.rb +38 -41
- data/kinde_api/lib/kinde_api/models/user_profile_v2.rb +113 -79
- data/kinde_api/lib/kinde_api/models/users_response.rb +57 -54
- data/kinde_api/lib/kinde_api/models/users_response_users_inner.rb +138 -98
- data/kinde_api/lib/kinde_api/models/webhook.rb +267 -0
- data/kinde_api/lib/kinde_api/version.rb +12 -12
- data/kinde_api/lib/kinde_api.rb +160 -36
- data/kinde_api/spec/api/billing_agreements_api_spec.rb +62 -0
- data/kinde_api/spec/api/billing_entitlements_api_spec.rb +52 -0
- data/kinde_api/spec/api/billing_meter_usage_api_spec.rb +47 -0
- data/kinde_api/spec/api/connections_api_spec.rb +112 -0
- data/kinde_api/spec/api/environment_variables_api_spec.rb +95 -0
- data/kinde_api/spec/api/identities_api_spec.rb +72 -0
- data/kinde_api/spec/api/mfa_api_spec.rb +47 -0
- data/kinde_api/spec/api/properties_api_spec.rb +87 -0
- data/kinde_api/spec/api/property_categories_api_spec.rb +75 -0
- data/kinde_api/spec/api/search_api_spec.rb +52 -0
- data/kinde_api/spec/api/webhooks_api_spec.rb +106 -0
- data/kinde_api/spec/api_client_spec.rb +27 -21
- data/kinde_api/spec/configuration_spec.rb +14 -14
- data/kinde_api/spec/models/add_api_scope_request_spec.rb +40 -0
- data/kinde_api/spec/models/add_role_scope_request_spec.rb +34 -0
- data/kinde_api/spec/models/add_role_scope_response_spec.rb +40 -0
- data/kinde_api/spec/models/authorize_app_api_response_spec.rb +52 -0
- data/kinde_api/spec/models/category_spec.rb +40 -0
- data/kinde_api/spec/models/connection_connection_spec.rb +52 -0
- data/kinde_api/spec/models/connection_spec.rb +46 -0
- data/kinde_api/spec/models/create_api_scopes_response_scope_spec.rb +34 -0
- data/kinde_api/spec/models/create_api_scopes_response_spec.rb +46 -0
- data/kinde_api/spec/models/create_apis_response_api_spec.rb +34 -0
- data/kinde_api/spec/models/create_apis_response_spec.rb +46 -0
- data/kinde_api/spec/models/create_billing_agreement_request_spec.rb +52 -0
- data/kinde_api/spec/models/create_category_request_spec.rb +44 -0
- data/kinde_api/spec/models/create_category_response_category_spec.rb +34 -0
- data/kinde_api/spec/models/create_category_response_spec.rb +46 -0
- data/kinde_api/spec/models/create_connection_request_options_one_of1_spec.rb +82 -0
- data/kinde_api/spec/models/create_connection_request_options_one_of2_spec.rb +100 -0
- data/kinde_api/spec/models/create_connection_request_options_one_of_spec.rb +46 -0
- data/kinde_api/spec/models/create_connection_request_options_spec.rb +31 -0
- data/kinde_api/spec/models/create_connection_request_spec.rb +68 -0
- data/kinde_api/spec/models/create_connection_response_connection_spec.rb +34 -0
- data/kinde_api/spec/models/create_connection_response_spec.rb +46 -0
- data/kinde_api/spec/models/create_environment_variable_request_spec.rb +46 -0
- data/kinde_api/spec/models/create_environment_variable_response_environment_variable_spec.rb +34 -0
- data/kinde_api/spec/models/create_environment_variable_response_spec.rb +46 -0
- data/kinde_api/spec/models/create_identity_response_identity_spec.rb +34 -0
- data/kinde_api/spec/models/create_identity_response_spec.rb +46 -0
- data/kinde_api/spec/models/create_meter_usage_record_request_spec.rb +62 -0
- data/kinde_api/spec/models/create_meter_usage_record_response_spec.rb +40 -0
- data/kinde_api/spec/models/create_property_request_spec.rb +78 -0
- data/kinde_api/spec/models/create_property_response_property_spec.rb +34 -0
- data/kinde_api/spec/models/create_property_response_spec.rb +46 -0
- data/kinde_api/spec/models/create_roles_response_role_spec.rb +34 -0
- data/kinde_api/spec/models/create_roles_response_spec.rb +46 -0
- data/kinde_api/spec/models/create_user_identity_request_spec.rb +56 -0
- data/kinde_api/spec/models/create_web_hook_request_spec.rb +52 -0
- data/kinde_api/spec/models/create_webhook_response_spec.rb +46 -0
- data/kinde_api/spec/models/create_webhook_response_webhook_spec.rb +40 -0
- data/kinde_api/spec/models/delete_api_response_spec.rb +40 -0
- data/kinde_api/spec/models/delete_environment_variable_response_spec.rb +40 -0
- data/kinde_api/spec/models/delete_role_scope_response_spec.rb +40 -0
- data/kinde_api/spec/models/delete_webhook_response_spec.rb +40 -0
- data/kinde_api/spec/models/environment_variable_spec.rb +58 -0
- data/kinde_api/spec/models/event_type_spec.rb +58 -0
- data/kinde_api/spec/models/get_api_response_api_applications_inner_spec.rb +56 -0
- data/kinde_api/spec/models/get_api_response_api_scopes_inner_spec.rb +40 -0
- data/kinde_api/spec/models/get_api_response_api_spec.rb +64 -0
- data/kinde_api/spec/models/get_api_response_spec.rb +46 -0
- data/kinde_api/spec/models/get_api_scope_response_spec.rb +46 -0
- data/kinde_api/spec/models/get_api_scopes_response_scopes_inner_spec.rb +46 -0
- data/kinde_api/spec/models/get_api_scopes_response_spec.rb +46 -0
- data/kinde_api/spec/models/get_apis_response_apis_inner_scopes_inner_spec.rb +40 -0
- data/kinde_api/spec/models/get_apis_response_apis_inner_spec.rb +58 -0
- data/kinde_api/spec/models/get_apis_response_spec.rb +52 -0
- data/kinde_api/spec/models/get_billing_agreements_response_agreements_inner_entitlements_inner_spec.rb +40 -0
- data/kinde_api/spec/models/get_billing_agreements_response_agreements_inner_spec.rb +58 -0
- data/kinde_api/spec/models/get_billing_agreements_response_spec.rb +52 -0
- data/kinde_api/spec/models/get_billing_entitlements_response_entitlements_inner_spec.rb +76 -0
- data/kinde_api/spec/models/get_billing_entitlements_response_plans_inner_spec.rb +40 -0
- data/kinde_api/spec/models/get_billing_entitlements_response_spec.rb +58 -0
- data/kinde_api/spec/models/get_business_response_business_spec.rb +94 -0
- data/kinde_api/spec/models/get_business_response_spec.rb +46 -0
- data/kinde_api/spec/models/get_categories_response_spec.rb +52 -0
- data/kinde_api/spec/models/get_connections_response_spec.rb +52 -0
- data/kinde_api/spec/models/get_environment_response_environment_background_color_spec.rb +46 -0
- data/kinde_api/spec/models/get_environment_response_environment_link_color_spec.rb +46 -0
- data/kinde_api/spec/models/get_environment_response_environment_spec.rb +192 -0
- data/kinde_api/spec/models/get_environment_response_spec.rb +46 -0
- data/kinde_api/spec/models/get_environment_variable_response_spec.rb +46 -0
- data/kinde_api/spec/models/get_environment_variables_response_spec.rb +52 -0
- data/kinde_api/spec/models/get_event_response_event_spec.rb +58 -0
- data/kinde_api/spec/models/get_event_response_spec.rb +46 -0
- data/kinde_api/spec/models/get_event_types_response_spec.rb +46 -0
- data/kinde_api/spec/models/get_identities_response_spec.rb +52 -0
- data/kinde_api/spec/models/get_industries_response_industries_inner_spec.rb +40 -0
- data/kinde_api/spec/models/get_industries_response_spec.rb +46 -0
- data/kinde_api/spec/models/get_organization_response_billing_agreements_inner_spec.rb +40 -0
- data/kinde_api/spec/models/get_organization_response_billing_spec.rb +40 -0
- data/kinde_api/spec/models/get_organization_response_spec.rb +204 -0
- data/kinde_api/spec/models/get_properties_response_spec.rb +52 -0
- data/kinde_api/spec/models/get_property_values_response_spec.rb +52 -0
- data/kinde_api/spec/models/get_role_response_role_spec.rb +58 -0
- data/kinde_api/spec/models/get_role_response_spec.rb +46 -0
- data/kinde_api/spec/models/get_timezones_response_spec.rb +46 -0
- data/kinde_api/spec/models/get_timezones_response_timezones_inner_spec.rb +40 -0
- data/kinde_api/spec/models/get_user_mfa_response_mfa_spec.rb +70 -0
- data/kinde_api/spec/models/get_user_mfa_response_spec.rb +46 -0
- data/kinde_api/spec/models/get_user_sessions_response_sessions_inner_spec.rb +100 -0
- data/kinde_api/spec/models/get_user_sessions_response_spec.rb +52 -0
- data/kinde_api/spec/models/get_webhooks_response_spec.rb +46 -0
- data/kinde_api/spec/models/identity_spec.rb +82 -0
- data/kinde_api/spec/models/not_found_response_errors_spec.rb +40 -0
- data/kinde_api/spec/models/not_found_response_spec.rb +34 -0
- data/kinde_api/spec/models/organization_item_schema_spec.rb +64 -0
- data/kinde_api/spec/models/property_spec.rb +64 -0
- data/kinde_api/spec/models/property_value_spec.rb +58 -0
- data/kinde_api/spec/models/read_env_logo_response_logos_inner_spec.rb +40 -0
- data/kinde_api/spec/models/read_env_logo_response_spec.rb +46 -0
- data/kinde_api/spec/models/read_logo_response_logos_inner_spec.rb +46 -0
- data/kinde_api/spec/models/read_logo_response_spec.rb +46 -0
- data/kinde_api/spec/models/replace_connection_request_options_one_of1_spec.rb +88 -0
- data/kinde_api/spec/models/replace_connection_request_options_one_of_spec.rb +76 -0
- data/kinde_api/spec/models/replace_connection_request_options_spec.rb +31 -0
- data/kinde_api/spec/models/replace_connection_request_spec.rb +52 -0
- data/kinde_api/spec/models/replace_mfa_request_spec.rb +48 -0
- data/kinde_api/spec/models/replace_organization_mfa_request_spec.rb +38 -0
- data/kinde_api/spec/models/role_permissions_response_spec.rb +52 -0
- data/kinde_api/spec/models/role_scopes_response_spec.rb +46 -0
- data/kinde_api/spec/models/scopes_spec.rb +52 -0
- data/kinde_api/spec/models/search_users_response_results_inner_spec.rb +118 -0
- data/kinde_api/spec/models/search_users_response_spec.rb +46 -0
- data/kinde_api/spec/models/set_user_password_request_spec.rb +66 -0
- data/kinde_api/spec/models/update_api_scope_request_spec.rb +34 -0
- data/kinde_api/spec/models/update_application_tokens_request_spec.rb +58 -0
- data/kinde_api/spec/models/update_applications_property_request_spec.rb +34 -0
- data/kinde_api/spec/models/update_applications_property_request_value_spec.rb +31 -0
- data/kinde_api/spec/models/update_business_request_spec.rb +88 -0
- data/kinde_api/spec/models/update_category_request_spec.rb +34 -0
- data/kinde_api/spec/models/update_connection_request_spec.rb +52 -0
- data/kinde_api/spec/models/update_environment_variable_request_spec.rb +46 -0
- data/kinde_api/spec/models/update_environment_variable_response_spec.rb +40 -0
- data/kinde_api/spec/models/update_identity_request_spec.rb +34 -0
- data/kinde_api/spec/models/update_organization_properties_request_spec.rb +34 -0
- data/kinde_api/spec/models/update_organization_sessions_request_spec.rb +56 -0
- data/kinde_api/spec/models/update_property_request_spec.rb +52 -0
- data/kinde_api/spec/models/update_web_hook_request_spec.rb +46 -0
- data/kinde_api/spec/models/update_webhook_response_spec.rb +46 -0
- data/kinde_api/spec/models/update_webhook_response_webhook_spec.rb +34 -0
- data/kinde_api/spec/models/webhook_spec.rb +64 -0
- data/kinde_api/spec/spec_helper.rb +63 -62
- data/lib/kinde_sdk/client.rb +80 -0
- data/lib/kinde_sdk/version.rb +1 -1
- data/lib/kinde_sdk.rb +7 -4
- data/spec/examples.txt +27 -22
- data/spec/kinde_sdk_spec.rb +94 -0
- metadata +566 -2
@@ -1,23 +1,29 @@
|
|
1
1
|
# KindeApi::ApplicationsApi
|
2
2
|
|
3
|
-
All URIs are relative to *https://
|
3
|
+
All URIs are relative to *https://your_kinde_subdomain.kinde.com*
|
4
4
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
7
|
-
| [**create_application**](ApplicationsApi.md#create_application) | **POST** /api/v1/applications | Create
|
8
|
-
| [**delete_application**](ApplicationsApi.md#delete_application) | **DELETE** /api/v1/applications/{application_id} | Delete
|
9
|
-
| [**
|
10
|
-
| [**
|
7
|
+
| [**create_application**](ApplicationsApi.md#create_application) | **POST** /api/v1/applications | Create application |
|
8
|
+
| [**delete_application**](ApplicationsApi.md#delete_application) | **DELETE** /api/v1/applications/{application_id} | Delete application |
|
9
|
+
| [**enable_connection**](ApplicationsApi.md#enable_connection) | **POST** /api/v1/applications/{application_id}/connections/{connection_id} | Enable connection |
|
10
|
+
| [**get_application**](ApplicationsApi.md#get_application) | **GET** /api/v1/applications/{application_id} | Get application |
|
11
|
+
| [**get_application_connections**](ApplicationsApi.md#get_application_connections) | **GET** /api/v1/applications/{application_id}/connections | Get connections |
|
12
|
+
| [**get_application_property_values**](ApplicationsApi.md#get_application_property_values) | **GET** /api/v1/applications/{application_id}/properties | Get property values |
|
13
|
+
| [**get_applications**](ApplicationsApi.md#get_applications) | **GET** /api/v1/applications | Get applications |
|
14
|
+
| [**remove_connection**](ApplicationsApi.md#remove_connection) | **DELETE** /api/v1/applications/{application_id}/connections/{connection_id} | Remove connection |
|
11
15
|
| [**update_application**](ApplicationsApi.md#update_application) | **PATCH** /api/v1/applications/{application_id} | Update Application |
|
16
|
+
| [**update_application_tokens**](ApplicationsApi.md#update_application_tokens) | **PATCH** /api/v1/applications/{application_id}/tokens | Update application tokens |
|
17
|
+
| [**update_applications_property**](ApplicationsApi.md#update_applications_property) | **PUT** /api/v1/applications/{application_id}/properties/{property_key} | Update property |
|
12
18
|
|
13
19
|
|
14
20
|
## create_application
|
15
21
|
|
16
|
-
> <CreateApplicationResponse> create_application(
|
22
|
+
> <CreateApplicationResponse> create_application(create_application_request)
|
17
23
|
|
18
|
-
Create
|
24
|
+
Create application
|
19
25
|
|
20
|
-
Create
|
26
|
+
Create a new client. <div> <code>create:applications</code> </div>
|
21
27
|
|
22
28
|
### Examples
|
23
29
|
|
@@ -31,13 +37,11 @@ KindeApi.configure do |config|
|
|
31
37
|
end
|
32
38
|
|
33
39
|
api_instance = KindeApi::ApplicationsApi.new
|
34
|
-
|
35
|
-
create_application_request: KindeApi::CreateApplicationRequest.new # CreateApplicationRequest | Application details.
|
36
|
-
}
|
40
|
+
create_application_request = KindeApi::CreateApplicationRequest.new({name: 'React Native app', type: 'reg'}) # CreateApplicationRequest |
|
37
41
|
|
38
42
|
begin
|
39
|
-
# Create
|
40
|
-
result = api_instance.create_application(
|
43
|
+
# Create application
|
44
|
+
result = api_instance.create_application(create_application_request)
|
41
45
|
p result
|
42
46
|
rescue KindeApi::ApiError => e
|
43
47
|
puts "Error when calling ApplicationsApi->create_application: #{e}"
|
@@ -48,12 +52,12 @@ end
|
|
48
52
|
|
49
53
|
This returns an Array which contains the response data, status code and headers.
|
50
54
|
|
51
|
-
> <Array(<CreateApplicationResponse>, Integer, Hash)> create_application_with_http_info(
|
55
|
+
> <Array(<CreateApplicationResponse>, Integer, Hash)> create_application_with_http_info(create_application_request)
|
52
56
|
|
53
57
|
```ruby
|
54
58
|
begin
|
55
|
-
# Create
|
56
|
-
data, status_code, headers = api_instance.create_application_with_http_info(
|
59
|
+
# Create application
|
60
|
+
data, status_code, headers = api_instance.create_application_with_http_info(create_application_request)
|
57
61
|
p status_code # => 2xx
|
58
62
|
p headers # => { ... }
|
59
63
|
p data # => <CreateApplicationResponse>
|
@@ -66,7 +70,7 @@ end
|
|
66
70
|
|
67
71
|
| Name | Type | Description | Notes |
|
68
72
|
| ---- | ---- | ----------- | ----- |
|
69
|
-
| **create_application_request** | [**CreateApplicationRequest**](CreateApplicationRequest.md) |
|
73
|
+
| **create_application_request** | [**CreateApplicationRequest**](CreateApplicationRequest.md) | | |
|
70
74
|
|
71
75
|
### Return type
|
72
76
|
|
@@ -79,16 +83,16 @@ end
|
|
79
83
|
### HTTP request headers
|
80
84
|
|
81
85
|
- **Content-Type**: application/json
|
82
|
-
- **Accept**: application/json
|
86
|
+
- **Accept**: application/json
|
83
87
|
|
84
88
|
|
85
89
|
## delete_application
|
86
90
|
|
87
91
|
> <SuccessResponse> delete_application(application_id)
|
88
92
|
|
89
|
-
Delete
|
93
|
+
Delete application
|
90
94
|
|
91
|
-
Delete application.
|
95
|
+
Delete a client / application. <div> <code>delete:applications</code> </div>
|
92
96
|
|
93
97
|
### Examples
|
94
98
|
|
@@ -102,10 +106,10 @@ KindeApi.configure do |config|
|
|
102
106
|
end
|
103
107
|
|
104
108
|
api_instance = KindeApi::ApplicationsApi.new
|
105
|
-
application_id = '
|
109
|
+
application_id = '20bbffaa4c5e492a962273039d4ae18b' # String | The identifier for the application.
|
106
110
|
|
107
111
|
begin
|
108
|
-
# Delete
|
112
|
+
# Delete application
|
109
113
|
result = api_instance.delete_application(application_id)
|
110
114
|
p result
|
111
115
|
rescue KindeApi::ApiError => e
|
@@ -121,7 +125,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
121
125
|
|
122
126
|
```ruby
|
123
127
|
begin
|
124
|
-
# Delete
|
128
|
+
# Delete application
|
125
129
|
data, status_code, headers = api_instance.delete_application_with_http_info(application_id)
|
126
130
|
p status_code # => 2xx
|
127
131
|
p headers # => { ... }
|
@@ -148,16 +152,86 @@ end
|
|
148
152
|
### HTTP request headers
|
149
153
|
|
150
154
|
- **Content-Type**: Not defined
|
151
|
-
- **Accept**: application/json
|
155
|
+
- **Accept**: application/json
|
156
|
+
|
157
|
+
|
158
|
+
## enable_connection
|
159
|
+
|
160
|
+
> enable_connection(application_id, connection_id)
|
161
|
+
|
162
|
+
Enable connection
|
163
|
+
|
164
|
+
Enable an auth connection for an application. <div> <code>create:application_connections</code> </div>
|
165
|
+
|
166
|
+
### Examples
|
167
|
+
|
168
|
+
```ruby
|
169
|
+
require 'time'
|
170
|
+
require 'kinde_api'
|
171
|
+
# setup authorization
|
172
|
+
KindeApi.configure do |config|
|
173
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
174
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
175
|
+
end
|
176
|
+
|
177
|
+
api_instance = KindeApi::ApplicationsApi.new
|
178
|
+
application_id = '20bbffaa4c5e492a962273039d4ae18b' # String | The identifier/client ID for the application.
|
179
|
+
connection_id = 'conn_0192c16abb53b44277e597d31877ba5b' # String | The identifier for the connection.
|
180
|
+
|
181
|
+
begin
|
182
|
+
# Enable connection
|
183
|
+
api_instance.enable_connection(application_id, connection_id)
|
184
|
+
rescue KindeApi::ApiError => e
|
185
|
+
puts "Error when calling ApplicationsApi->enable_connection: #{e}"
|
186
|
+
end
|
187
|
+
```
|
188
|
+
|
189
|
+
#### Using the enable_connection_with_http_info variant
|
190
|
+
|
191
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
192
|
+
|
193
|
+
> <Array(nil, Integer, Hash)> enable_connection_with_http_info(application_id, connection_id)
|
194
|
+
|
195
|
+
```ruby
|
196
|
+
begin
|
197
|
+
# Enable connection
|
198
|
+
data, status_code, headers = api_instance.enable_connection_with_http_info(application_id, connection_id)
|
199
|
+
p status_code # => 2xx
|
200
|
+
p headers # => { ... }
|
201
|
+
p data # => nil
|
202
|
+
rescue KindeApi::ApiError => e
|
203
|
+
puts "Error when calling ApplicationsApi->enable_connection_with_http_info: #{e}"
|
204
|
+
end
|
205
|
+
```
|
206
|
+
|
207
|
+
### Parameters
|
208
|
+
|
209
|
+
| Name | Type | Description | Notes |
|
210
|
+
| ---- | ---- | ----------- | ----- |
|
211
|
+
| **application_id** | **String** | The identifier/client ID for the application. | |
|
212
|
+
| **connection_id** | **String** | The identifier for the connection. | |
|
213
|
+
|
214
|
+
### Return type
|
215
|
+
|
216
|
+
nil (empty response body)
|
217
|
+
|
218
|
+
### Authorization
|
219
|
+
|
220
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
221
|
+
|
222
|
+
### HTTP request headers
|
223
|
+
|
224
|
+
- **Content-Type**: Not defined
|
225
|
+
- **Accept**: application/json
|
152
226
|
|
153
227
|
|
154
228
|
## get_application
|
155
229
|
|
156
230
|
> <GetApplicationResponse> get_application(application_id)
|
157
231
|
|
158
|
-
Get
|
232
|
+
Get application
|
159
233
|
|
160
|
-
Gets an application given the application's
|
234
|
+
Gets an application given the application's ID. <div> <code>read:applications</code> </div>
|
161
235
|
|
162
236
|
### Examples
|
163
237
|
|
@@ -171,10 +245,10 @@ KindeApi.configure do |config|
|
|
171
245
|
end
|
172
246
|
|
173
247
|
api_instance = KindeApi::ApplicationsApi.new
|
174
|
-
application_id = '
|
248
|
+
application_id = '20bbffaa4c5e492a962273039d4ae18b' # String | The identifier for the application.
|
175
249
|
|
176
250
|
begin
|
177
|
-
# Get
|
251
|
+
# Get application
|
178
252
|
result = api_instance.get_application(application_id)
|
179
253
|
p result
|
180
254
|
rescue KindeApi::ApiError => e
|
@@ -190,7 +264,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
190
264
|
|
191
265
|
```ruby
|
192
266
|
begin
|
193
|
-
# Get
|
267
|
+
# Get application
|
194
268
|
data, status_code, headers = api_instance.get_application_with_http_info(application_id)
|
195
269
|
p status_code # => 2xx
|
196
270
|
p headers # => { ... }
|
@@ -217,16 +291,154 @@ end
|
|
217
291
|
### HTTP request headers
|
218
292
|
|
219
293
|
- **Content-Type**: Not defined
|
220
|
-
- **Accept**: application/json
|
294
|
+
- **Accept**: application/json
|
295
|
+
|
296
|
+
|
297
|
+
## get_application_connections
|
298
|
+
|
299
|
+
> <GetConnectionsResponse> get_application_connections(application_id)
|
300
|
+
|
301
|
+
Get connections
|
302
|
+
|
303
|
+
Gets all connections for an application. <div> <code>read:application_connections</code> </div>
|
304
|
+
|
305
|
+
### Examples
|
306
|
+
|
307
|
+
```ruby
|
308
|
+
require 'time'
|
309
|
+
require 'kinde_api'
|
310
|
+
# setup authorization
|
311
|
+
KindeApi.configure do |config|
|
312
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
313
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
314
|
+
end
|
315
|
+
|
316
|
+
api_instance = KindeApi::ApplicationsApi.new
|
317
|
+
application_id = '20bbffaa4c5e492a962273039d4ae18b' # String | The identifier/client ID for the application.
|
318
|
+
|
319
|
+
begin
|
320
|
+
# Get connections
|
321
|
+
result = api_instance.get_application_connections(application_id)
|
322
|
+
p result
|
323
|
+
rescue KindeApi::ApiError => e
|
324
|
+
puts "Error when calling ApplicationsApi->get_application_connections: #{e}"
|
325
|
+
end
|
326
|
+
```
|
327
|
+
|
328
|
+
#### Using the get_application_connections_with_http_info variant
|
329
|
+
|
330
|
+
This returns an Array which contains the response data, status code and headers.
|
331
|
+
|
332
|
+
> <Array(<GetConnectionsResponse>, Integer, Hash)> get_application_connections_with_http_info(application_id)
|
333
|
+
|
334
|
+
```ruby
|
335
|
+
begin
|
336
|
+
# Get connections
|
337
|
+
data, status_code, headers = api_instance.get_application_connections_with_http_info(application_id)
|
338
|
+
p status_code # => 2xx
|
339
|
+
p headers # => { ... }
|
340
|
+
p data # => <GetConnectionsResponse>
|
341
|
+
rescue KindeApi::ApiError => e
|
342
|
+
puts "Error when calling ApplicationsApi->get_application_connections_with_http_info: #{e}"
|
343
|
+
end
|
344
|
+
```
|
345
|
+
|
346
|
+
### Parameters
|
347
|
+
|
348
|
+
| Name | Type | Description | Notes |
|
349
|
+
| ---- | ---- | ----------- | ----- |
|
350
|
+
| **application_id** | **String** | The identifier/client ID for the application. | |
|
351
|
+
|
352
|
+
### Return type
|
353
|
+
|
354
|
+
[**GetConnectionsResponse**](GetConnectionsResponse.md)
|
355
|
+
|
356
|
+
### Authorization
|
357
|
+
|
358
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
359
|
+
|
360
|
+
### HTTP request headers
|
361
|
+
|
362
|
+
- **Content-Type**: Not defined
|
363
|
+
- **Accept**: application/json
|
364
|
+
|
365
|
+
|
366
|
+
## get_application_property_values
|
367
|
+
|
368
|
+
> <GetPropertyValuesResponse> get_application_property_values(application_id)
|
369
|
+
|
370
|
+
Get property values
|
371
|
+
|
372
|
+
Gets properties for an application by client ID. <div> <code>read:application_properties</code> </div>
|
373
|
+
|
374
|
+
### Examples
|
375
|
+
|
376
|
+
```ruby
|
377
|
+
require 'time'
|
378
|
+
require 'kinde_api'
|
379
|
+
# setup authorization
|
380
|
+
KindeApi.configure do |config|
|
381
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
382
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
383
|
+
end
|
384
|
+
|
385
|
+
api_instance = KindeApi::ApplicationsApi.new
|
386
|
+
application_id = '3b0b5c6c8fcc464fab397f4969b5f482' # String | The application's ID / client ID.
|
387
|
+
|
388
|
+
begin
|
389
|
+
# Get property values
|
390
|
+
result = api_instance.get_application_property_values(application_id)
|
391
|
+
p result
|
392
|
+
rescue KindeApi::ApiError => e
|
393
|
+
puts "Error when calling ApplicationsApi->get_application_property_values: #{e}"
|
394
|
+
end
|
395
|
+
```
|
396
|
+
|
397
|
+
#### Using the get_application_property_values_with_http_info variant
|
398
|
+
|
399
|
+
This returns an Array which contains the response data, status code and headers.
|
400
|
+
|
401
|
+
> <Array(<GetPropertyValuesResponse>, Integer, Hash)> get_application_property_values_with_http_info(application_id)
|
402
|
+
|
403
|
+
```ruby
|
404
|
+
begin
|
405
|
+
# Get property values
|
406
|
+
data, status_code, headers = api_instance.get_application_property_values_with_http_info(application_id)
|
407
|
+
p status_code # => 2xx
|
408
|
+
p headers # => { ... }
|
409
|
+
p data # => <GetPropertyValuesResponse>
|
410
|
+
rescue KindeApi::ApiError => e
|
411
|
+
puts "Error when calling ApplicationsApi->get_application_property_values_with_http_info: #{e}"
|
412
|
+
end
|
413
|
+
```
|
414
|
+
|
415
|
+
### Parameters
|
416
|
+
|
417
|
+
| Name | Type | Description | Notes |
|
418
|
+
| ---- | ---- | ----------- | ----- |
|
419
|
+
| **application_id** | **String** | The application's ID / client ID. | |
|
420
|
+
|
421
|
+
### Return type
|
422
|
+
|
423
|
+
[**GetPropertyValuesResponse**](GetPropertyValuesResponse.md)
|
424
|
+
|
425
|
+
### Authorization
|
426
|
+
|
427
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
428
|
+
|
429
|
+
### HTTP request headers
|
430
|
+
|
431
|
+
- **Content-Type**: Not defined
|
432
|
+
- **Accept**: application/json
|
221
433
|
|
222
434
|
|
223
435
|
## get_applications
|
224
436
|
|
225
437
|
> <GetApplicationsResponse> get_applications(opts)
|
226
438
|
|
227
|
-
|
439
|
+
Get applications
|
228
440
|
|
229
|
-
Get a list of applications.
|
441
|
+
Get a list of applications / clients. <div> <code>read:applications</code> </div>
|
230
442
|
|
231
443
|
### Examples
|
232
444
|
|
@@ -247,7 +459,7 @@ opts = {
|
|
247
459
|
}
|
248
460
|
|
249
461
|
begin
|
250
|
-
#
|
462
|
+
# Get applications
|
251
463
|
result = api_instance.get_applications(opts)
|
252
464
|
p result
|
253
465
|
rescue KindeApi::ApiError => e
|
@@ -263,7 +475,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
263
475
|
|
264
476
|
```ruby
|
265
477
|
begin
|
266
|
-
#
|
478
|
+
# Get applications
|
267
479
|
data, status_code, headers = api_instance.get_applications_with_http_info(opts)
|
268
480
|
p status_code # => 2xx
|
269
481
|
p headers # => { ... }
|
@@ -292,7 +504,78 @@ end
|
|
292
504
|
### HTTP request headers
|
293
505
|
|
294
506
|
- **Content-Type**: Not defined
|
295
|
-
- **Accept**: application/json
|
507
|
+
- **Accept**: application/json
|
508
|
+
|
509
|
+
|
510
|
+
## remove_connection
|
511
|
+
|
512
|
+
> <SuccessResponse> remove_connection(application_id, connection_id)
|
513
|
+
|
514
|
+
Remove connection
|
515
|
+
|
516
|
+
Turn off an auth connection for an application <div> <code>delete:application_connections</code> </div>
|
517
|
+
|
518
|
+
### Examples
|
519
|
+
|
520
|
+
```ruby
|
521
|
+
require 'time'
|
522
|
+
require 'kinde_api'
|
523
|
+
# setup authorization
|
524
|
+
KindeApi.configure do |config|
|
525
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
526
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
527
|
+
end
|
528
|
+
|
529
|
+
api_instance = KindeApi::ApplicationsApi.new
|
530
|
+
application_id = '20bbffaa4c5e492a962273039d4ae18b' # String | The identifier/client ID for the application.
|
531
|
+
connection_id = 'conn_0192c16abb53b44277e597d31877ba5b' # String | The identifier for the connection.
|
532
|
+
|
533
|
+
begin
|
534
|
+
# Remove connection
|
535
|
+
result = api_instance.remove_connection(application_id, connection_id)
|
536
|
+
p result
|
537
|
+
rescue KindeApi::ApiError => e
|
538
|
+
puts "Error when calling ApplicationsApi->remove_connection: #{e}"
|
539
|
+
end
|
540
|
+
```
|
541
|
+
|
542
|
+
#### Using the remove_connection_with_http_info variant
|
543
|
+
|
544
|
+
This returns an Array which contains the response data, status code and headers.
|
545
|
+
|
546
|
+
> <Array(<SuccessResponse>, Integer, Hash)> remove_connection_with_http_info(application_id, connection_id)
|
547
|
+
|
548
|
+
```ruby
|
549
|
+
begin
|
550
|
+
# Remove connection
|
551
|
+
data, status_code, headers = api_instance.remove_connection_with_http_info(application_id, connection_id)
|
552
|
+
p status_code # => 2xx
|
553
|
+
p headers # => { ... }
|
554
|
+
p data # => <SuccessResponse>
|
555
|
+
rescue KindeApi::ApiError => e
|
556
|
+
puts "Error when calling ApplicationsApi->remove_connection_with_http_info: #{e}"
|
557
|
+
end
|
558
|
+
```
|
559
|
+
|
560
|
+
### Parameters
|
561
|
+
|
562
|
+
| Name | Type | Description | Notes |
|
563
|
+
| ---- | ---- | ----------- | ----- |
|
564
|
+
| **application_id** | **String** | The identifier/client ID for the application. | |
|
565
|
+
| **connection_id** | **String** | The identifier for the connection. | |
|
566
|
+
|
567
|
+
### Return type
|
568
|
+
|
569
|
+
[**SuccessResponse**](SuccessResponse.md)
|
570
|
+
|
571
|
+
### Authorization
|
572
|
+
|
573
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
574
|
+
|
575
|
+
### HTTP request headers
|
576
|
+
|
577
|
+
- **Content-Type**: Not defined
|
578
|
+
- **Accept**: application/json
|
296
579
|
|
297
580
|
|
298
581
|
## update_application
|
@@ -301,7 +584,7 @@ end
|
|
301
584
|
|
302
585
|
Update Application
|
303
586
|
|
304
|
-
|
587
|
+
Updates a client's settings. For more information, read [Applications in Kinde](https://docs.kinde.com/build/applications/about-applications) <div> <code>update:applications</code> </div>
|
305
588
|
|
306
589
|
### Examples
|
307
590
|
|
@@ -315,7 +598,7 @@ KindeApi.configure do |config|
|
|
315
598
|
end
|
316
599
|
|
317
600
|
api_instance = KindeApi::ApplicationsApi.new
|
318
|
-
application_id = '
|
601
|
+
application_id = '20bbffaa4c5e492a962273039d4ae18b' # String | The identifier for the application.
|
319
602
|
opts = {
|
320
603
|
update_application_request: KindeApi::UpdateApplicationRequest.new # UpdateApplicationRequest | Application details.
|
321
604
|
}
|
@@ -364,5 +647,149 @@ nil (empty response body)
|
|
364
647
|
### HTTP request headers
|
365
648
|
|
366
649
|
- **Content-Type**: application/json
|
367
|
-
- **Accept**: application/json
|
650
|
+
- **Accept**: application/json
|
651
|
+
|
652
|
+
|
653
|
+
## update_application_tokens
|
654
|
+
|
655
|
+
> <SuccessResponse> update_application_tokens(application_id, update_application_tokens_request)
|
656
|
+
|
657
|
+
Update application tokens
|
658
|
+
|
659
|
+
Configure tokens for an application. <div> <code>update:application_tokens</code> </div>
|
660
|
+
|
661
|
+
### Examples
|
662
|
+
|
663
|
+
```ruby
|
664
|
+
require 'time'
|
665
|
+
require 'kinde_api'
|
666
|
+
# setup authorization
|
667
|
+
KindeApi.configure do |config|
|
668
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
669
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
670
|
+
end
|
671
|
+
|
672
|
+
api_instance = KindeApi::ApplicationsApi.new
|
673
|
+
application_id = '20bbffaa4c5e492a962273039d4ae18b' # String | The identifier/client ID for the application.
|
674
|
+
update_application_tokens_request = KindeApi::UpdateApplicationTokensRequest.new # UpdateApplicationTokensRequest | Application tokens.
|
675
|
+
|
676
|
+
begin
|
677
|
+
# Update application tokens
|
678
|
+
result = api_instance.update_application_tokens(application_id, update_application_tokens_request)
|
679
|
+
p result
|
680
|
+
rescue KindeApi::ApiError => e
|
681
|
+
puts "Error when calling ApplicationsApi->update_application_tokens: #{e}"
|
682
|
+
end
|
683
|
+
```
|
684
|
+
|
685
|
+
#### Using the update_application_tokens_with_http_info variant
|
686
|
+
|
687
|
+
This returns an Array which contains the response data, status code and headers.
|
688
|
+
|
689
|
+
> <Array(<SuccessResponse>, Integer, Hash)> update_application_tokens_with_http_info(application_id, update_application_tokens_request)
|
690
|
+
|
691
|
+
```ruby
|
692
|
+
begin
|
693
|
+
# Update application tokens
|
694
|
+
data, status_code, headers = api_instance.update_application_tokens_with_http_info(application_id, update_application_tokens_request)
|
695
|
+
p status_code # => 2xx
|
696
|
+
p headers # => { ... }
|
697
|
+
p data # => <SuccessResponse>
|
698
|
+
rescue KindeApi::ApiError => e
|
699
|
+
puts "Error when calling ApplicationsApi->update_application_tokens_with_http_info: #{e}"
|
700
|
+
end
|
701
|
+
```
|
702
|
+
|
703
|
+
### Parameters
|
704
|
+
|
705
|
+
| Name | Type | Description | Notes |
|
706
|
+
| ---- | ---- | ----------- | ----- |
|
707
|
+
| **application_id** | **String** | The identifier/client ID for the application. | |
|
708
|
+
| **update_application_tokens_request** | [**UpdateApplicationTokensRequest**](UpdateApplicationTokensRequest.md) | Application tokens. | |
|
709
|
+
|
710
|
+
### Return type
|
711
|
+
|
712
|
+
[**SuccessResponse**](SuccessResponse.md)
|
713
|
+
|
714
|
+
### Authorization
|
715
|
+
|
716
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
717
|
+
|
718
|
+
### HTTP request headers
|
719
|
+
|
720
|
+
- **Content-Type**: application/json
|
721
|
+
- **Accept**: application/json
|
722
|
+
|
723
|
+
|
724
|
+
## update_applications_property
|
725
|
+
|
726
|
+
> <SuccessResponse> update_applications_property(application_id, property_key, update_applications_property_request)
|
727
|
+
|
728
|
+
Update property
|
729
|
+
|
730
|
+
Update application property value. <div> <code>update:application_properties</code> </div>
|
731
|
+
|
732
|
+
### Examples
|
733
|
+
|
734
|
+
```ruby
|
735
|
+
require 'time'
|
736
|
+
require 'kinde_api'
|
737
|
+
# setup authorization
|
738
|
+
KindeApi.configure do |config|
|
739
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
740
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
741
|
+
end
|
742
|
+
|
743
|
+
api_instance = KindeApi::ApplicationsApi.new
|
744
|
+
application_id = '3b0b5c6c8fcc464fab397f4969b5f482' # String | The application's ID / client ID.
|
745
|
+
property_key = 'kp_some_key' # String | The property's key.
|
746
|
+
update_applications_property_request = KindeApi::UpdateApplicationsPropertyRequest.new({value: nil}) # UpdateApplicationsPropertyRequest |
|
747
|
+
|
748
|
+
begin
|
749
|
+
# Update property
|
750
|
+
result = api_instance.update_applications_property(application_id, property_key, update_applications_property_request)
|
751
|
+
p result
|
752
|
+
rescue KindeApi::ApiError => e
|
753
|
+
puts "Error when calling ApplicationsApi->update_applications_property: #{e}"
|
754
|
+
end
|
755
|
+
```
|
756
|
+
|
757
|
+
#### Using the update_applications_property_with_http_info variant
|
758
|
+
|
759
|
+
This returns an Array which contains the response data, status code and headers.
|
760
|
+
|
761
|
+
> <Array(<SuccessResponse>, Integer, Hash)> update_applications_property_with_http_info(application_id, property_key, update_applications_property_request)
|
762
|
+
|
763
|
+
```ruby
|
764
|
+
begin
|
765
|
+
# Update property
|
766
|
+
data, status_code, headers = api_instance.update_applications_property_with_http_info(application_id, property_key, update_applications_property_request)
|
767
|
+
p status_code # => 2xx
|
768
|
+
p headers # => { ... }
|
769
|
+
p data # => <SuccessResponse>
|
770
|
+
rescue KindeApi::ApiError => e
|
771
|
+
puts "Error when calling ApplicationsApi->update_applications_property_with_http_info: #{e}"
|
772
|
+
end
|
773
|
+
```
|
774
|
+
|
775
|
+
### Parameters
|
776
|
+
|
777
|
+
| Name | Type | Description | Notes |
|
778
|
+
| ---- | ---- | ----------- | ----- |
|
779
|
+
| **application_id** | **String** | The application's ID / client ID. | |
|
780
|
+
| **property_key** | **String** | The property's key. | |
|
781
|
+
| **update_applications_property_request** | [**UpdateApplicationsPropertyRequest**](UpdateApplicationsPropertyRequest.md) | | |
|
782
|
+
|
783
|
+
### Return type
|
784
|
+
|
785
|
+
[**SuccessResponse**](SuccessResponse.md)
|
786
|
+
|
787
|
+
### Authorization
|
788
|
+
|
789
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
790
|
+
|
791
|
+
### HTTP request headers
|
792
|
+
|
793
|
+
- **Content-Type**: application/json
|
794
|
+
- **Accept**: application/json
|
368
795
|
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# KindeApi::AuthorizeAppApiResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **message** | **String** | | [optional] |
|
8
|
+
| **code** | **String** | | [optional] |
|
9
|
+
| **applications_disconnected** | **Array<String>** | | [optional] |
|
10
|
+
| **applications_connected** | **Array<String>** | | [optional] |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'kinde_api'
|
16
|
+
|
17
|
+
instance = KindeApi::AuthorizeAppApiResponse.new(
|
18
|
+
message: API applications updated,
|
19
|
+
code: API_APPLICATIONS_UPDATED,
|
20
|
+
applications_disconnected: null,
|
21
|
+
applications_connected: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|