kinde_sdk 1.2.1 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/kinde_api/README.md +100 -27
- data/kinde_api/docs/APIsApi.md +356 -0
- data/kinde_api/docs/AddAPIsRequest.md +20 -0
- data/kinde_api/docs/Api.md +28 -0
- data/kinde_api/docs/ApiApplicationsInner.md +24 -0
- data/kinde_api/docs/Apis.md +24 -0
- data/kinde_api/docs/Applications.md +22 -0
- data/kinde_api/docs/ApplicationsApi.md +368 -0
- data/kinde_api/docs/BusinessApi.md +183 -0
- data/kinde_api/docs/CallbacksApi.md +385 -25
- data/kinde_api/docs/ConnectedAppsApi.md +12 -6
- data/kinde_api/docs/CreateApplicationRequest.md +20 -0
- data/kinde_api/docs/CreateApplicationResponse.md +22 -0
- data/kinde_api/docs/CreateApplicationResponseApplication.md +22 -0
- data/kinde_api/docs/CreateFeatureFlagRequest.md +28 -0
- data/kinde_api/docs/CreateOrganizationRequest.md +16 -2
- data/kinde_api/docs/CreateOrganizationUserPermissionRequest.md +18 -0
- data/kinde_api/docs/CreateUserRequest.md +2 -0
- data/kinde_api/docs/EnvironmentsApi.md +23 -23
- data/kinde_api/docs/FeatureFlagsApi.md +19 -29
- data/kinde_api/docs/GetApplicationResponse.md +22 -0
- data/kinde_api/docs/GetApplicationResponseApplication.md +26 -0
- data/kinde_api/docs/GetApplicationsResponse.md +2 -2
- data/kinde_api/docs/{GetOrganizationsUsersResponse.md → GetOrganizationUsersResponse.md} +2 -2
- data/kinde_api/docs/GetOrganizationsUserPermissionsResponse.md +22 -0
- data/kinde_api/docs/GetPermissionsResponse.md +24 -0
- data/kinde_api/docs/GetRolesResponse.md +24 -0
- data/kinde_api/docs/GetSubscriberResponse.md +22 -0
- data/kinde_api/docs/GetSubscribersResponse.md +24 -0
- data/kinde_api/docs/IndustriesApi.md +81 -0
- data/kinde_api/docs/LogoutRedirectUrls.md +18 -0
- data/kinde_api/docs/OAuthApi.md +153 -4
- data/kinde_api/docs/Organization.md +3 -1
- data/kinde_api/docs/OrganizationUserPermission.md +26 -0
- data/kinde_api/docs/OrganizationUserPermissionRolesInner.md +20 -0
- data/kinde_api/docs/OrganizationUserRolePermissions.md +22 -0
- data/kinde_api/docs/OrganizationUserRolePermissionsPermissions.md +18 -0
- data/kinde_api/docs/OrganizationsApi.md +334 -40
- data/kinde_api/docs/Permissions.md +3 -1
- data/kinde_api/docs/PermissionsApi.md +84 -14
- data/kinde_api/docs/ReplaceLogoutRedirectURLsRequest.md +18 -0
- data/kinde_api/docs/ReplaceRedirectCallbackURLsRequest.md +18 -0
- data/kinde_api/docs/Role.md +24 -0
- data/kinde_api/docs/Roles.md +2 -0
- data/kinde_api/docs/RolesApi.md +310 -18
- data/kinde_api/docs/RolesPermissionResponseInner.md +24 -0
- data/kinde_api/docs/Subscriber.md +24 -0
- data/kinde_api/docs/SubscribersApi.md +12 -14
- data/kinde_api/docs/SubscribersSubscriber.md +26 -0
- data/kinde_api/docs/TimezonesApi.md +81 -0
- data/kinde_api/docs/TokenErrorResponse.md +20 -0
- data/kinde_api/docs/TokenIntrospect.md +26 -0
- data/kinde_api/docs/UpdateAPIApplicationsRequest.md +18 -0
- data/kinde_api/docs/UpdateAPIApplicationsRequestApplicationsInner.md +20 -0
- data/kinde_api/docs/UpdateApplicationRequest.md +24 -0
- data/kinde_api/docs/UpdateEnvironementFeatureFlagOverrideRequest.md +18 -0
- data/kinde_api/docs/UpdateOrganizationRequest.md +15 -1
- data/kinde_api/docs/UpdateOrganizationUsersRequest.md +1 -1
- data/kinde_api/docs/UpdateRolePermissionsRequest.md +18 -0
- data/kinde_api/docs/UpdateRolePermissionsRequestPermissionsInner.md +20 -0
- data/kinde_api/docs/UpdateRolePermissionsResponse.md +24 -0
- data/kinde_api/docs/UpdateRolesRequest.md +24 -0
- data/kinde_api/docs/UpdateUserResponse.md +30 -0
- data/kinde_api/docs/User.md +7 -7
- data/kinde_api/docs/UserIdentitiesInner.md +20 -0
- data/kinde_api/docs/UsersApi.md +171 -23
- data/kinde_api/docs/UsersResponse.md +1 -1
- data/kinde_api/docs/UsersResponseUsersInner.md +42 -0
- data/kinde_api/lib/kinde_api/api/apis_api.rb +346 -0
- data/kinde_api/lib/kinde_api/api/applications_api.rb +362 -0
- data/kinde_api/lib/kinde_api/api/business_api.rb +212 -0
- data/kinde_api/lib/kinde_api/api/callbacks_api.rb +463 -80
- data/kinde_api/lib/kinde_api/api/connected_apps_api.rb +66 -54
- data/kinde_api/lib/kinde_api/api/environments_api.rb +86 -69
- data/kinde_api/lib/kinde_api/api/feature_flags_api.rb +98 -119
- data/kinde_api/lib/kinde_api/api/industries_api.rb +84 -0
- data/kinde_api/lib/kinde_api/api/o_auth_api.rb +168 -38
- data/kinde_api/lib/kinde_api/api/organizations_api.rb +632 -250
- data/kinde_api/lib/kinde_api/api/permissions_api.rb +133 -66
- data/kinde_api/lib/kinde_api/api/roles_api.rb +361 -76
- data/kinde_api/lib/kinde_api/api/subscribers_api.rb +66 -68
- data/kinde_api/lib/kinde_api/api/timezones_api.rb +84 -0
- data/kinde_api/lib/kinde_api/api/users_api.rb +267 -115
- data/kinde_api/lib/kinde_api/api_client.rb +64 -68
- data/kinde_api/lib/kinde_api/api_error.rb +16 -16
- data/kinde_api/lib/kinde_api/configuration.rb +18 -19
- data/kinde_api/lib/kinde_api/models/add_apis_request.rb +235 -0
- data/kinde_api/lib/kinde_api/models/add_organization_users_request.rb +42 -38
- data/kinde_api/lib/kinde_api/models/add_organization_users_request_users_inner.rb +51 -51
- data/kinde_api/lib/kinde_api/models/add_organization_users_response.rb +50 -50
- data/kinde_api/lib/kinde_api/models/api.rb +262 -0
- data/kinde_api/lib/kinde_api/models/api_applications_inner.rb +237 -0
- data/kinde_api/lib/kinde_api/models/api_result.rb +40 -36
- data/kinde_api/lib/kinde_api/models/apis.rb +246 -0
- data/kinde_api/lib/kinde_api/models/applications.rb +232 -0
- data/kinde_api/lib/kinde_api/models/connected_apps_access_token.rb +45 -42
- data/kinde_api/lib/kinde_api/models/connected_apps_auth_url.rb +45 -42
- data/kinde_api/lib/kinde_api/models/create_application_request.rb +266 -0
- data/kinde_api/lib/kinde_api/models/create_application_response.rb +238 -0
- data/kinde_api/lib/kinde_api/models/create_application_response_application.rb +239 -0
- data/kinde_api/lib/kinde_api/models/create_feature_flag_request.rb +326 -0
- data/kinde_api/lib/kinde_api/models/create_organization_request.rb +129 -75
- data/kinde_api/lib/kinde_api/models/create_organization_response.rb +50 -53
- data/kinde_api/lib/kinde_api/models/create_organization_response_organization.rb +41 -36
- data/kinde_api/lib/kinde_api/models/create_organization_user_permission_request.rb +223 -0
- data/kinde_api/lib/kinde_api/models/create_organization_user_role_request.rb +41 -36
- data/kinde_api/lib/kinde_api/models/create_permission_request.rb +49 -48
- data/kinde_api/lib/kinde_api/models/create_role_request.rb +53 -54
- data/kinde_api/lib/kinde_api/models/create_subscriber_success_response.rb +41 -36
- data/kinde_api/lib/kinde_api/models/create_subscriber_success_response_subscriber.rb +41 -36
- data/kinde_api/lib/kinde_api/models/create_user_request.rb +55 -45
- data/kinde_api/lib/kinde_api/models/create_user_request_identities_inner.rb +51 -47
- data/kinde_api/lib/kinde_api/models/create_user_request_identities_inner_details.rb +41 -36
- data/kinde_api/lib/kinde_api/models/create_user_request_profile.rb +45 -42
- data/kinde_api/lib/kinde_api/models/create_user_response.rb +50 -50
- data/kinde_api/lib/kinde_api/models/error.rb +44 -42
- data/kinde_api/lib/kinde_api/models/error_response.rb +42 -38
- data/kinde_api/lib/kinde_api/models/get_application_response.rb +238 -0
- data/kinde_api/lib/kinde_api/models/get_application_response_application.rb +255 -0
- data/kinde_api/lib/kinde_api/models/get_applications_response.rb +56 -57
- data/kinde_api/lib/kinde_api/models/get_environment_feature_flags_response.rb +54 -55
- data/kinde_api/lib/kinde_api/models/get_organization_feature_flags_response.rb +50 -50
- data/kinde_api/lib/kinde_api/models/get_organization_feature_flags_response_feature_flags_value.rb +52 -50
- data/kinde_api/lib/kinde_api/models/{get_organizations_users_response.rb → get_organization_users_response.rb} +55 -56
- data/kinde_api/lib/kinde_api/models/get_organizations_response.rb +54 -55
- data/kinde_api/lib/kinde_api/models/get_organizations_user_permissions_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/get_organizations_user_roles_response.rb +54 -55
- data/kinde_api/lib/kinde_api/models/get_permissions_response.rb +248 -0
- data/kinde_api/lib/kinde_api/models/get_redirect_callback_urls_response.rb +42 -38
- data/kinde_api/lib/kinde_api/models/get_roles_response.rb +248 -0
- data/kinde_api/lib/kinde_api/models/get_subscriber_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/get_subscribers_response.rb +248 -0
- data/kinde_api/lib/kinde_api/models/logout_redirect_urls.rb +224 -0
- data/kinde_api/lib/kinde_api/models/organization.rb +56 -54
- data/kinde_api/lib/kinde_api/models/organization_user.rb +63 -79
- data/kinde_api/lib/kinde_api/models/organization_user_permission.rb +243 -0
- data/kinde_api/lib/kinde_api/models/organization_user_permission_roles_inner.rb +227 -0
- data/kinde_api/lib/kinde_api/models/organization_user_role.rb +50 -53
- data/kinde_api/lib/kinde_api/models/organization_user_role_permissions.rb +232 -0
- data/kinde_api/lib/kinde_api/models/{application.rb → organization_user_role_permissions_permissions.rb} +43 -47
- data/kinde_api/lib/kinde_api/models/permissions.rb +59 -50
- data/kinde_api/lib/kinde_api/models/redirect_callback_urls.rb +42 -38
- data/kinde_api/lib/kinde_api/models/replace_logout_redirect_urls_request.rb +224 -0
- data/kinde_api/lib/kinde_api/models/replace_redirect_callback_urls_request.rb +224 -0
- data/kinde_api/lib/kinde_api/models/role.rb +236 -0
- data/kinde_api/lib/kinde_api/models/roles.rb +57 -49
- data/kinde_api/lib/kinde_api/models/roles_permission_response_inner.rb +237 -0
- data/kinde_api/lib/kinde_api/models/subscriber.rb +237 -0
- data/kinde_api/lib/kinde_api/models/subscribers_subscriber.rb +242 -0
- data/kinde_api/lib/kinde_api/models/success_response.rb +46 -45
- data/kinde_api/lib/kinde_api/models/token_error_response.rb +231 -0
- data/kinde_api/lib/kinde_api/models/token_introspect.rb +257 -0
- data/kinde_api/lib/kinde_api/models/update_api_applications_request.rb +228 -0
- data/kinde_api/lib/kinde_api/models/update_api_applications_request_applications_inner.rb +236 -0
- data/kinde_api/lib/kinde_api/models/update_application_request.rb +250 -0
- data/kinde_api/lib/kinde_api/models/update_environement_feature_flag_override_request.rb +228 -0
- data/kinde_api/lib/kinde_api/models/update_organization_request.rb +119 -67
- data/kinde_api/lib/kinde_api/models/update_organization_users_request.rb +43 -39
- data/kinde_api/lib/kinde_api/models/update_organization_users_request_users_inner.rb +55 -57
- data/kinde_api/lib/kinde_api/models/update_organization_users_response.rb +57 -65
- data/kinde_api/lib/kinde_api/models/update_role_permissions_request.rb +224 -0
- data/kinde_api/lib/kinde_api/models/update_role_permissions_request_permissions_inner.rb +231 -0
- data/kinde_api/lib/kinde_api/models/update_role_permissions_response.rb +240 -0
- data/kinde_api/lib/kinde_api/models/update_roles_request.rb +255 -0
- data/kinde_api/lib/kinde_api/models/update_user_request.rb +53 -54
- data/kinde_api/lib/kinde_api/models/update_user_response.rb +273 -0
- data/kinde_api/lib/kinde_api/models/user.rb +104 -120
- data/kinde_api/lib/kinde_api/models/user_identities_inner.rb +227 -0
- data/kinde_api/lib/kinde_api/models/user_identity.rb +45 -42
- data/kinde_api/lib/kinde_api/models/user_identity_result.rb +41 -36
- data/kinde_api/lib/kinde_api/models/user_profile.rb +62 -66
- data/kinde_api/lib/kinde_api/models/user_profile_v2.rb +74 -84
- data/kinde_api/lib/kinde_api/models/users_response.rb +54 -55
- data/kinde_api/lib/kinde_api/models/users_response_users_inner.rb +328 -0
- data/kinde_api/lib/kinde_api/version.rb +11 -11
- data/kinde_api/lib/kinde_api.rb +71 -16
- data/kinde_api/spec/api/apis_api_spec.rb +94 -0
- data/kinde_api/spec/api/applications_api_spec.rb +97 -0
- data/kinde_api/spec/api/business_api_spec.rb +74 -0
- data/kinde_api/spec/api/callbacks_api_spec.rb +85 -22
- data/kinde_api/spec/api/connected_apps_api_spec.rb +16 -15
- data/kinde_api/spec/api/environments_api_spec.rb +19 -20
- data/kinde_api/spec/api/feature_flags_api_spec.rb +17 -23
- data/kinde_api/spec/api/industries_api_spec.rb +47 -0
- data/kinde_api/spec/api/o_auth_api_spec.rb +41 -15
- data/kinde_api/spec/api/organizations_api_spec.rb +93 -39
- data/kinde_api/spec/api/permissions_api_spec.rb +30 -19
- data/kinde_api/spec/api/roles_api_spec.rb +71 -19
- data/kinde_api/spec/api/subscribers_api_spec.rb +18 -20
- data/kinde_api/spec/api/timezones_api_spec.rb +47 -0
- data/kinde_api/spec/api/users_api_spec.rb +51 -24
- data/kinde_api/spec/api_client_spec.rb +20 -15
- data/kinde_api/spec/configuration_spec.rb +11 -11
- data/kinde_api/spec/models/add_apis_request_spec.rb +39 -0
- data/kinde_api/spec/models/add_organization_users_request_spec.rb +11 -12
- data/kinde_api/spec/models/add_organization_users_request_users_inner_spec.rb +14 -15
- data/kinde_api/spec/models/add_organization_users_response_spec.rb +14 -15
- data/kinde_api/spec/models/api_applications_inner_spec.rb +51 -0
- data/kinde_api/spec/models/api_result_spec.rb +11 -12
- data/kinde_api/spec/models/api_spec.rb +63 -0
- data/kinde_api/spec/models/apis_spec.rb +51 -0
- data/kinde_api/spec/models/applications_spec.rb +45 -0
- data/kinde_api/spec/models/connected_apps_access_token_spec.rb +13 -14
- data/kinde_api/spec/models/connected_apps_auth_url_spec.rb +13 -14
- data/kinde_api/spec/models/create_application_request_spec.rb +43 -0
- data/kinde_api/spec/models/create_application_response_application_spec.rb +45 -0
- data/kinde_api/spec/models/create_application_response_spec.rb +45 -0
- data/kinde_api/spec/models/create_feature_flag_request_spec.rb +71 -0
- data/kinde_api/spec/models/create_organization_request_spec.rb +58 -17
- data/kinde_api/spec/models/create_organization_response_organization_spec.rb +11 -12
- data/kinde_api/spec/models/create_organization_response_spec.rb +14 -15
- data/kinde_api/spec/models/create_organization_user_permission_request_spec.rb +33 -0
- data/kinde_api/spec/models/create_organization_user_role_request_spec.rb +11 -12
- data/kinde_api/spec/models/create_permission_request_spec.rb +14 -15
- data/kinde_api/spec/models/create_role_request_spec.rb +15 -16
- data/kinde_api/spec/models/create_subscriber_success_response_spec.rb +11 -12
- data/kinde_api/spec/models/create_subscriber_success_response_subscriber_spec.rb +11 -12
- data/kinde_api/spec/models/create_user_request_identities_inner_details_spec.rb +11 -12
- data/kinde_api/spec/models/create_user_request_identities_inner_spec.rb +13 -14
- data/kinde_api/spec/models/create_user_request_profile_spec.rb +13 -14
- data/kinde_api/spec/models/create_user_request_spec.rb +19 -14
- data/kinde_api/spec/models/create_user_response_spec.rb +14 -15
- data/kinde_api/spec/models/error_response_spec.rb +11 -12
- data/kinde_api/spec/models/error_spec.rb +13 -14
- data/kinde_api/spec/models/get_application_response_application_spec.rb +57 -0
- data/kinde_api/spec/models/get_application_response_spec.rb +45 -0
- data/kinde_api/spec/models/get_applications_response_spec.rb +16 -17
- data/kinde_api/spec/models/get_environment_feature_flags_response_spec.rb +15 -16
- data/kinde_api/spec/models/get_organization_feature_flags_response_feature_flags_value_spec.rb +13 -14
- data/kinde_api/spec/models/get_organization_feature_flags_response_spec.rb +14 -15
- data/kinde_api/spec/models/get_organization_users_response_spec.rb +51 -0
- data/kinde_api/spec/models/get_organizations_response_spec.rb +15 -16
- data/kinde_api/spec/models/get_organizations_user_permissions_response_spec.rb +45 -0
- data/kinde_api/spec/models/get_organizations_user_roles_response_spec.rb +15 -16
- data/kinde_api/spec/models/get_permissions_response_spec.rb +51 -0
- data/kinde_api/spec/models/get_redirect_callback_urls_response_spec.rb +11 -12
- data/kinde_api/spec/models/get_roles_response_spec.rb +51 -0
- data/kinde_api/spec/models/get_subscriber_response_spec.rb +45 -0
- data/kinde_api/spec/models/get_subscribers_response_spec.rb +51 -0
- data/kinde_api/spec/models/logout_redirect_urls_spec.rb +33 -0
- data/kinde_api/spec/models/organization_spec.rb +19 -14
- data/kinde_api/spec/models/organization_user_permission_roles_inner_spec.rb +39 -0
- data/kinde_api/spec/models/organization_user_permission_spec.rb +57 -0
- data/kinde_api/spec/models/organization_user_role_permissions_permissions_spec.rb +33 -0
- data/kinde_api/spec/models/organization_user_role_permissions_spec.rb +45 -0
- data/kinde_api/spec/models/organization_user_role_spec.rb +14 -15
- data/kinde_api/spec/models/organization_user_spec.rb +17 -18
- data/kinde_api/spec/models/permissions_spec.rb +20 -15
- data/kinde_api/spec/models/redirect_callback_urls_spec.rb +11 -12
- data/kinde_api/spec/models/replace_logout_redirect_urls_request_spec.rb +33 -0
- data/kinde_api/spec/models/replace_redirect_callback_urls_request_spec.rb +33 -0
- data/kinde_api/spec/models/role_spec.rb +51 -0
- data/kinde_api/spec/models/roles_permission_response_inner_spec.rb +51 -0
- data/kinde_api/spec/models/roles_spec.rb +20 -15
- data/kinde_api/spec/models/subscriber_spec.rb +51 -0
- data/kinde_api/spec/models/subscribers_subscriber_spec.rb +57 -0
- data/kinde_api/spec/models/success_response_spec.rb +13 -14
- data/kinde_api/spec/models/token_error_response_spec.rb +39 -0
- data/kinde_api/spec/models/token_introspect_spec.rb +57 -0
- data/kinde_api/spec/models/update_api_applications_request_applications_inner_spec.rb +39 -0
- data/kinde_api/spec/models/update_api_applications_request_spec.rb +33 -0
- data/kinde_api/spec/models/update_application_request_spec.rb +51 -0
- data/kinde_api/spec/models/update_environement_feature_flag_override_request_spec.rb +33 -0
- data/kinde_api/spec/models/update_organization_request_spec.rb +57 -16
- data/kinde_api/spec/models/update_organization_users_request_spec.rb +11 -12
- data/kinde_api/spec/models/update_organization_users_request_users_inner_spec.rb +15 -16
- data/kinde_api/spec/models/update_organization_users_response_spec.rb +15 -16
- data/kinde_api/spec/models/update_role_permissions_request_permissions_inner_spec.rb +39 -0
- data/kinde_api/spec/models/update_role_permissions_request_spec.rb +33 -0
- data/kinde_api/spec/models/update_role_permissions_response_spec.rb +51 -0
- data/kinde_api/spec/models/update_roles_request_spec.rb +51 -0
- data/kinde_api/spec/models/update_user_request_spec.rb +15 -16
- data/kinde_api/spec/models/update_user_response_spec.rb +69 -0
- data/kinde_api/spec/models/user_identities_inner_spec.rb +39 -0
- data/kinde_api/spec/models/user_identity_result_spec.rb +11 -12
- data/kinde_api/spec/models/user_identity_spec.rb +13 -14
- data/kinde_api/spec/models/user_profile_spec.rb +17 -18
- data/kinde_api/spec/models/user_profile_v2_spec.rb +19 -20
- data/kinde_api/spec/models/user_spec.rb +33 -34
- data/kinde_api/spec/models/users_response_spec.rb +15 -16
- data/kinde_api/spec/models/users_response_users_inner_spec.rb +105 -0
- data/kinde_api/spec/spec_helper.rb +61 -63
- data/lib/kinde_sdk/version.rb +1 -1
- data/spec/kinde_sdk_spec.rb +0 -46
- metadata +201 -29
- data/Gemfile +0 -15
- data/LICENSE +0 -21
- data/README.md +0 -445
- data/Rakefile +0 -10
- data/kinde_api/.gitignore +0 -39
- data/kinde_api/.rspec +0 -2
- data/kinde_api/docs/Application.md +0 -20
- data/kinde_api/spec/models/application_spec.rb +0 -40
- data/kinde_api/spec/models/get_organizations_users_response_spec.rb +0 -52
- data/kinde_sdk.gemspec +0 -33
- data/openapitools.json +0 -7
@@ -0,0 +1,97 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# #Kinde Management API
|
4
|
+
#
|
5
|
+
# Provides endpoints to manage your Kinde Businesses
|
6
|
+
#
|
7
|
+
# The version of the OpenAPI document: 1
|
8
|
+
# Contact: support@kinde.com
|
9
|
+
# Generated by: https://openapi-generator.tech
|
10
|
+
# OpenAPI Generator version: 7.0.0-SNAPSHOT
|
11
|
+
#
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for KindeApi::ApplicationsApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'ApplicationsApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = KindeApi::ApplicationsApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of ApplicationsApi' do
|
30
|
+
it 'should create an instance of ApplicationsApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(KindeApi::ApplicationsApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for create_application
|
36
|
+
# Create Application
|
37
|
+
# Create an application.
|
38
|
+
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [CreateApplicationRequest] :create_application_request Application details.
|
40
|
+
# @return [CreateApplicationResponse]
|
41
|
+
describe 'create_application test' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# unit tests for delete_application
|
48
|
+
# Delete Application
|
49
|
+
# Delete application.
|
50
|
+
# @param application_id The identifier for the application.
|
51
|
+
# @param [Hash] opts the optional parameters
|
52
|
+
# @return [SuccessResponse]
|
53
|
+
describe 'delete_application test' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
# unit tests for get_application
|
60
|
+
# Get Application
|
61
|
+
# Gets an application given the application's id.
|
62
|
+
# @param application_id The identifier for the application.
|
63
|
+
# @param [Hash] opts the optional parameters
|
64
|
+
# @return [GetApplicationResponse]
|
65
|
+
describe 'get_application test' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
# unit tests for get_applications
|
72
|
+
# List Applications
|
73
|
+
# Get a list of applications.
|
74
|
+
# @param [Hash] opts the optional parameters
|
75
|
+
# @option opts [String] :sort Field and order to sort the result by.
|
76
|
+
# @option opts [Integer] :page_size Number of results per page. Defaults to 10 if parameter not sent.
|
77
|
+
# @option opts [String] :next_token A string to get the next page of results if there are more results.
|
78
|
+
# @return [GetApplicationsResponse]
|
79
|
+
describe 'get_applications test' do
|
80
|
+
it 'should work' do
|
81
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
# unit tests for update_application
|
86
|
+
# Update Application
|
87
|
+
# Update an application.
|
88
|
+
# @param application_id The identifier for the application.
|
89
|
+
# @param [Hash] opts the optional parameters
|
90
|
+
# @option opts [UpdateApplicationRequest] :update_application_request Application details.
|
91
|
+
# @return [nil]
|
92
|
+
describe 'update_application test' do
|
93
|
+
it 'should work' do
|
94
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
@@ -0,0 +1,74 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# #Kinde Management API
|
4
|
+
#
|
5
|
+
# Provides endpoints to manage your Kinde Businesses
|
6
|
+
#
|
7
|
+
# The version of the OpenAPI document: 1
|
8
|
+
# Contact: support@kinde.com
|
9
|
+
# Generated by: https://openapi-generator.tech
|
10
|
+
# OpenAPI Generator version: 7.0.0-SNAPSHOT
|
11
|
+
#
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for KindeApi::BusinessApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'BusinessApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = KindeApi::BusinessApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of BusinessApi' do
|
30
|
+
it 'should create an instance of BusinessApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(KindeApi::BusinessApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for get_business
|
36
|
+
# List business details
|
37
|
+
# Get your business details.
|
38
|
+
# @param code Business code.
|
39
|
+
# @param name Business name.
|
40
|
+
# @param email Email associated with business.
|
41
|
+
# @param [Hash] opts the optional parameters
|
42
|
+
# @option opts [String] :phone Phone number associated with business.
|
43
|
+
# @option opts [String] :industry The industry your business is in.
|
44
|
+
# @option opts [String] :timezone The timezone your business is in.
|
45
|
+
# @option opts [String] :privacy_url Your Privacy policy URL.
|
46
|
+
# @option opts [String] :terms_url Your Terms and Conditions URL.
|
47
|
+
# @return [SuccessResponse]
|
48
|
+
describe 'get_business test' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
# unit tests for update_business
|
55
|
+
# Update business details
|
56
|
+
# Update business details.
|
57
|
+
# @param business_name Business name.
|
58
|
+
# @param primary_email Email associated with business.
|
59
|
+
# @param [Hash] opts the optional parameters
|
60
|
+
# @option opts [String] :primary_phone Phone number associated with business.
|
61
|
+
# @option opts [String] :industry_key The key of the industry your business is in.
|
62
|
+
# @option opts [String] :timezone_id The ID of the timezone your business is in.
|
63
|
+
# @option opts [String] :privacy_url Your Privacy policy URL.
|
64
|
+
# @option opts [String] :terms_url Your Terms and Conditions URL.
|
65
|
+
# @option opts [String] :is_show_kinde_branding Display \"Powered by Kinde\" on your sign up, sign in, and subscription pages.
|
66
|
+
# @option opts [Boolean] :is_click_wrap Show a policy acceptance checkbox on sign up.
|
67
|
+
# @option opts [String] :partner_code Your Kinde Perk code.
|
68
|
+
# @return [SuccessResponse]
|
69
|
+
describe 'update_business test' do
|
70
|
+
it 'should work' do
|
71
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
@@ -1,14 +1,14 @@
|
|
1
|
-
|
2
|
-
#Kinde Management API
|
1
|
+
# frozen_string_literal: true
|
3
2
|
|
4
|
-
#
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
3
|
+
# #Kinde Management API
|
4
|
+
#
|
5
|
+
# Provides endpoints to manage your Kinde Businesses
|
6
|
+
#
|
7
|
+
# The version of the OpenAPI document: 1
|
8
|
+
# Contact: support@kinde.com
|
9
|
+
# Generated by: https://openapi-generator.tech
|
10
|
+
# OpenAPI Generator version: 7.0.0-SNAPSHOT
|
11
|
+
#
|
12
12
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
@@ -32,42 +32,105 @@ describe 'CallbacksApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
+
# unit tests for add_logout_redirect_urls
|
36
|
+
# Add Logout Redirect URLs
|
37
|
+
# Add additional logout redirect URLs.
|
38
|
+
# @param app_id The identifier for the application.
|
39
|
+
# @param replace_logout_redirect_urls_request Callback details.
|
40
|
+
# @param [Hash] opts the optional parameters
|
41
|
+
# @return [SuccessResponse]
|
42
|
+
describe 'add_logout_redirect_urls test' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
35
48
|
# unit tests for add_redirect_callback_urls
|
36
49
|
# Add Redirect Callback URLs
|
37
|
-
# Add additional redirect callback URLs.
|
50
|
+
# Add additional redirect callback URLs.
|
38
51
|
# @param app_id The identifier for the application.
|
39
|
-
# @param
|
52
|
+
# @param replace_redirect_callback_urls_request Callback details.
|
40
53
|
# @param [Hash] opts the optional parameters
|
41
|
-
# @return [
|
54
|
+
# @return [SuccessResponse]
|
42
55
|
describe 'add_redirect_callback_urls test' do
|
43
56
|
it 'should work' do
|
44
|
-
# assertion here. ref: https://
|
57
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
# unit tests for delete_callback_urls
|
62
|
+
# Delete Callback URLs
|
63
|
+
# Delete callback URLs.
|
64
|
+
# @param app_id The identifier for the application.
|
65
|
+
# @param urls Urls to delete, comma separated and url encoded.
|
66
|
+
# @param [Hash] opts the optional parameters
|
67
|
+
# @return [SuccessResponse]
|
68
|
+
describe 'delete_callback_urls test' do
|
69
|
+
it 'should work' do
|
70
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
# unit tests for delete_logout_urls
|
75
|
+
# Delete Logout URLs
|
76
|
+
# Delete logout URLs.
|
77
|
+
# @param app_id The identifier for the application.
|
78
|
+
# @param urls Urls to delete, comma separated and url encoded.
|
79
|
+
# @param [Hash] opts the optional parameters
|
80
|
+
# @return [SuccessResponse]
|
81
|
+
describe 'delete_logout_urls test' do
|
82
|
+
it 'should work' do
|
83
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
84
|
end
|
46
85
|
end
|
47
86
|
|
48
87
|
# unit tests for get_callback_urls
|
49
88
|
# List Callback URLs
|
50
|
-
# Returns an application's redirect callback URLs.
|
89
|
+
# Returns an application's redirect callback URLs.
|
51
90
|
# @param app_id The identifier for the application.
|
52
91
|
# @param [Hash] opts the optional parameters
|
53
92
|
# @return [RedirectCallbackUrls]
|
54
93
|
describe 'get_callback_urls test' do
|
55
94
|
it 'should work' do
|
56
|
-
# assertion here. ref: https://
|
95
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
# unit tests for get_logout_urls
|
100
|
+
# List Logout URLs
|
101
|
+
# Returns an application's logout redirect URLs.
|
102
|
+
# @param app_id The identifier for the application.
|
103
|
+
# @param [Hash] opts the optional parameters
|
104
|
+
# @return [LogoutRedirectUrls]
|
105
|
+
describe 'get_logout_urls test' do
|
106
|
+
it 'should work' do
|
107
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
108
|
+
end
|
109
|
+
end
|
110
|
+
|
111
|
+
# unit tests for replace_logout_redirect_urls
|
112
|
+
# Replace Logout Redirect URLs
|
113
|
+
# Replace all logout redirect URLs.
|
114
|
+
# @param app_id The identifier for the application.
|
115
|
+
# @param replace_logout_redirect_urls_request Callback details.
|
116
|
+
# @param [Hash] opts the optional parameters
|
117
|
+
# @return [SuccessResponse]
|
118
|
+
describe 'replace_logout_redirect_urls test' do
|
119
|
+
it 'should work' do
|
120
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
121
|
end
|
58
122
|
end
|
59
123
|
|
60
124
|
# unit tests for replace_redirect_callback_urls
|
61
|
-
# Replace
|
62
|
-
# Replace all redirect callback URLs.
|
125
|
+
# Replace Redirect Callback URLs
|
126
|
+
# Replace all redirect callback URLs.
|
63
127
|
# @param app_id The identifier for the application.
|
64
|
-
# @param
|
128
|
+
# @param replace_redirect_callback_urls_request Callback details.
|
65
129
|
# @param [Hash] opts the optional parameters
|
66
|
-
# @return [
|
130
|
+
# @return [SuccessResponse]
|
67
131
|
describe 'replace_redirect_callback_urls test' do
|
68
132
|
it 'should work' do
|
69
|
-
# assertion here. ref: https://
|
133
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
70
134
|
end
|
71
135
|
end
|
72
|
-
|
73
136
|
end
|
@@ -1,14 +1,14 @@
|
|
1
|
-
|
2
|
-
#Kinde Management API
|
1
|
+
# frozen_string_literal: true
|
3
2
|
|
4
|
-
#
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
3
|
+
# #Kinde Management API
|
4
|
+
#
|
5
|
+
# Provides endpoints to manage your Kinde Businesses
|
6
|
+
#
|
7
|
+
# The version of the OpenAPI document: 1
|
8
|
+
# Contact: support@kinde.com
|
9
|
+
# Generated by: https://openapi-generator.tech
|
10
|
+
# OpenAPI Generator version: 7.0.0-SNAPSHOT
|
11
|
+
#
|
12
12
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
@@ -36,12 +36,14 @@ describe 'ConnectedAppsApi' do
|
|
36
36
|
# Get Connected App URL
|
37
37
|
# Get a URL that authenticates and authorizes a user to a third-party connected app.
|
38
38
|
# @param key_code_ref The unique key code reference of the connected app to authenticate against.
|
39
|
-
# @param user_id The id of the user that needs to authenticate to the third-party connected app.
|
40
39
|
# @param [Hash] opts the optional parameters
|
40
|
+
# @option opts [String] :user_id The id of the user that needs to authenticate to the third-party connected app.
|
41
|
+
# @option opts [String] :org_code The code of the Kinde organization that needs to authenticate to the third-party connected app.
|
42
|
+
# @option opts [String] :override_callback_url A URL that overrides the default callback URL setup in your connected app configuration
|
41
43
|
# @return [ConnectedAppsAuthUrl]
|
42
44
|
describe 'get_connected_app_auth_url test' do
|
43
45
|
it 'should work' do
|
44
|
-
# assertion here. ref: https://
|
46
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
47
|
end
|
46
48
|
end
|
47
49
|
|
@@ -53,7 +55,7 @@ describe 'ConnectedAppsApi' do
|
|
53
55
|
# @return [ConnectedAppsAccessToken]
|
54
56
|
describe 'get_connected_app_token test' do
|
55
57
|
it 'should work' do
|
56
|
-
# assertion here. ref: https://
|
58
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
59
|
end
|
58
60
|
end
|
59
61
|
|
@@ -65,8 +67,7 @@ describe 'ConnectedAppsApi' do
|
|
65
67
|
# @return [SuccessResponse]
|
66
68
|
describe 'revoke_connected_app_token test' do
|
67
69
|
it 'should work' do
|
68
|
-
# assertion here. ref: https://
|
70
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
69
71
|
end
|
70
72
|
end
|
71
|
-
|
72
73
|
end
|
@@ -1,14 +1,14 @@
|
|
1
|
-
|
2
|
-
#Kinde Management API
|
1
|
+
# frozen_string_literal: true
|
3
2
|
|
4
|
-
#
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
3
|
+
# #Kinde Management API
|
4
|
+
#
|
5
|
+
# Provides endpoints to manage your Kinde Businesses
|
6
|
+
#
|
7
|
+
# The version of the OpenAPI document: 1
|
8
|
+
# Contact: support@kinde.com
|
9
|
+
# Generated by: https://openapi-generator.tech
|
10
|
+
# OpenAPI Generator version: 7.0.0-SNAPSHOT
|
11
|
+
#
|
12
12
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
@@ -33,50 +33,49 @@ describe 'EnvironmentsApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for delete_environement_feature_flag_override
|
36
|
-
# Delete
|
36
|
+
# Delete Environment Feature Flag Override
|
37
37
|
# Delete environment feature flag override.
|
38
38
|
# @param feature_flag_key The identifier for the feature flag.
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
40
|
# @return [SuccessResponse]
|
41
41
|
describe 'delete_environement_feature_flag_override test' do
|
42
42
|
it 'should work' do
|
43
|
-
# assertion here. ref: https://
|
43
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
47
|
# unit tests for delete_environement_feature_flag_overrides
|
48
|
-
# Delete
|
48
|
+
# Delete Environment Feature Flag Overrides
|
49
49
|
# Delete all environment feature flag overrides.
|
50
50
|
# @param [Hash] opts the optional parameters
|
51
51
|
# @return [SuccessResponse]
|
52
52
|
describe 'delete_environement_feature_flag_overrides test' do
|
53
53
|
it 'should work' do
|
54
|
-
# assertion here. ref: https://
|
54
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
58
58
|
# unit tests for get_environement_feature_flags
|
59
|
-
# List
|
59
|
+
# List Environment Feature Flags
|
60
60
|
# Get environment feature flags.
|
61
61
|
# @param [Hash] opts the optional parameters
|
62
62
|
# @return [GetEnvironmentFeatureFlagsResponse]
|
63
63
|
describe 'get_environement_feature_flags test' do
|
64
64
|
it 'should work' do
|
65
|
-
# assertion here. ref: https://
|
65
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
66
66
|
end
|
67
67
|
end
|
68
68
|
|
69
69
|
# unit tests for update_environement_feature_flag_override
|
70
|
-
# Update
|
70
|
+
# Update Environment Feature Flag Override
|
71
71
|
# Update environment feature flag override.
|
72
72
|
# @param feature_flag_key The identifier for the feature flag.
|
73
|
-
# @param
|
73
|
+
# @param update_environement_feature_flag_override_request Flag details.
|
74
74
|
# @param [Hash] opts the optional parameters
|
75
75
|
# @return [SuccessResponse]
|
76
76
|
describe 'update_environement_feature_flag_override test' do
|
77
77
|
it 'should work' do
|
78
|
-
# assertion here. ref: https://
|
78
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
79
79
|
end
|
80
80
|
end
|
81
|
-
|
82
81
|
end
|
@@ -1,14 +1,14 @@
|
|
1
|
-
|
2
|
-
#Kinde Management API
|
1
|
+
# frozen_string_literal: true
|
3
2
|
|
4
|
-
#
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
3
|
+
# #Kinde Management API
|
4
|
+
#
|
5
|
+
# Provides endpoints to manage your Kinde Businesses
|
6
|
+
#
|
7
|
+
# The version of the OpenAPI document: 1
|
8
|
+
# Contact: support@kinde.com
|
9
|
+
# Generated by: https://openapi-generator.tech
|
10
|
+
# OpenAPI Generator version: 7.0.0-SNAPSHOT
|
11
|
+
#
|
12
12
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
@@ -33,36 +33,31 @@ describe 'FeatureFlagsApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for create_feature_flag
|
36
|
-
# Create
|
36
|
+
# Create Feature Flag
|
37
37
|
# Create feature flag.
|
38
|
-
# @param
|
39
|
-
# @param description Description of the flag purpose.
|
40
|
-
# @param key The flag identifier to use in code.
|
41
|
-
# @param type The variable type.
|
42
|
-
# @param allow_override_level Allow the flag to be overridden at a different level.
|
43
|
-
# @param default_value Default value for the flag used by environments and organizations.
|
38
|
+
# @param create_feature_flag_request Flag details.
|
44
39
|
# @param [Hash] opts the optional parameters
|
45
40
|
# @return [SuccessResponse]
|
46
41
|
describe 'create_feature_flag test' do
|
47
42
|
it 'should work' do
|
48
|
-
# assertion here. ref: https://
|
43
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
49
44
|
end
|
50
45
|
end
|
51
46
|
|
52
47
|
# unit tests for delete_feature_flag
|
53
|
-
# Delete
|
48
|
+
# Delete Feature Flag
|
54
49
|
# Delete feature flag
|
55
50
|
# @param feature_flag_key The identifier for the feature flag.
|
56
51
|
# @param [Hash] opts the optional parameters
|
57
52
|
# @return [SuccessResponse]
|
58
53
|
describe 'delete_feature_flag test' do
|
59
54
|
it 'should work' do
|
60
|
-
# assertion here. ref: https://
|
55
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
61
56
|
end
|
62
57
|
end
|
63
58
|
|
64
59
|
# unit tests for update_feature_flag
|
65
|
-
#
|
60
|
+
# Replace Feature Flag
|
66
61
|
# Update feature flag.
|
67
62
|
# @param feature_flag_key The key identifier for the feature flag.
|
68
63
|
# @param name The name of the flag.
|
@@ -74,8 +69,7 @@ describe 'FeatureFlagsApi' do
|
|
74
69
|
# @return [SuccessResponse]
|
75
70
|
describe 'update_feature_flag test' do
|
76
71
|
it 'should work' do
|
77
|
-
# assertion here. ref: https://
|
72
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
78
73
|
end
|
79
74
|
end
|
80
|
-
|
81
75
|
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# #Kinde Management API
|
4
|
+
#
|
5
|
+
# Provides endpoints to manage your Kinde Businesses
|
6
|
+
#
|
7
|
+
# The version of the OpenAPI document: 1
|
8
|
+
# Contact: support@kinde.com
|
9
|
+
# Generated by: https://openapi-generator.tech
|
10
|
+
# OpenAPI Generator version: 7.0.0-SNAPSHOT
|
11
|
+
#
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for KindeApi::IndustriesApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'IndustriesApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = KindeApi::IndustriesApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of IndustriesApi' do
|
30
|
+
it 'should create an instance of IndustriesApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(KindeApi::IndustriesApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for get_industries
|
36
|
+
# List industries and industry keys.
|
37
|
+
# Get a list of industries and associated industry keys.
|
38
|
+
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [String] :industry_key Industry Key.
|
40
|
+
# @option opts [String] :name Industry name.
|
41
|
+
# @return [SuccessResponse]
|
42
|
+
describe 'get_industries test' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -1,14 +1,14 @@
|
|
1
|
-
|
2
|
-
#Kinde Management API
|
1
|
+
# frozen_string_literal: true
|
3
2
|
|
4
|
-
#
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
3
|
+
# #Kinde Management API
|
4
|
+
#
|
5
|
+
# Provides endpoints to manage your Kinde Businesses
|
6
|
+
#
|
7
|
+
# The version of the OpenAPI document: 1
|
8
|
+
# Contact: support@kinde.com
|
9
|
+
# Generated by: https://openapi-generator.tech
|
10
|
+
# OpenAPI Generator version: 7.0.0-SNAPSHOT
|
11
|
+
#
|
12
12
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
@@ -33,25 +33,51 @@ describe 'OAuthApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for get_user
|
36
|
-
#
|
37
|
-
# Contains the id, names and email of the currently logged in user.
|
36
|
+
# Get User Profile
|
37
|
+
# Contains the id, names and email of the currently logged in user.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @return [UserProfile]
|
40
40
|
describe 'get_user test' do
|
41
41
|
it 'should work' do
|
42
|
-
# assertion here. ref: https://
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
46
46
|
# unit tests for get_user_profile_v2
|
47
47
|
# Returns the details of the currently logged in user
|
48
|
-
# Contains the id, names, profile picture URL and email of the currently logged in user.
|
48
|
+
# Contains the id, names, profile picture URL and email of the currently logged in user.
|
49
49
|
# @param [Hash] opts the optional parameters
|
50
50
|
# @return [UserProfileV2]
|
51
51
|
describe 'get_user_profile_v2 test' do
|
52
52
|
it 'should work' do
|
53
|
-
# assertion here. ref: https://
|
53
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
# unit tests for token_introspection
|
58
|
+
# Get token details
|
59
|
+
# Retrieve information about the provided token.
|
60
|
+
# @param [Hash] opts the optional parameters
|
61
|
+
# @option opts [String] :token The token to be introspected.
|
62
|
+
# @option opts [String] :token_type The provided token's type.
|
63
|
+
# @return [TokenIntrospect]
|
64
|
+
describe 'token_introspection test' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
54
67
|
end
|
55
68
|
end
|
56
69
|
|
70
|
+
# unit tests for token_revocation
|
71
|
+
# Revoke token
|
72
|
+
# Revoke a previously issued token.
|
73
|
+
# @param [Hash] opts the optional parameters
|
74
|
+
# @option opts [String] :token The token to be revoked.
|
75
|
+
# @option opts [String] :client_id The identifier for your client.
|
76
|
+
# @option opts [String] :client_secret The secret associated with your client.
|
77
|
+
# @return [nil]
|
78
|
+
describe 'token_revocation test' do
|
79
|
+
it 'should work' do
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
81
|
+
end
|
82
|
+
end
|
57
83
|
end
|