onelogin 1.4.1 → 3.0.0.pre.alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile +7 -4
- data/README.md +245 -423
- data/Rakefile +7 -3
- data/docs/Action.md +26 -0
- data/docs/ActivateFactorRequest.md +24 -0
- data/docs/AddAccessTokenClaimRequest.md +22 -0
- data/docs/AddClientAppRequest.md +20 -0
- data/docs/AddRoleUsers200ResponseInner.md +18 -0
- data/docs/AddScopeRequest.md +20 -0
- data/docs/AuthMethod.md +15 -0
- data/docs/AuthServerConfiguration.md +24 -0
- data/docs/ClientApp.md +20 -0
- data/docs/Condition.md +22 -0
- data/docs/Connector.md +26 -0
- data/docs/CreateAuthorizationServerRequest.md +22 -0
- data/docs/CreateEnvironmentVariableRequest.md +20 -0
- data/docs/CreateRoles201ResponseInner.md +18 -0
- data/docs/DefaultApi.md +6812 -0
- data/docs/Device.md +26 -0
- data/docs/EnrollFactorRequest.md +28 -0
- data/docs/Envvar.md +24 -0
- data/docs/ErrorStatus.md +22 -0
- data/docs/ErrorStatusErrorsInner.md +20 -0
- data/docs/FactorInner.md +32 -0
- data/docs/FactorInnerFactorData.md +20 -0
- data/docs/GenerateMfaToken200Response.md +24 -0
- data/docs/GenerateMfaToken422Response.md +24 -0
- data/docs/GenerateMfaToken422ResponseDetails.md +18 -0
- data/docs/GenerateMfaTokenRequest.md +20 -0
- data/docs/GenerateSamlAssertionRequest.md +26 -0
- data/docs/GenerateToken200Response.md +28 -0
- data/docs/GenerateToken400Response.md +18 -0
- data/docs/GenerateTokenRequest.md +18 -0
- data/docs/GetAuthorizationServer200Response.md +24 -0
- data/docs/GetAvailableFactors200ResponseInner.md +22 -0
- data/docs/GetClientApps200ResponseInner.md +24 -0
- data/docs/GetClientApps200ResponseInnerScopesInner.md +22 -0
- data/docs/GetRateLimit200Response.md +20 -0
- data/docs/GetRateLimit200ResponseData.md +22 -0
- data/docs/GetRiskScore200Response.md +20 -0
- data/docs/GetRiskScore400Response.md +18 -0
- data/docs/GetRiskScoreRequest.md +30 -0
- data/docs/GetScoreInsights200Response.md +20 -0
- data/docs/GetScoreInsights200ResponseScores.md +26 -0
- data/docs/GetUserApps200ResponseInner.md +32 -0
- data/docs/Hook.md +46 -0
- data/docs/HookConditionsInner.md +22 -0
- data/docs/HookOptions.md +22 -0
- data/docs/HookStatus.md +20 -0
- data/docs/Id.md +18 -0
- data/docs/ListAccessTokenClaims200ResponseInner.md +34 -0
- data/docs/ListActions200ResponseInner.md +20 -0
- data/docs/ListAppUsers200ResponseInner.md +26 -0
- data/docs/ListAuthorizationServers200ResponseInner.md +24 -0
- data/docs/ListAuthorizationServers200ResponseInnerConfiguration.md +20 -0
- data/docs/ListConditionOperators200ResponseInner.md +20 -0
- data/docs/ListConditionValues200ResponseInner.md +20 -0
- data/docs/ListConditions200ResponseInner.md +20 -0
- data/docs/ListMappingConditionOperators200ResponseInner.md +20 -0
- data/docs/ListMappingConditions200ResponseInner.md +20 -0
- data/docs/ListScopes200ResponseInner.md +22 -0
- data/docs/Log.md +24 -0
- data/docs/Mapping.md +30 -0
- data/docs/Registration.md +22 -0
- data/docs/RemoveRoleUsersRequest.md +18 -0
- data/docs/RevokeTokenRequest.md +18 -0
- data/docs/RiskDevice.md +18 -0
- data/docs/RiskRule.md +30 -0
- data/docs/RiskUser.md +22 -0
- data/docs/Role.md +26 -0
- data/docs/Rule.md +30 -0
- data/docs/RuleId.md +18 -0
- data/docs/Schema.md +56 -0
- data/docs/Schema1.md +28 -0
- data/docs/Schema1AddedBy.md +20 -0
- data/docs/SchemaProvisioning.md +18 -0
- data/docs/Session.md +18 -0
- data/docs/SetRoleApps200ResponseInner.md +18 -0
- data/docs/Source.md +20 -0
- data/docs/Status.md +24 -0
- data/docs/Status1.md +22 -0
- data/docs/Status2.md +18 -0
- data/docs/Status2Status.md +24 -0
- data/docs/TrackEventRequest.md +34 -0
- data/docs/UpdateAuthorizationServer400Response.md +24 -0
- data/docs/UpdateClientAppRequest.md +18 -0
- data/docs/UpdateEnvironmentVariableRequest.md +18 -0
- data/docs/UpdateRole200Response.md +18 -0
- data/docs/User.md +90 -0
- data/docs/VerifyEnrollmentRequest.md +18 -0
- data/docs/VerifyFactorRequest.md +20 -0
- data/docs/VerifyFactorSaml200Response.md +20 -0
- data/docs/VerifyFactorSamlRequest.md +26 -0
- data/docs/VerifyFactorVoice200ResponseInner.md +22 -0
- data/git_push.sh +57 -0
- data/lib/onelogin/api/default_api.rb +7334 -0
- data/lib/onelogin/api_client.rb +391 -0
- data/lib/onelogin/api_error.rb +57 -0
- data/lib/onelogin/configuration.rb +282 -0
- data/lib/onelogin/models/action.rb +262 -0
- data/lib/onelogin/models/activate_factor_request.rb +250 -0
- data/lib/onelogin/models/add_access_token_claim_request.rb +237 -0
- data/lib/onelogin/models/add_client_app_request.rb +230 -0
- data/lib/onelogin/models/add_role_users200_response_inner.rb +219 -0
- data/lib/onelogin/models/add_scope_request.rb +228 -0
- data/lib/onelogin/models/auth_method.rb +43 -0
- data/lib/onelogin/models/auth_server_configuration.rb +248 -0
- data/lib/onelogin/models/client_app.rb +228 -0
- data/lib/onelogin/models/condition.rb +240 -0
- data/lib/onelogin/models/connector.rb +259 -0
- data/lib/onelogin/models/create_authorization_server_request.rb +237 -0
- data/lib/onelogin/models/create_environment_variable_request.rb +240 -0
- data/lib/onelogin/models/create_roles201_response_inner.rb +219 -0
- data/lib/onelogin/models/device.rb +255 -0
- data/lib/onelogin/models/enroll_factor_request.rb +280 -0
- data/lib/onelogin/models/envvar.rb +250 -0
- data/lib/onelogin/models/error_status.rb +239 -0
- data/lib/onelogin/models/error_status_errors_inner.rb +230 -0
- data/lib/onelogin/models/factor_inner.rb +323 -0
- data/lib/onelogin/models/factor_inner_factor_data.rb +231 -0
- data/lib/onelogin/models/generate_mfa_token200_response.rb +250 -0
- data/lib/onelogin/models/generate_mfa_token422_response.rb +246 -0
- data/lib/onelogin/models/generate_mfa_token422_response_details.rb +221 -0
- data/lib/onelogin/models/generate_mfa_token_request.rb +230 -0
- data/lib/onelogin/models/generate_saml_assertion_request.rb +280 -0
- data/lib/onelogin/models/generate_token200_response.rb +264 -0
- data/lib/onelogin/models/generate_token400_response.rb +219 -0
- data/lib/onelogin/models/generate_token_request.rb +253 -0
- data/lib/onelogin/models/get_authorization_server200_response.rb +246 -0
- data/lib/onelogin/models/get_available_factors200_response_inner.rb +240 -0
- data/lib/onelogin/models/get_client_apps200_response_inner.rb +248 -0
- data/lib/onelogin/models/get_client_apps200_response_inner_scopes_inner.rb +237 -0
- data/lib/onelogin/models/get_rate_limit200_response.rb +228 -0
- data/lib/onelogin/models/get_rate_limit200_response_data.rb +237 -0
- data/lib/onelogin/models/get_risk_score200_response.rb +256 -0
- data/lib/onelogin/models/get_risk_score400_response.rb +221 -0
- data/lib/onelogin/models/get_risk_score_request.rb +291 -0
- data/lib/onelogin/models/get_score_insights200_response.rb +228 -0
- data/lib/onelogin/models/get_score_insights200_response_scores.rb +255 -0
- data/lib/onelogin/models/get_user_apps200_response_inner.rb +335 -0
- data/lib/onelogin/models/hook.rb +462 -0
- data/lib/onelogin/models/hook_conditions_inner.rb +237 -0
- data/lib/onelogin/models/hook_options.rb +238 -0
- data/lib/onelogin/models/hook_status.rb +228 -0
- data/lib/onelogin/models/id.rb +219 -0
- data/lib/onelogin/models/list_access_token_claims200_response_inner.rb +293 -0
- data/lib/onelogin/models/list_actions200_response_inner.rb +230 -0
- data/lib/onelogin/models/list_app_users200_response_inner.rb +255 -0
- data/lib/onelogin/models/list_authorization_servers200_response_inner.rb +246 -0
- data/lib/onelogin/models/list_authorization_servers200_response_inner_configuration.rb +230 -0
- data/lib/onelogin/models/list_condition_operators200_response_inner.rb +230 -0
- data/lib/onelogin/models/list_condition_values200_response_inner.rb +228 -0
- data/lib/onelogin/models/list_conditions200_response_inner.rb +230 -0
- data/lib/onelogin/models/list_mapping_condition_operators200_response_inner.rb +230 -0
- data/lib/onelogin/models/list_mapping_conditions200_response_inner.rb +230 -0
- data/lib/onelogin/models/list_scopes200_response_inner.rb +237 -0
- data/lib/onelogin/models/log.rb +248 -0
- data/lib/onelogin/models/mapping.rb +342 -0
- data/lib/onelogin/models/registration.rb +274 -0
- data/lib/onelogin/models/remove_role_users_request.rb +221 -0
- data/lib/onelogin/models/revoke_token_request.rb +219 -0
- data/lib/onelogin/models/risk_device.rb +221 -0
- data/lib/onelogin/models/risk_rule.rb +325 -0
- data/lib/onelogin/models/risk_user.rb +248 -0
- data/lib/onelogin/models/role.rb +266 -0
- data/lib/onelogin/models/rule.rb +317 -0
- data/lib/onelogin/models/rule_id.rb +219 -0
- data/lib/onelogin/models/schema.rb +441 -0
- data/lib/onelogin/models/schema1.rb +265 -0
- data/lib/onelogin/models/schema1_added_by.rb +228 -0
- data/lib/onelogin/models/schema_provisioning.rb +220 -0
- data/lib/onelogin/models/session.rb +221 -0
- data/lib/onelogin/models/set_role_apps200_response_inner.rb +220 -0
- data/lib/onelogin/models/source.rb +230 -0
- data/lib/onelogin/models/status.rb +246 -0
- data/lib/onelogin/models/status1.rb +237 -0
- data/lib/onelogin/models/status2.rb +219 -0
- data/lib/onelogin/models/status2_status.rb +246 -0
- data/lib/onelogin/models/track_event_request.rb +316 -0
- data/lib/onelogin/models/update_authorization_server400_response.rb +246 -0
- data/lib/onelogin/models/update_client_app_request.rb +221 -0
- data/lib/onelogin/models/update_environment_variable_request.rb +225 -0
- data/lib/onelogin/models/update_role200_response.rb +219 -0
- data/lib/onelogin/models/user.rb +615 -0
- data/lib/onelogin/models/verify_enrollment_request.rb +219 -0
- data/lib/onelogin/models/verify_factor_request.rb +230 -0
- data/lib/onelogin/models/verify_factor_saml200_response.rb +230 -0
- data/lib/onelogin/models/verify_factor_saml_request.rb +275 -0
- data/lib/onelogin/models/verify_factor_voice200_response_inner.rb +271 -0
- data/lib/onelogin/version.rb +13 -1
- data/lib/onelogin.rb +130 -1
- data/onelogin.gemspec +36 -43
- data/spec/api/default_api_spec.rb +1259 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/action_spec.rb +58 -0
- data/spec/models/activate_factor_request_spec.rb +52 -0
- data/spec/models/add_access_token_claim_request_spec.rb +46 -0
- data/spec/models/add_client_app_request_spec.rb +40 -0
- data/spec/models/add_role_users200_response_inner_spec.rb +34 -0
- data/spec/models/add_scope_request_spec.rb +40 -0
- data/spec/models/auth_method_spec.rb +28 -0
- data/spec/models/auth_server_configuration_spec.rb +52 -0
- data/spec/models/client_app_spec.rb +40 -0
- data/spec/models/condition_spec.rb +46 -0
- data/spec/models/connector_spec.rb +58 -0
- data/spec/models/create_authorization_server_request_spec.rb +46 -0
- data/spec/models/create_environment_variable_request_spec.rb +40 -0
- data/spec/models/create_roles201_response_inner_spec.rb +34 -0
- data/spec/models/device_spec.rb +58 -0
- data/spec/models/enroll_factor_request_spec.rb +64 -0
- data/spec/models/envvar_spec.rb +52 -0
- data/spec/models/error_status_errors_inner_spec.rb +40 -0
- data/spec/models/error_status_spec.rb +46 -0
- data/spec/models/factor_inner_factor_data_spec.rb +40 -0
- data/spec/models/factor_inner_spec.rb +80 -0
- data/spec/models/generate_mfa_token200_response_spec.rb +52 -0
- data/spec/models/generate_mfa_token422_response_details_spec.rb +34 -0
- data/spec/models/generate_mfa_token422_response_spec.rb +52 -0
- data/spec/models/generate_mfa_token_request_spec.rb +40 -0
- data/spec/models/generate_saml_assertion_request_spec.rb +58 -0
- data/spec/models/generate_token200_response_spec.rb +64 -0
- data/spec/models/generate_token400_response_spec.rb +34 -0
- data/spec/models/generate_token_request_spec.rb +38 -0
- data/spec/models/get_authorization_server200_response_spec.rb +52 -0
- data/spec/models/get_available_factors200_response_inner_spec.rb +46 -0
- data/spec/models/get_client_apps200_response_inner_scopes_inner_spec.rb +46 -0
- data/spec/models/get_client_apps200_response_inner_spec.rb +52 -0
- data/spec/models/get_rate_limit200_response_data_spec.rb +46 -0
- data/spec/models/get_rate_limit200_response_spec.rb +40 -0
- data/spec/models/get_risk_score200_response_spec.rb +40 -0
- data/spec/models/get_risk_score400_response_spec.rb +34 -0
- data/spec/models/get_risk_score_request_spec.rb +70 -0
- data/spec/models/get_score_insights200_response_scores_spec.rb +58 -0
- data/spec/models/get_score_insights200_response_spec.rb +40 -0
- data/spec/models/get_user_apps200_response_inner_spec.rb +84 -0
- data/spec/models/hook_conditions_inner_spec.rb +46 -0
- data/spec/models/hook_options_spec.rb +46 -0
- data/spec/models/hook_spec.rb +122 -0
- data/spec/models/hook_status_spec.rb +40 -0
- data/spec/models/id_spec.rb +34 -0
- data/spec/models/list_access_token_claims200_response_inner_spec.rb +82 -0
- data/spec/models/list_actions200_response_inner_spec.rb +40 -0
- data/spec/models/list_app_users200_response_inner_spec.rb +58 -0
- data/spec/models/list_authorization_servers200_response_inner_configuration_spec.rb +40 -0
- data/spec/models/list_authorization_servers200_response_inner_spec.rb +52 -0
- data/spec/models/list_condition_operators200_response_inner_spec.rb +40 -0
- data/spec/models/list_condition_values200_response_inner_spec.rb +40 -0
- data/spec/models/list_conditions200_response_inner_spec.rb +40 -0
- data/spec/models/list_mapping_condition_operators200_response_inner_spec.rb +40 -0
- data/spec/models/list_mapping_conditions200_response_inner_spec.rb +40 -0
- data/spec/models/list_scopes200_response_inner_spec.rb +46 -0
- data/spec/models/log_spec.rb +52 -0
- data/spec/models/mapping_spec.rb +74 -0
- data/spec/models/registration_spec.rb +50 -0
- data/spec/models/remove_role_users_request_spec.rb +34 -0
- data/spec/models/revoke_token_request_spec.rb +34 -0
- data/spec/models/risk_device_spec.rb +34 -0
- data/spec/models/risk_rule_spec.rb +78 -0
- data/spec/models/risk_user_spec.rb +46 -0
- data/spec/models/role_spec.rb +58 -0
- data/spec/models/rule_id_spec.rb +34 -0
- data/spec/models/rule_spec.rb +74 -0
- data/spec/models/schema1_added_by_spec.rb +40 -0
- data/spec/models/schema1_spec.rb +64 -0
- data/spec/models/schema_provisioning_spec.rb +34 -0
- data/spec/models/schema_spec.rb +152 -0
- data/spec/models/session_spec.rb +34 -0
- data/spec/models/set_role_apps200_response_inner_spec.rb +34 -0
- data/spec/models/source_spec.rb +40 -0
- data/spec/models/status1_spec.rb +46 -0
- data/spec/models/status2_spec.rb +34 -0
- data/spec/models/status2_status_spec.rb +52 -0
- data/spec/models/status_spec.rb +52 -0
- data/spec/models/track_event_request_spec.rb +82 -0
- data/spec/models/update_authorization_server400_response_spec.rb +52 -0
- data/spec/models/update_client_app_request_spec.rb +34 -0
- data/spec/models/update_environment_variable_request_spec.rb +34 -0
- data/spec/models/update_role200_response_spec.rb +34 -0
- data/spec/models/user_spec.rb +258 -0
- data/spec/models/verify_enrollment_request_spec.rb +34 -0
- data/spec/models/verify_factor_request_spec.rb +40 -0
- data/spec/models/verify_factor_saml200_response_spec.rb +40 -0
- data/spec/models/verify_factor_saml_request_spec.rb +58 -0
- data/spec/models/verify_factor_voice200_response_inner_spec.rb +50 -0
- data/spec/spec_helper.rb +111 -0
- metadata +402 -210
- data/.gitignore +0 -12
- data/.travis.yml +0 -6
- data/bin/console +0 -14
- data/bin/setup +0 -6
- data/examples/Gemfile +0 -3
- data/examples/Gemfile.lock +0 -21
- data/examples/README.md +0 -19
- data/examples/all-users-to-csv.rb +0 -48
- data/examples/create-user.rb +0 -16
- data/examples/events-to-csv.rb +0 -93
- data/examples/last-app-user-login-to-csv.rb +0 -72
- data/examples/list-users.rb +0 -15
- data/examples/rails-custom-login-page/.gitignore +0 -45
- data/examples/rails-custom-login-page/.ruby-version +0 -1
- data/examples/rails-custom-login-page/Gemfile +0 -57
- data/examples/rails-custom-login-page/Gemfile.lock +0 -208
- data/examples/rails-custom-login-page/README.md +0 -105
- data/examples/rails-custom-login-page/Rakefile +0 -6
- data/examples/rails-custom-login-page/app/assets/config/manifest.js +0 -3
- data/examples/rails-custom-login-page/app/assets/images/.keep +0 -0
- data/examples/rails-custom-login-page/app/assets/javascripts/application.js +0 -18
- data/examples/rails-custom-login-page/app/assets/javascripts/cable.js +0 -13
- data/examples/rails-custom-login-page/app/assets/javascripts/channels/.keep +0 -0
- data/examples/rails-custom-login-page/app/assets/javascripts/dashboard.coffee +0 -3
- data/examples/rails-custom-login-page/app/assets/javascripts/home.coffee +0 -3
- data/examples/rails-custom-login-page/app/assets/javascripts/sessions.coffee +0 -3
- data/examples/rails-custom-login-page/app/assets/stylesheets/application.css +0 -15
- data/examples/rails-custom-login-page/app/assets/stylesheets/dashboard.scss +0 -3
- data/examples/rails-custom-login-page/app/assets/stylesheets/home.scss +0 -3
- data/examples/rails-custom-login-page/app/assets/stylesheets/sessions.scss +0 -3
- data/examples/rails-custom-login-page/app/channels/application_cable/channel.rb +0 -4
- data/examples/rails-custom-login-page/app/channels/application_cable/connection.rb +0 -4
- data/examples/rails-custom-login-page/app/controllers/application_controller.rb +0 -23
- data/examples/rails-custom-login-page/app/controllers/concerns/.keep +0 -0
- data/examples/rails-custom-login-page/app/controllers/dashboard_controller.rb +0 -10
- data/examples/rails-custom-login-page/app/controllers/home_controller.rb +0 -4
- data/examples/rails-custom-login-page/app/controllers/sessions_controller.rb +0 -46
- data/examples/rails-custom-login-page/app/controllers/users_controller.rb +0 -116
- data/examples/rails-custom-login-page/app/helpers/application_helper.rb +0 -2
- data/examples/rails-custom-login-page/app/helpers/dashboard_helper.rb +0 -28
- data/examples/rails-custom-login-page/app/helpers/home_helper.rb +0 -2
- data/examples/rails-custom-login-page/app/helpers/sessions_helper.rb +0 -87
- data/examples/rails-custom-login-page/app/helpers/users_helper.rb +0 -3
- data/examples/rails-custom-login-page/app/jobs/application_job.rb +0 -2
- data/examples/rails-custom-login-page/app/mailers/application_mailer.rb +0 -4
- data/examples/rails-custom-login-page/app/models/application_record.rb +0 -3
- data/examples/rails-custom-login-page/app/models/concerns/.keep +0 -0
- data/examples/rails-custom-login-page/app/views/dashboard/index.html.erb +0 -50
- data/examples/rails-custom-login-page/app/views/home/index.html.erb +0 -209
- data/examples/rails-custom-login-page/app/views/layouts/application.html.erb +0 -31
- data/examples/rails-custom-login-page/app/views/layouts/mailer.html.erb +0 -13
- data/examples/rails-custom-login-page/app/views/layouts/mailer.text.erb +0 -1
- data/examples/rails-custom-login-page/app/views/users/_form.html.erb +0 -1
- data/examples/rails-custom-login-page/app/views/users/_user.json.jbuilder +0 -2
- data/examples/rails-custom-login-page/app/views/users/edit.html.erb +0 -27
- data/examples/rails-custom-login-page/app/views/users/index.html.erb +0 -30
- data/examples/rails-custom-login-page/app/views/users/index.json.jbuilder +0 -1
- data/examples/rails-custom-login-page/app/views/users/new.html.erb +0 -60
- data/examples/rails-custom-login-page/app/views/users/onboard.html.erb +0 -54
- data/examples/rails-custom-login-page/app/views/users/show.html.erb +0 -14
- data/examples/rails-custom-login-page/app/views/users/show.json.jbuilder +0 -1
- data/examples/rails-custom-login-page/bin/bundle +0 -3
- data/examples/rails-custom-login-page/bin/rails +0 -9
- data/examples/rails-custom-login-page/bin/rake +0 -9
- data/examples/rails-custom-login-page/bin/setup +0 -38
- data/examples/rails-custom-login-page/bin/spring +0 -17
- data/examples/rails-custom-login-page/bin/update +0 -29
- data/examples/rails-custom-login-page/bin/yarn +0 -11
- data/examples/rails-custom-login-page/config/application.rb +0 -18
- data/examples/rails-custom-login-page/config/boot.rb +0 -3
- data/examples/rails-custom-login-page/config/cable.yml +0 -10
- data/examples/rails-custom-login-page/config/database.yml +0 -25
- data/examples/rails-custom-login-page/config/environment.rb +0 -5
- data/examples/rails-custom-login-page/config/environments/development.rb +0 -54
- data/examples/rails-custom-login-page/config/environments/production.rb +0 -91
- data/examples/rails-custom-login-page/config/environments/test.rb +0 -42
- data/examples/rails-custom-login-page/config/initializers/application_controller_renderer.rb +0 -8
- data/examples/rails-custom-login-page/config/initializers/assets.rb +0 -14
- data/examples/rails-custom-login-page/config/initializers/backtrace_silencers.rb +0 -7
- data/examples/rails-custom-login-page/config/initializers/cookies_serializer.rb +0 -5
- data/examples/rails-custom-login-page/config/initializers/filter_parameter_logging.rb +0 -4
- data/examples/rails-custom-login-page/config/initializers/inflections.rb +0 -16
- data/examples/rails-custom-login-page/config/initializers/mime_types.rb +0 -4
- data/examples/rails-custom-login-page/config/initializers/onelogin.rb +0 -4
- data/examples/rails-custom-login-page/config/initializers/wrap_parameters.rb +0 -14
- data/examples/rails-custom-login-page/config/locales/en.yml +0 -33
- data/examples/rails-custom-login-page/config/puma.rb +0 -56
- data/examples/rails-custom-login-page/config/routes.rb +0 -23
- data/examples/rails-custom-login-page/config/secrets.yml.sample +0 -36
- data/examples/rails-custom-login-page/config/spring.rb +0 -6
- data/examples/rails-custom-login-page/config.ru +0 -5
- data/examples/rails-custom-login-page/db/seeds.rb +0 -7
- data/examples/rails-custom-login-page/lib/assets/.keep +0 -0
- data/examples/rails-custom-login-page/lib/tasks/.keep +0 -0
- data/examples/rails-custom-login-page/package.json +0 -5
- data/examples/rails-custom-login-page/public/404.html +0 -67
- data/examples/rails-custom-login-page/public/422.html +0 -67
- data/examples/rails-custom-login-page/public/500.html +0 -66
- data/examples/rails-custom-login-page/public/apple-touch-icon-precomposed.png +0 -0
- data/examples/rails-custom-login-page/public/apple-touch-icon.png +0 -0
- data/examples/rails-custom-login-page/public/favicon.ico +0 -0
- data/examples/rails-custom-login-page/public/robots.txt +0 -1
- data/examples/rails-custom-login-page/test/application_system_test_case.rb +0 -5
- data/examples/rails-custom-login-page/test/controllers/.keep +0 -0
- data/examples/rails-custom-login-page/test/controllers/dashboard_controller_test.rb +0 -9
- data/examples/rails-custom-login-page/test/controllers/home_controller_test.rb +0 -9
- data/examples/rails-custom-login-page/test/controllers/sessions_controller_test.rb +0 -7
- data/examples/rails-custom-login-page/test/controllers/users_controller_test.rb +0 -48
- data/examples/rails-custom-login-page/test/fixtures/.keep +0 -0
- data/examples/rails-custom-login-page/test/fixtures/files/.keep +0 -0
- data/examples/rails-custom-login-page/test/helpers/.keep +0 -0
- data/examples/rails-custom-login-page/test/integration/.keep +0 -0
- data/examples/rails-custom-login-page/test/mailers/.keep +0 -0
- data/examples/rails-custom-login-page/test/models/.keep +0 -0
- data/examples/rails-custom-login-page/test/system/.keep +0 -0
- data/examples/rails-custom-login-page/test/test_helper.rb +0 -9
- data/examples/rails-custom-login-page/vendor/.keep +0 -0
- data/lib/onelogin/api/apiexception.rb +0 -10
- data/lib/onelogin/api/client.rb +0 -2328
- data/lib/onelogin/api/cursor.rb +0 -113
- data/lib/onelogin/api/models/app.rb +0 -22
- data/lib/onelogin/api/models/auth_factor.rb +0 -16
- data/lib/onelogin/api/models/device.rb +0 -18
- data/lib/onelogin/api/models/embed_app.rb +0 -31
- data/lib/onelogin/api/models/event.rb +0 -54
- data/lib/onelogin/api/models/event_type.rb +0 -17
- data/lib/onelogin/api/models/factor_enrollment_response.rb +0 -22
- data/lib/onelogin/api/models/group.rb +0 -17
- data/lib/onelogin/api/models/mfa.rb +0 -26
- data/lib/onelogin/api/models/mfa_token.rb +0 -18
- data/lib/onelogin/api/models/onelogin_token.rb +0 -20
- data/lib/onelogin/api/models/otp_device.rb +0 -25
- data/lib/onelogin/api/models/privilege.rb +0 -51
- data/lib/onelogin/api/models/rate_limit.rb +0 -17
- data/lib/onelogin/api/models/role.rb +0 -16
- data/lib/onelogin/api/models/saml_endpoint_response.rb +0 -18
- data/lib/onelogin/api/models/session_token_info.rb +0 -21
- data/lib/onelogin/api/models/session_token_mfa_info.rb +0 -26
- data/lib/onelogin/api/models/statement.rb +0 -36
- data/lib/onelogin/api/models/user.rb +0 -135
- data/lib/onelogin/api/models/user_data.rb +0 -13
- data/lib/onelogin/api/models/user_metadata.rb +0 -13
- data/lib/onelogin/api/models.rb +0 -22
- data/lib/onelogin/api/util/constants.rb +0 -160
- data/lib/onelogin/api/util/parser.rb +0 -56
- data/lib/onelogin/api/util/url_builder.rb +0 -24
- data/lib/onelogin/api/util.rb +0 -13
- data/lib/onelogin/api.rb +0 -2
@@ -0,0 +1,1259 @@
|
|
1
|
+
=begin
|
2
|
+
#OneLogin API
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 3.0.0-alpha.1
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for OneLogin::DefaultApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'DefaultApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = OneLogin::DefaultApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of DefaultApi' do
|
30
|
+
it 'should create an instance of DefaultApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(OneLogin::DefaultApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for activate_factor
|
36
|
+
# @param authorization
|
37
|
+
# @param user_id Set to the id of the user.
|
38
|
+
# @param activate_factor_request
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [nil]
|
41
|
+
describe 'activate_factor test' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# unit tests for add_access_token_claim
|
48
|
+
# @param authorization
|
49
|
+
# @param id
|
50
|
+
# @param add_access_token_claim_request
|
51
|
+
# @param [Hash] opts the optional parameters
|
52
|
+
# @return [Id]
|
53
|
+
describe 'add_access_token_claim test' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
# unit tests for add_client_app
|
60
|
+
# @param authorization
|
61
|
+
# @param id
|
62
|
+
# @param add_client_app_request
|
63
|
+
# @param [Hash] opts the optional parameters
|
64
|
+
# @return [ClientApp]
|
65
|
+
describe 'add_client_app test' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
# unit tests for add_role_admins
|
72
|
+
# @param authorization
|
73
|
+
# @param role_id Set to the id of the role you want to return.
|
74
|
+
# @param request_body
|
75
|
+
# @param [Hash] opts the optional parameters
|
76
|
+
# @return [Array<AddRoleUsers200ResponseInner>]
|
77
|
+
describe 'add_role_admins test' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
# unit tests for add_role_users
|
84
|
+
# @param authorization
|
85
|
+
# @param role_id Set to the id of the role you want to return.
|
86
|
+
# @param request_body
|
87
|
+
# @param [Hash] opts the optional parameters
|
88
|
+
# @return [Array<AddRoleUsers200ResponseInner>]
|
89
|
+
describe 'add_role_users test' do
|
90
|
+
it 'should work' do
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
# unit tests for add_scope
|
96
|
+
# @param authorization
|
97
|
+
# @param id
|
98
|
+
# @param add_scope_request
|
99
|
+
# @param [Hash] opts the optional parameters
|
100
|
+
# @return [Id]
|
101
|
+
describe 'add_scope test' do
|
102
|
+
it 'should work' do
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
# unit tests for bulk_mapping_sort
|
108
|
+
# @param authorization
|
109
|
+
# @param request_body The request body must contain an array of User Mapping IDs in the desired order.
|
110
|
+
# @param [Hash] opts the optional parameters
|
111
|
+
# @return [Array<Integer>]
|
112
|
+
describe 'bulk_mapping_sort test' do
|
113
|
+
it 'should work' do
|
114
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
118
|
+
# unit tests for bulk_sort
|
119
|
+
# @param authorization
|
120
|
+
# @param app_id
|
121
|
+
# @param request_body The request body must contain an array of App Rule IDs in the desired order.
|
122
|
+
# @param [Hash] opts the optional parameters
|
123
|
+
# @return [Array<Integer>]
|
124
|
+
describe 'bulk_sort test' do
|
125
|
+
it 'should work' do
|
126
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
130
|
+
# unit tests for create_app
|
131
|
+
# @param authorization
|
132
|
+
# @param schema
|
133
|
+
# @param [Hash] opts the optional parameters
|
134
|
+
# @return [Schema]
|
135
|
+
describe 'create_app test' do
|
136
|
+
it 'should work' do
|
137
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
# unit tests for create_authorization_server
|
142
|
+
# @param authorization
|
143
|
+
# @param create_authorization_server_request
|
144
|
+
# @param [Hash] opts the optional parameters
|
145
|
+
# @return [Id]
|
146
|
+
describe 'create_authorization_server test' do
|
147
|
+
it 'should work' do
|
148
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
149
|
+
end
|
150
|
+
end
|
151
|
+
|
152
|
+
# unit tests for create_environment_variable
|
153
|
+
# @param authorization
|
154
|
+
# @param create_environment_variable_request
|
155
|
+
# @param [Hash] opts the optional parameters
|
156
|
+
# @return [Envvar]
|
157
|
+
describe 'create_environment_variable test' do
|
158
|
+
it 'should work' do
|
159
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
160
|
+
end
|
161
|
+
end
|
162
|
+
|
163
|
+
# unit tests for create_hook
|
164
|
+
# @param authorization
|
165
|
+
# @param hook
|
166
|
+
# @param [Hash] opts the optional parameters
|
167
|
+
# @return [nil]
|
168
|
+
describe 'create_hook test' do
|
169
|
+
it 'should work' do
|
170
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
171
|
+
end
|
172
|
+
end
|
173
|
+
|
174
|
+
# unit tests for create_mapping
|
175
|
+
# @param authorization
|
176
|
+
# @param mapping
|
177
|
+
# @param [Hash] opts the optional parameters
|
178
|
+
# @return [Integer]
|
179
|
+
describe 'create_mapping test' do
|
180
|
+
it 'should work' do
|
181
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
182
|
+
end
|
183
|
+
end
|
184
|
+
|
185
|
+
# unit tests for create_risk_rule
|
186
|
+
# @param authorization
|
187
|
+
# @param risk_rule
|
188
|
+
# @param [Hash] opts the optional parameters
|
189
|
+
# @return [nil]
|
190
|
+
describe 'create_risk_rule test' do
|
191
|
+
it 'should work' do
|
192
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
# unit tests for create_roles
|
197
|
+
# @param authorization
|
198
|
+
# @param [Hash] opts the optional parameters
|
199
|
+
# @return [Array<CreateRoles201ResponseInner>]
|
200
|
+
describe 'create_roles test' do
|
201
|
+
it 'should work' do
|
202
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
203
|
+
end
|
204
|
+
end
|
205
|
+
|
206
|
+
# unit tests for create_rule
|
207
|
+
# @param authorization
|
208
|
+
# @param app_id
|
209
|
+
# @param rule
|
210
|
+
# @param [Hash] opts the optional parameters
|
211
|
+
# @return [RuleId]
|
212
|
+
describe 'create_rule test' do
|
213
|
+
it 'should work' do
|
214
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
215
|
+
end
|
216
|
+
end
|
217
|
+
|
218
|
+
# unit tests for create_user
|
219
|
+
# @param authorization
|
220
|
+
# @param user
|
221
|
+
# @param [Hash] opts the optional parameters
|
222
|
+
# @option opts [String] :mappings Controls how mappings will be applied to the user on creation. Defaults to async.
|
223
|
+
# @option opts [Boolean] :validate_policy Will passwords validate against the User Policy? Defaults to true.
|
224
|
+
# @return [User]
|
225
|
+
describe 'create_user test' do
|
226
|
+
it 'should work' do
|
227
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
228
|
+
end
|
229
|
+
end
|
230
|
+
|
231
|
+
# unit tests for delete_access_token_claim
|
232
|
+
# @param authorization
|
233
|
+
# @param id
|
234
|
+
# @param claim_id
|
235
|
+
# @param [Hash] opts the optional parameters
|
236
|
+
# @return [nil]
|
237
|
+
describe 'delete_access_token_claim test' do
|
238
|
+
it 'should work' do
|
239
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
240
|
+
end
|
241
|
+
end
|
242
|
+
|
243
|
+
# unit tests for delete_app
|
244
|
+
# @param authorization
|
245
|
+
# @param app_id
|
246
|
+
# @param [Hash] opts the optional parameters
|
247
|
+
# @return [nil]
|
248
|
+
describe 'delete_app test' do
|
249
|
+
it 'should work' do
|
250
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
251
|
+
end
|
252
|
+
end
|
253
|
+
|
254
|
+
# unit tests for delete_app_parameter
|
255
|
+
# @param authorization
|
256
|
+
# @param app_id
|
257
|
+
# @param parameter_id
|
258
|
+
# @param [Hash] opts the optional parameters
|
259
|
+
# @return [nil]
|
260
|
+
describe 'delete_app_parameter test' do
|
261
|
+
it 'should work' do
|
262
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
263
|
+
end
|
264
|
+
end
|
265
|
+
|
266
|
+
# unit tests for delete_authorization_server
|
267
|
+
# @param authorization
|
268
|
+
# @param id
|
269
|
+
# @param [Hash] opts the optional parameters
|
270
|
+
# @return [nil]
|
271
|
+
describe 'delete_authorization_server test' do
|
272
|
+
it 'should work' do
|
273
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
274
|
+
end
|
275
|
+
end
|
276
|
+
|
277
|
+
# unit tests for delete_environment_variable
|
278
|
+
# @param authorization
|
279
|
+
# @param envvar_id Set to the id of the Hook Environment Variable that you want to fetch.
|
280
|
+
# @param [Hash] opts the optional parameters
|
281
|
+
# @return [nil]
|
282
|
+
describe 'delete_environment_variable test' do
|
283
|
+
it 'should work' do
|
284
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
285
|
+
end
|
286
|
+
end
|
287
|
+
|
288
|
+
# unit tests for delete_factor
|
289
|
+
# @param authorization
|
290
|
+
# @param user_id Set to the id of the user.
|
291
|
+
# @param device_id Set to the device_id of the MFA device.
|
292
|
+
# @param [Hash] opts the optional parameters
|
293
|
+
# @return [nil]
|
294
|
+
describe 'delete_factor test' do
|
295
|
+
it 'should work' do
|
296
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
297
|
+
end
|
298
|
+
end
|
299
|
+
|
300
|
+
# unit tests for delete_hook
|
301
|
+
# @param authorization
|
302
|
+
# @param hook_id Set to the id of the Hook that you want to return.
|
303
|
+
# @param [Hash] opts the optional parameters
|
304
|
+
# @return [nil]
|
305
|
+
describe 'delete_hook test' do
|
306
|
+
it 'should work' do
|
307
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
308
|
+
end
|
309
|
+
end
|
310
|
+
|
311
|
+
# unit tests for delete_mapping
|
312
|
+
# @param authorization
|
313
|
+
# @param mapping_id The id of the user mapping to locate.
|
314
|
+
# @param [Hash] opts the optional parameters
|
315
|
+
# @return [nil]
|
316
|
+
describe 'delete_mapping test' do
|
317
|
+
it 'should work' do
|
318
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
319
|
+
end
|
320
|
+
end
|
321
|
+
|
322
|
+
# unit tests for delete_risk_rule
|
323
|
+
# @param authorization
|
324
|
+
# @param risk_rule_id
|
325
|
+
# @param [Hash] opts the optional parameters
|
326
|
+
# @return [RiskRule]
|
327
|
+
describe 'delete_risk_rule test' do
|
328
|
+
it 'should work' do
|
329
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
330
|
+
end
|
331
|
+
end
|
332
|
+
|
333
|
+
# unit tests for delete_role
|
334
|
+
# @param authorization
|
335
|
+
# @param role_id Set to the id of the role you want to return.
|
336
|
+
# @param [Hash] opts the optional parameters
|
337
|
+
# @return [nil]
|
338
|
+
describe 'delete_role test' do
|
339
|
+
it 'should work' do
|
340
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
341
|
+
end
|
342
|
+
end
|
343
|
+
|
344
|
+
# unit tests for delete_rule
|
345
|
+
# @param authorization
|
346
|
+
# @param app_id
|
347
|
+
# @param rule_id The id of the app rule to locate.
|
348
|
+
# @param [Hash] opts the optional parameters
|
349
|
+
# @return [nil]
|
350
|
+
describe 'delete_rule test' do
|
351
|
+
it 'should work' do
|
352
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
353
|
+
end
|
354
|
+
end
|
355
|
+
|
356
|
+
# unit tests for delete_scope
|
357
|
+
# @param authorization
|
358
|
+
# @param id
|
359
|
+
# @param scope_id
|
360
|
+
# @param [Hash] opts the optional parameters
|
361
|
+
# @return [nil]
|
362
|
+
describe 'delete_scope test' do
|
363
|
+
it 'should work' do
|
364
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
365
|
+
end
|
366
|
+
end
|
367
|
+
|
368
|
+
# unit tests for delete_user
|
369
|
+
# @param authorization
|
370
|
+
# @param user_id Set to the id of the user that you want to return.
|
371
|
+
# @param [Hash] opts the optional parameters
|
372
|
+
# @return [nil]
|
373
|
+
describe 'delete_user test' do
|
374
|
+
it 'should work' do
|
375
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
376
|
+
end
|
377
|
+
end
|
378
|
+
|
379
|
+
# unit tests for dry_run_mapping
|
380
|
+
# @param authorization
|
381
|
+
# @param mapping_id The id of the user mapping to locate.
|
382
|
+
# @param request_body Request body is a list of user IDs tested against the mapping conditions to verify that the mapping would be applied
|
383
|
+
# @param [Hash] opts the optional parameters
|
384
|
+
# @return [Array<Object>]
|
385
|
+
describe 'dry_run_mapping test' do
|
386
|
+
it 'should work' do
|
387
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
388
|
+
end
|
389
|
+
end
|
390
|
+
|
391
|
+
# unit tests for enroll_factor
|
392
|
+
# @param authorization
|
393
|
+
# @param user_id Set to the id of the user.
|
394
|
+
# @param enroll_factor_request
|
395
|
+
# @param [Hash] opts the optional parameters
|
396
|
+
# @return [Array<Array>]
|
397
|
+
describe 'enroll_factor test' do
|
398
|
+
it 'should work' do
|
399
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
400
|
+
end
|
401
|
+
end
|
402
|
+
|
403
|
+
# unit tests for generate_mfa_token
|
404
|
+
# @param authorization
|
405
|
+
# @param generate_mfa_token_request
|
406
|
+
# @param [Hash] opts the optional parameters
|
407
|
+
# @return [GenerateMfaToken200Response]
|
408
|
+
describe 'generate_mfa_token test' do
|
409
|
+
it 'should work' do
|
410
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
411
|
+
end
|
412
|
+
end
|
413
|
+
|
414
|
+
# unit tests for generate_saml_assertion
|
415
|
+
# @param authorization
|
416
|
+
# @param generate_saml_assertion_request
|
417
|
+
# @param [Hash] opts the optional parameters
|
418
|
+
# @return [nil]
|
419
|
+
describe 'generate_saml_assertion test' do
|
420
|
+
it 'should work' do
|
421
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
422
|
+
end
|
423
|
+
end
|
424
|
+
|
425
|
+
# unit tests for generate_token
|
426
|
+
# @param authorization
|
427
|
+
# @param generate_token_request
|
428
|
+
# @param [Hash] opts the optional parameters
|
429
|
+
# @return [GenerateToken200Response]
|
430
|
+
describe 'generate_token test' do
|
431
|
+
it 'should work' do
|
432
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
433
|
+
end
|
434
|
+
end
|
435
|
+
|
436
|
+
# unit tests for get_app
|
437
|
+
# @param authorization
|
438
|
+
# @param app_id
|
439
|
+
# @param [Hash] opts the optional parameters
|
440
|
+
# @return [Schema]
|
441
|
+
describe 'get_app test' do
|
442
|
+
it 'should work' do
|
443
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
444
|
+
end
|
445
|
+
end
|
446
|
+
|
447
|
+
# unit tests for get_authorization_server
|
448
|
+
# @param authorization
|
449
|
+
# @param id
|
450
|
+
# @param [Hash] opts the optional parameters
|
451
|
+
# @return [GetAuthorizationServer200Response]
|
452
|
+
describe 'get_authorization_server test' do
|
453
|
+
it 'should work' do
|
454
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
455
|
+
end
|
456
|
+
end
|
457
|
+
|
458
|
+
# unit tests for get_available_factors
|
459
|
+
# @param authorization
|
460
|
+
# @param user_id Set to the id of the user.
|
461
|
+
# @param [Hash] opts the optional parameters
|
462
|
+
# @return [Array<GetAvailableFactors200ResponseInner>]
|
463
|
+
describe 'get_available_factors test' do
|
464
|
+
it 'should work' do
|
465
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
466
|
+
end
|
467
|
+
end
|
468
|
+
|
469
|
+
# unit tests for get_client_apps
|
470
|
+
# @param authorization
|
471
|
+
# @param id
|
472
|
+
# @param [Hash] opts the optional parameters
|
473
|
+
# @return [Array<GetClientApps200ResponseInner>]
|
474
|
+
describe 'get_client_apps test' do
|
475
|
+
it 'should work' do
|
476
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
477
|
+
end
|
478
|
+
end
|
479
|
+
|
480
|
+
# unit tests for get_enrolled_factors
|
481
|
+
# @param authorization
|
482
|
+
# @param user_id Set to the id of the user.
|
483
|
+
# @param [Hash] opts the optional parameters
|
484
|
+
# @return [Array<Device>]
|
485
|
+
describe 'get_enrolled_factors test' do
|
486
|
+
it 'should work' do
|
487
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
488
|
+
end
|
489
|
+
end
|
490
|
+
|
491
|
+
# unit tests for get_environment_variable
|
492
|
+
# @param authorization
|
493
|
+
# @param envvar_id Set to the id of the Hook Environment Variable that you want to fetch.
|
494
|
+
# @param [Hash] opts the optional parameters
|
495
|
+
# @return [Envvar]
|
496
|
+
describe 'get_environment_variable test' do
|
497
|
+
it 'should work' do
|
498
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
499
|
+
end
|
500
|
+
end
|
501
|
+
|
502
|
+
# unit tests for get_hook
|
503
|
+
# @param authorization
|
504
|
+
# @param hook_id Set to the id of the Hook that you want to return.
|
505
|
+
# @param [Hash] opts the optional parameters
|
506
|
+
# @return [Hook]
|
507
|
+
describe 'get_hook test' do
|
508
|
+
it 'should work' do
|
509
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
510
|
+
end
|
511
|
+
end
|
512
|
+
|
513
|
+
# unit tests for get_logs
|
514
|
+
# @param authorization
|
515
|
+
# @param hook_id Set to the id of the Hook that you want to return.
|
516
|
+
# @param [Hash] opts the optional parameters
|
517
|
+
# @option opts [Integer] :limit The total number of items returned per page. The maximum limit varies between endpoints, see the relevant endpoint documentation for the specific limit.
|
518
|
+
# @option opts [Integer] :page The page number of results to return.
|
519
|
+
# @option opts [String] :cursor Set to the value extracted from Before-Cursor or After-Cursor headers to return the previous or next page.
|
520
|
+
# @option opts [String] :request_id Returns logs that contain this request_id.
|
521
|
+
# @option opts [String] :correlation_id Returns logs that contain this correlation_id.
|
522
|
+
# @return [Array<Log>]
|
523
|
+
describe 'get_logs test' do
|
524
|
+
it 'should work' do
|
525
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
526
|
+
end
|
527
|
+
end
|
528
|
+
|
529
|
+
# unit tests for get_mapping
|
530
|
+
# @param authorization
|
531
|
+
# @param mapping_id The id of the user mapping to locate.
|
532
|
+
# @param [Hash] opts the optional parameters
|
533
|
+
# @return [Mapping]
|
534
|
+
describe 'get_mapping test' do
|
535
|
+
it 'should work' do
|
536
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
537
|
+
end
|
538
|
+
end
|
539
|
+
|
540
|
+
# unit tests for get_rate_limit
|
541
|
+
# @param authorization
|
542
|
+
# @param [Hash] opts the optional parameters
|
543
|
+
# @return [GetRateLimit200Response]
|
544
|
+
describe 'get_rate_limit test' do
|
545
|
+
it 'should work' do
|
546
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
547
|
+
end
|
548
|
+
end
|
549
|
+
|
550
|
+
# unit tests for get_risk_rule
|
551
|
+
# @param authorization
|
552
|
+
# @param risk_rule_id
|
553
|
+
# @param [Hash] opts the optional parameters
|
554
|
+
# @return [nil]
|
555
|
+
describe 'get_risk_rule test' do
|
556
|
+
it 'should work' do
|
557
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
558
|
+
end
|
559
|
+
end
|
560
|
+
|
561
|
+
# unit tests for get_risk_score
|
562
|
+
# @param authorization
|
563
|
+
# @param get_risk_score_request
|
564
|
+
# @param [Hash] opts the optional parameters
|
565
|
+
# @return [GetRiskScore200Response]
|
566
|
+
describe 'get_risk_score test' do
|
567
|
+
it 'should work' do
|
568
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
569
|
+
end
|
570
|
+
end
|
571
|
+
|
572
|
+
# unit tests for get_role
|
573
|
+
# @param authorization
|
574
|
+
# @param role_id Set to the id of the role you want to return.
|
575
|
+
# @param [Hash] opts the optional parameters
|
576
|
+
# @return [Role]
|
577
|
+
describe 'get_role test' do
|
578
|
+
it 'should work' do
|
579
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
580
|
+
end
|
581
|
+
end
|
582
|
+
|
583
|
+
# unit tests for get_role_admins
|
584
|
+
# @param authorization
|
585
|
+
# @param role_id Set to the id of the role you want to return.
|
586
|
+
# @param [Hash] opts the optional parameters
|
587
|
+
# @option opts [Integer] :limit The total number of items returned per page. The maximum limit varies between endpoints, see the relevant endpoint documentation for the specific limit.
|
588
|
+
# @option opts [Integer] :page The page number of results to return.
|
589
|
+
# @option opts [String] :cursor Set to the value extracted from Before-Cursor or After-Cursor headers to return the previous or next page.
|
590
|
+
# @option opts [String] :name Allows you to filter on first name, last name, username, and email address.
|
591
|
+
# @option opts [Boolean] :include_unassigned Optional. Defaults to false. Include users that aren’t assigned to the role.
|
592
|
+
# @return [Array<Schema1>]
|
593
|
+
describe 'get_role_admins test' do
|
594
|
+
it 'should work' do
|
595
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
596
|
+
end
|
597
|
+
end
|
598
|
+
|
599
|
+
# unit tests for get_role_apps
|
600
|
+
# @param authorization
|
601
|
+
# @param role_id Set to the id of the role you want to return.
|
602
|
+
# @param [Hash] opts the optional parameters
|
603
|
+
# @option opts [Integer] :limit The total number of items returned per page. The maximum limit varies between endpoints, see the relevant endpoint documentation for the specific limit.
|
604
|
+
# @option opts [Integer] :page The page number of results to return.
|
605
|
+
# @option opts [String] :cursor Set to the value extracted from Before-Cursor or After-Cursor headers to return the previous or next page.
|
606
|
+
# @option opts [Boolean] :assigned Optional. Defaults to true. Returns all apps not yet assigned to the role.
|
607
|
+
# @return [Array<Schema>]
|
608
|
+
describe 'get_role_apps test' do
|
609
|
+
it 'should work' do
|
610
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
611
|
+
end
|
612
|
+
end
|
613
|
+
|
614
|
+
# unit tests for get_role_users
|
615
|
+
# @param authorization
|
616
|
+
# @param role_id Set to the id of the role you want to return.
|
617
|
+
# @param [Hash] opts the optional parameters
|
618
|
+
# @option opts [Integer] :limit The total number of items returned per page. The maximum limit varies between endpoints, see the relevant endpoint documentation for the specific limit.
|
619
|
+
# @option opts [Integer] :page The page number of results to return.
|
620
|
+
# @option opts [String] :cursor Set to the value extracted from Before-Cursor or After-Cursor headers to return the previous or next page.
|
621
|
+
# @option opts [String] :name Allows you to filter on first name, last name, username, and email address.
|
622
|
+
# @option opts [Boolean] :include_unassigned Optional. Defaults to false. Include users that aren’t assigned to the role.
|
623
|
+
# @return [Array<Schema1>]
|
624
|
+
describe 'get_role_users test' do
|
625
|
+
it 'should work' do
|
626
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
627
|
+
end
|
628
|
+
end
|
629
|
+
|
630
|
+
# unit tests for get_rule
|
631
|
+
# @param authorization
|
632
|
+
# @param app_id
|
633
|
+
# @param rule_id The id of the app rule to locate.
|
634
|
+
# @param [Hash] opts the optional parameters
|
635
|
+
# @return [Rule]
|
636
|
+
describe 'get_rule test' do
|
637
|
+
it 'should work' do
|
638
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
639
|
+
end
|
640
|
+
end
|
641
|
+
|
642
|
+
# unit tests for get_score_insights
|
643
|
+
# @param authorization
|
644
|
+
# @param [Hash] opts the optional parameters
|
645
|
+
# @option opts [String] :before Optional ISO8601 formatted date string. Defaults to current date. Maximum date is 90 days ago.
|
646
|
+
# @option opts [String] :after Optional ISO8601 formatted date string. Defaults to 30 days ago. Maximum date is 90 days ago.
|
647
|
+
# @return [GetScoreInsights200Response]
|
648
|
+
describe 'get_score_insights test' do
|
649
|
+
it 'should work' do
|
650
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
651
|
+
end
|
652
|
+
end
|
653
|
+
|
654
|
+
# unit tests for get_user
|
655
|
+
# @param authorization
|
656
|
+
# @param user_id Set to the id of the user that you want to return.
|
657
|
+
# @param [Hash] opts the optional parameters
|
658
|
+
# @return [User]
|
659
|
+
describe 'get_user test' do
|
660
|
+
it 'should work' do
|
661
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
662
|
+
end
|
663
|
+
end
|
664
|
+
|
665
|
+
# unit tests for get_user_apps
|
666
|
+
# @param authorization
|
667
|
+
# @param user_id Set to the id of the user that you want to return.
|
668
|
+
# @param [Hash] opts the optional parameters
|
669
|
+
# @option opts [Boolean] :ignore_visibility Defaults to `false`. When `true` will show all apps that are assigned to a user regardless of their portal visibility setting.
|
670
|
+
# @return [Array<GetUserApps200ResponseInner>]
|
671
|
+
describe 'get_user_apps test' do
|
672
|
+
it 'should work' do
|
673
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
674
|
+
end
|
675
|
+
end
|
676
|
+
|
677
|
+
# unit tests for list_access_token_claims
|
678
|
+
# @param authorization
|
679
|
+
# @param id
|
680
|
+
# @param [Hash] opts the optional parameters
|
681
|
+
# @return [Array<ListAccessTokenClaims200ResponseInner>]
|
682
|
+
describe 'list_access_token_claims test' do
|
683
|
+
it 'should work' do
|
684
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
685
|
+
end
|
686
|
+
end
|
687
|
+
|
688
|
+
# unit tests for list_action_values
|
689
|
+
# @param authorization
|
690
|
+
# @param app_id
|
691
|
+
# @param action_value The value for the selected action.
|
692
|
+
# @param [Hash] opts the optional parameters
|
693
|
+
# @return [Array<ListConditionValues200ResponseInner>]
|
694
|
+
describe 'list_action_values test' do
|
695
|
+
it 'should work' do
|
696
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
697
|
+
end
|
698
|
+
end
|
699
|
+
|
700
|
+
# unit tests for list_actions
|
701
|
+
# @param authorization
|
702
|
+
# @param app_id
|
703
|
+
# @param [Hash] opts the optional parameters
|
704
|
+
# @return [Array<ListActions200ResponseInner>]
|
705
|
+
describe 'list_actions test' do
|
706
|
+
it 'should work' do
|
707
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
708
|
+
end
|
709
|
+
end
|
710
|
+
|
711
|
+
# unit tests for list_app_users
|
712
|
+
# @param authorization
|
713
|
+
# @param app_id
|
714
|
+
# @param [Hash] opts the optional parameters
|
715
|
+
# @option opts [Integer] :limit The total number of items returned per page. The maximum limit varies between endpoints, see the relevant endpoint documentation for the specific limit.
|
716
|
+
# @option opts [Integer] :page The page number of results to return.
|
717
|
+
# @option opts [String] :cursor Set to the value extracted from Before-Cursor or After-Cursor headers to return the previous or next page.
|
718
|
+
# @return [Array<ListAppUsers200ResponseInner>]
|
719
|
+
describe 'list_app_users test' do
|
720
|
+
it 'should work' do
|
721
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
722
|
+
end
|
723
|
+
end
|
724
|
+
|
725
|
+
# unit tests for list_apps
|
726
|
+
# @param authorization
|
727
|
+
# @param [Hash] opts the optional parameters
|
728
|
+
# @option opts [Integer] :limit The total number of items returned per page. The maximum limit varies between endpoints, see the relevant endpoint documentation for the specific limit.
|
729
|
+
# @option opts [Integer] :page The page number of results to return.
|
730
|
+
# @option opts [String] :cursor Set to the value extracted from Before-Cursor or After-Cursor headers to return the previous or next page.
|
731
|
+
# @option opts [String] :name The name or partial name of the app to search for. When using a partial name you must append a wildcard `*`
|
732
|
+
# @option opts [Integer] :connector_id Returns all apps based off a specific connector. See List Connectors for a complete list of Connector IDs.
|
733
|
+
# @option opts [AuthMethod] :auth_method Returns all apps based of a given type.
|
734
|
+
# @return [Array<Schema>]
|
735
|
+
describe 'list_apps test' do
|
736
|
+
it 'should work' do
|
737
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
738
|
+
end
|
739
|
+
end
|
740
|
+
|
741
|
+
# unit tests for list_authorization_servers
|
742
|
+
# @param authorization
|
743
|
+
# @param [Hash] opts the optional parameters
|
744
|
+
# @return [Array<ListAuthorizationServers200ResponseInner>]
|
745
|
+
describe 'list_authorization_servers test' do
|
746
|
+
it 'should work' do
|
747
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
748
|
+
end
|
749
|
+
end
|
750
|
+
|
751
|
+
# unit tests for list_condition_operators
|
752
|
+
# @param authorization
|
753
|
+
# @param app_id
|
754
|
+
# @param condition_value The value for the selected condition.
|
755
|
+
# @param [Hash] opts the optional parameters
|
756
|
+
# @return [Array<ListConditionOperators200ResponseInner>]
|
757
|
+
describe 'list_condition_operators test' do
|
758
|
+
it 'should work' do
|
759
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
760
|
+
end
|
761
|
+
end
|
762
|
+
|
763
|
+
# unit tests for list_condition_values
|
764
|
+
# @param authorization
|
765
|
+
# @param app_id
|
766
|
+
# @param condition_value The value for the selected condition.
|
767
|
+
# @param [Hash] opts the optional parameters
|
768
|
+
# @return [Array<ListConditionValues200ResponseInner>]
|
769
|
+
describe 'list_condition_values test' do
|
770
|
+
it 'should work' do
|
771
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
772
|
+
end
|
773
|
+
end
|
774
|
+
|
775
|
+
# unit tests for list_conditions
|
776
|
+
# @param authorization
|
777
|
+
# @param app_id
|
778
|
+
# @param [Hash] opts the optional parameters
|
779
|
+
# @return [Array<ListConditions200ResponseInner>]
|
780
|
+
describe 'list_conditions test' do
|
781
|
+
it 'should work' do
|
782
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
783
|
+
end
|
784
|
+
end
|
785
|
+
|
786
|
+
# unit tests for list_connectors
|
787
|
+
# @param authorization
|
788
|
+
# @param [Hash] opts the optional parameters
|
789
|
+
# @option opts [Integer] :limit The total number of items returned per page. The maximum limit varies between endpoints, see the relevant endpoint documentation for the specific limit.
|
790
|
+
# @option opts [Integer] :page The page number of results to return.
|
791
|
+
# @option opts [String] :cursor Set to the value extracted from Before-Cursor or After-Cursor headers to return the previous or next page.
|
792
|
+
# @option opts [String] :name The name or partial name of the connector to search for. When using a partial name you must append a wildcard `*`
|
793
|
+
# @option opts [AuthMethod] :auth_method Returns all connectors of a given type.
|
794
|
+
# @return [Array<Connector>]
|
795
|
+
describe 'list_connectors test' do
|
796
|
+
it 'should work' do
|
797
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
798
|
+
end
|
799
|
+
end
|
800
|
+
|
801
|
+
# unit tests for list_environment_variables
|
802
|
+
# @param authorization
|
803
|
+
# @param [Hash] opts the optional parameters
|
804
|
+
# @option opts [Integer] :limit The total number of items returned per page. The maximum limit varies between endpoints, see the relevant endpoint documentation for the specific limit.
|
805
|
+
# @option opts [Integer] :page The page number of results to return.
|
806
|
+
# @option opts [String] :cursor Set to the value extracted from Before-Cursor or After-Cursor headers to return the previous or next page.
|
807
|
+
# @return [Array<Envvar>]
|
808
|
+
describe 'list_environment_variables test' do
|
809
|
+
it 'should work' do
|
810
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
811
|
+
end
|
812
|
+
end
|
813
|
+
|
814
|
+
# unit tests for list_hooks
|
815
|
+
# @param authorization
|
816
|
+
# @param [Hash] opts the optional parameters
|
817
|
+
# @option opts [Integer] :limit The total number of items returned per page. The maximum limit varies between endpoints, see the relevant endpoint documentation for the specific limit.
|
818
|
+
# @option opts [Integer] :page The page number of results to return.
|
819
|
+
# @option opts [String] :cursor Set to the value extracted from Before-Cursor or After-Cursor headers to return the previous or next page.
|
820
|
+
# @return [Array<Hook>]
|
821
|
+
describe 'list_hooks test' do
|
822
|
+
it 'should work' do
|
823
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
824
|
+
end
|
825
|
+
end
|
826
|
+
|
827
|
+
# unit tests for list_mapping_action_values
|
828
|
+
# @param authorization
|
829
|
+
# @param action_value The value for the selected action.
|
830
|
+
# @param [Hash] opts the optional parameters
|
831
|
+
# @return [Array<ListConditionValues200ResponseInner>]
|
832
|
+
describe 'list_mapping_action_values test' do
|
833
|
+
it 'should work' do
|
834
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
835
|
+
end
|
836
|
+
end
|
837
|
+
|
838
|
+
# unit tests for list_mapping_actions
|
839
|
+
# @param authorization
|
840
|
+
# @param [Hash] opts the optional parameters
|
841
|
+
# @return [Array<ListActions200ResponseInner>]
|
842
|
+
describe 'list_mapping_actions test' do
|
843
|
+
it 'should work' do
|
844
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
845
|
+
end
|
846
|
+
end
|
847
|
+
|
848
|
+
# unit tests for list_mapping_condition_operators
|
849
|
+
# @param authorization
|
850
|
+
# @param condition_value The value for the selected condition.
|
851
|
+
# @param [Hash] opts the optional parameters
|
852
|
+
# @return [Array<ListMappingConditionOperators200ResponseInner>]
|
853
|
+
describe 'list_mapping_condition_operators test' do
|
854
|
+
it 'should work' do
|
855
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
856
|
+
end
|
857
|
+
end
|
858
|
+
|
859
|
+
# unit tests for list_mapping_condition_values
|
860
|
+
# @param authorization
|
861
|
+
# @param condition_value The value for the selected condition.
|
862
|
+
# @param [Hash] opts the optional parameters
|
863
|
+
# @return [Array<ListConditionValues200ResponseInner>]
|
864
|
+
describe 'list_mapping_condition_values test' do
|
865
|
+
it 'should work' do
|
866
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
867
|
+
end
|
868
|
+
end
|
869
|
+
|
870
|
+
# unit tests for list_mapping_conditions
|
871
|
+
# @param authorization
|
872
|
+
# @param [Hash] opts the optional parameters
|
873
|
+
# @return [Array<ListMappingConditions200ResponseInner>]
|
874
|
+
describe 'list_mapping_conditions test' do
|
875
|
+
it 'should work' do
|
876
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
877
|
+
end
|
878
|
+
end
|
879
|
+
|
880
|
+
# unit tests for list_mappings
|
881
|
+
# @param authorization
|
882
|
+
# @param [Hash] opts the optional parameters
|
883
|
+
# @option opts [Boolean] :enabled Defaults to true. When set to `false` will return all disabled mappings.
|
884
|
+
# @option opts [String] :has_condition Filters Mappings based on their Conditions.
|
885
|
+
# @option opts [String] :has_condition_type Filters Mappings based on their condition types.
|
886
|
+
# @option opts [String] :has_action Filters Mappings based on their Actions.
|
887
|
+
# @option opts [String] :has_action_type Filters Mappings based on their action types.
|
888
|
+
# @return [Array<Mapping>]
|
889
|
+
describe 'list_mappings test' do
|
890
|
+
it 'should work' do
|
891
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
892
|
+
end
|
893
|
+
end
|
894
|
+
|
895
|
+
# unit tests for list_risk_rules
|
896
|
+
# @param authorization
|
897
|
+
# @param [Hash] opts the optional parameters
|
898
|
+
# @return [nil]
|
899
|
+
describe 'list_risk_rules test' do
|
900
|
+
it 'should work' do
|
901
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
902
|
+
end
|
903
|
+
end
|
904
|
+
|
905
|
+
# unit tests for list_roles
|
906
|
+
# @param authorization
|
907
|
+
# @param [Hash] opts the optional parameters
|
908
|
+
# @option opts [Integer] :limit The total number of items returned per page. The maximum limit varies between endpoints, see the relevant endpoint documentation for the specific limit.
|
909
|
+
# @option opts [Integer] :page The page number of results to return.
|
910
|
+
# @option opts [String] :cursor Set to the value extracted from Before-Cursor or After-Cursor headers to return the previous or next page.
|
911
|
+
# @option opts [String] :name Optional. Filters by role name.
|
912
|
+
# @option opts [String] :app_id Optional. Returns roles that contain this app name.
|
913
|
+
# @option opts [String] :fields Optional. Comma delimited list of fields to return.
|
914
|
+
# @return [Array<Role>]
|
915
|
+
describe 'list_roles test' do
|
916
|
+
it 'should work' do
|
917
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
918
|
+
end
|
919
|
+
end
|
920
|
+
|
921
|
+
# unit tests for list_rules
|
922
|
+
# @param authorization
|
923
|
+
# @param app_id
|
924
|
+
# @param [Hash] opts the optional parameters
|
925
|
+
# @option opts [Boolean] :enabled Defaults to true. When set to `false` will return all disabled rules.
|
926
|
+
# @option opts [String] :has_condition Filters Rules based on their Conditions.
|
927
|
+
# @option opts [String] :has_condition_type Filters Rules based on their condition types.
|
928
|
+
# @option opts [String] :has_action Filters Rules based on their Actions.
|
929
|
+
# @option opts [String] :has_action_type Filters Rules based on their action types.
|
930
|
+
# @return [Array<Rule>]
|
931
|
+
describe 'list_rules test' do
|
932
|
+
it 'should work' do
|
933
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
934
|
+
end
|
935
|
+
end
|
936
|
+
|
937
|
+
# unit tests for list_scopes
|
938
|
+
# @param authorization
|
939
|
+
# @param id
|
940
|
+
# @param [Hash] opts the optional parameters
|
941
|
+
# @return [Array<ListScopes200ResponseInner>]
|
942
|
+
describe 'list_scopes test' do
|
943
|
+
it 'should work' do
|
944
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
945
|
+
end
|
946
|
+
end
|
947
|
+
|
948
|
+
# unit tests for list_users
|
949
|
+
# @param authorization
|
950
|
+
# @param [Hash] opts the optional parameters
|
951
|
+
# @option opts [Integer] :limit The total number of items returned per page. The maximum limit varies between endpoints, see the relevant endpoint documentation for the specific limit.
|
952
|
+
# @option opts [Integer] :page The page number of results to return.
|
953
|
+
# @option opts [String] :cursor Set to the value extracted from Before-Cursor or After-Cursor headers to return the previous or next page.
|
954
|
+
# @option opts [String] :created_since An ISO8601 timestamp value that returns all users created after a given date & time.
|
955
|
+
# @option opts [String] :created_until An ISO8601 timestamp value that returns all users created before a given date & time.
|
956
|
+
# @option opts [String] :updated_since An ISO8601 timestamp value that returns all users updated after a given date & time.
|
957
|
+
# @option opts [String] :updated_until An ISO8601 timestamp value that returns all users updated before a given date & time.
|
958
|
+
# @option opts [String] :last_login_since An ISO8601 timestamp value that returns all users that logged in after a given date & time.
|
959
|
+
# @option opts [String] :last_login_until
|
960
|
+
# @option opts [String] :firstname The first name of the user
|
961
|
+
# @option opts [String] :lastname The last name of the user
|
962
|
+
# @option opts [String] :email The email address of the user
|
963
|
+
# @option opts [String] :username The username for the user
|
964
|
+
# @option opts [String] :samaccountname The AD login name for the user
|
965
|
+
# @option opts [String] :directory_id The ID in OneLogin of the Directory that the user belongs to
|
966
|
+
# @option opts [String] :external_id An external identifier that has been set on the user
|
967
|
+
# @option opts [String] :app_id The ID of a OneLogin Application
|
968
|
+
# @option opts [String] :user_ids A comma separated list of OneLogin User IDs
|
969
|
+
# @option opts [String] :custom_attributes_attribute_name The short name of a custom attribute. Note that the attribute name is prefixed with custom_attributes.
|
970
|
+
# @option opts [String] :fields A comma separated list user attributes to return.
|
971
|
+
# @return [Array<User>]
|
972
|
+
describe 'list_users test' do
|
973
|
+
it 'should work' do
|
974
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
975
|
+
end
|
976
|
+
end
|
977
|
+
|
978
|
+
# unit tests for remove_client_app
|
979
|
+
# @param authorization
|
980
|
+
# @param id
|
981
|
+
# @param client_app_id
|
982
|
+
# @param [Hash] opts the optional parameters
|
983
|
+
# @return [nil]
|
984
|
+
describe 'remove_client_app test' do
|
985
|
+
it 'should work' do
|
986
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
987
|
+
end
|
988
|
+
end
|
989
|
+
|
990
|
+
# unit tests for remove_role_admins
|
991
|
+
# @param authorization
|
992
|
+
# @param role_id Set to the id of the role you want to return.
|
993
|
+
# @param remove_role_users_request
|
994
|
+
# @param [Hash] opts the optional parameters
|
995
|
+
# @return [nil]
|
996
|
+
describe 'remove_role_admins test' do
|
997
|
+
it 'should work' do
|
998
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
999
|
+
end
|
1000
|
+
end
|
1001
|
+
|
1002
|
+
# unit tests for remove_role_users
|
1003
|
+
# @param authorization
|
1004
|
+
# @param role_id Set to the id of the role you want to return.
|
1005
|
+
# @param remove_role_users_request
|
1006
|
+
# @param [Hash] opts the optional parameters
|
1007
|
+
# @return [nil]
|
1008
|
+
describe 'remove_role_users test' do
|
1009
|
+
it 'should work' do
|
1010
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1011
|
+
end
|
1012
|
+
end
|
1013
|
+
|
1014
|
+
# unit tests for revoke_token
|
1015
|
+
# @param authorization
|
1016
|
+
# @param [Hash] opts the optional parameters
|
1017
|
+
# @option opts [RevokeTokenRequest] :revoke_token_request
|
1018
|
+
# @return [GenerateToken400Response]
|
1019
|
+
describe 'revoke_token test' do
|
1020
|
+
it 'should work' do
|
1021
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1022
|
+
end
|
1023
|
+
end
|
1024
|
+
|
1025
|
+
# unit tests for set_role_apps
|
1026
|
+
# @param authorization
|
1027
|
+
# @param role_id Set to the id of the role you want to return.
|
1028
|
+
# @param request_body
|
1029
|
+
# @param [Hash] opts the optional parameters
|
1030
|
+
# @return [Array<SetRoleApps200ResponseInner>]
|
1031
|
+
describe 'set_role_apps test' do
|
1032
|
+
it 'should work' do
|
1033
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1034
|
+
end
|
1035
|
+
end
|
1036
|
+
|
1037
|
+
# unit tests for track_event
|
1038
|
+
# @param authorization
|
1039
|
+
# @param track_event_request
|
1040
|
+
# @param [Hash] opts the optional parameters
|
1041
|
+
# @return [nil]
|
1042
|
+
describe 'track_event test' do
|
1043
|
+
it 'should work' do
|
1044
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1045
|
+
end
|
1046
|
+
end
|
1047
|
+
|
1048
|
+
# unit tests for update_access_token_claim
|
1049
|
+
# @param authorization
|
1050
|
+
# @param id
|
1051
|
+
# @param claim_id
|
1052
|
+
# @param add_access_token_claim_request
|
1053
|
+
# @param [Hash] opts the optional parameters
|
1054
|
+
# @return [Id]
|
1055
|
+
describe 'update_access_token_claim test' do
|
1056
|
+
it 'should work' do
|
1057
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1058
|
+
end
|
1059
|
+
end
|
1060
|
+
|
1061
|
+
# unit tests for update_app
|
1062
|
+
# @param authorization
|
1063
|
+
# @param app_id
|
1064
|
+
# @param schema
|
1065
|
+
# @param [Hash] opts the optional parameters
|
1066
|
+
# @return [Schema]
|
1067
|
+
describe 'update_app test' do
|
1068
|
+
it 'should work' do
|
1069
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1070
|
+
end
|
1071
|
+
end
|
1072
|
+
|
1073
|
+
# unit tests for update_authorization_server
|
1074
|
+
# @param authorization
|
1075
|
+
# @param id
|
1076
|
+
# @param create_authorization_server_request
|
1077
|
+
# @param [Hash] opts the optional parameters
|
1078
|
+
# @return [Id]
|
1079
|
+
describe 'update_authorization_server test' do
|
1080
|
+
it 'should work' do
|
1081
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1082
|
+
end
|
1083
|
+
end
|
1084
|
+
|
1085
|
+
# unit tests for update_client_app
|
1086
|
+
# @param authorization
|
1087
|
+
# @param id
|
1088
|
+
# @param client_app_id
|
1089
|
+
# @param update_client_app_request
|
1090
|
+
# @param [Hash] opts the optional parameters
|
1091
|
+
# @return [ClientApp]
|
1092
|
+
describe 'update_client_app test' do
|
1093
|
+
it 'should work' do
|
1094
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1095
|
+
end
|
1096
|
+
end
|
1097
|
+
|
1098
|
+
# unit tests for update_environment_variable
|
1099
|
+
# @param authorization
|
1100
|
+
# @param envvar_id Set to the id of the Hook Environment Variable that you want to fetch.
|
1101
|
+
# @param update_environment_variable_request
|
1102
|
+
# @param [Hash] opts the optional parameters
|
1103
|
+
# @return [Envvar]
|
1104
|
+
describe 'update_environment_variable test' do
|
1105
|
+
it 'should work' do
|
1106
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1107
|
+
end
|
1108
|
+
end
|
1109
|
+
|
1110
|
+
# unit tests for update_hook
|
1111
|
+
# @param authorization
|
1112
|
+
# @param hook_id Set to the id of the Hook that you want to return.
|
1113
|
+
# @param hook
|
1114
|
+
# @param [Hash] opts the optional parameters
|
1115
|
+
# @return [Hook]
|
1116
|
+
describe 'update_hook test' do
|
1117
|
+
it 'should work' do
|
1118
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1119
|
+
end
|
1120
|
+
end
|
1121
|
+
|
1122
|
+
# unit tests for update_mapping
|
1123
|
+
# @param authorization
|
1124
|
+
# @param mapping_id The id of the user mapping to locate.
|
1125
|
+
# @param mapping
|
1126
|
+
# @param [Hash] opts the optional parameters
|
1127
|
+
# @return [Integer]
|
1128
|
+
describe 'update_mapping test' do
|
1129
|
+
it 'should work' do
|
1130
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1131
|
+
end
|
1132
|
+
end
|
1133
|
+
|
1134
|
+
# unit tests for update_risk_rule
|
1135
|
+
# @param authorization
|
1136
|
+
# @param risk_rule_id
|
1137
|
+
# @param risk_rule
|
1138
|
+
# @param [Hash] opts the optional parameters
|
1139
|
+
# @return [RiskRule]
|
1140
|
+
describe 'update_risk_rule test' do
|
1141
|
+
it 'should work' do
|
1142
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1143
|
+
end
|
1144
|
+
end
|
1145
|
+
|
1146
|
+
# unit tests for update_role
|
1147
|
+
# @param authorization
|
1148
|
+
# @param role_id Set to the id of the role you want to return.
|
1149
|
+
# @param role
|
1150
|
+
# @param [Hash] opts the optional parameters
|
1151
|
+
# @return [UpdateRole200Response]
|
1152
|
+
describe 'update_role test' do
|
1153
|
+
it 'should work' do
|
1154
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1155
|
+
end
|
1156
|
+
end
|
1157
|
+
|
1158
|
+
# unit tests for update_rule
|
1159
|
+
# @param authorization
|
1160
|
+
# @param app_id
|
1161
|
+
# @param rule_id The id of the app rule to locate.
|
1162
|
+
# @param rule
|
1163
|
+
# @param [Hash] opts the optional parameters
|
1164
|
+
# @return [RuleId]
|
1165
|
+
describe 'update_rule test' do
|
1166
|
+
it 'should work' do
|
1167
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1168
|
+
end
|
1169
|
+
end
|
1170
|
+
|
1171
|
+
# unit tests for update_scope
|
1172
|
+
# @param authorization
|
1173
|
+
# @param id
|
1174
|
+
# @param scope_id
|
1175
|
+
# @param add_scope_request
|
1176
|
+
# @param [Hash] opts the optional parameters
|
1177
|
+
# @return [Id]
|
1178
|
+
describe 'update_scope test' do
|
1179
|
+
it 'should work' do
|
1180
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1181
|
+
end
|
1182
|
+
end
|
1183
|
+
|
1184
|
+
# unit tests for update_user
|
1185
|
+
# @param authorization
|
1186
|
+
# @param user_id Set to the id of the user that you want to return.
|
1187
|
+
# @param user
|
1188
|
+
# @param [Hash] opts the optional parameters
|
1189
|
+
# @option opts [String] :mappings Controls how mappings will be applied to the user on creation. Defaults to async.
|
1190
|
+
# @option opts [Boolean] :validate_policy Will passwords validate against the User Policy? Defaults to true.
|
1191
|
+
# @return [User]
|
1192
|
+
describe 'update_user test' do
|
1193
|
+
it 'should work' do
|
1194
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1195
|
+
end
|
1196
|
+
end
|
1197
|
+
|
1198
|
+
# unit tests for verify_enrollment
|
1199
|
+
# @param authorization
|
1200
|
+
# @param user_id Set to the id of the user.
|
1201
|
+
# @param registration_id Set to the uuid of the registration. This was included in the response as part of the initial request in Enroll Factor.
|
1202
|
+
# @param verify_enrollment_request
|
1203
|
+
# @param [Hash] opts the optional parameters
|
1204
|
+
# @return [Array<Registration>]
|
1205
|
+
describe 'verify_enrollment test' do
|
1206
|
+
it 'should work' do
|
1207
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1208
|
+
end
|
1209
|
+
end
|
1210
|
+
|
1211
|
+
# unit tests for verify_enrollment_voice_protect
|
1212
|
+
# @param authorization
|
1213
|
+
# @param user_id Set to the id of the user.
|
1214
|
+
# @param registration_id Set to the uuid of the registration. This was included in the response as part of the initial request in Enroll Factor.
|
1215
|
+
# @param [Hash] opts the optional parameters
|
1216
|
+
# @return [Array<Registration>]
|
1217
|
+
describe 'verify_enrollment_voice_protect test' do
|
1218
|
+
it 'should work' do
|
1219
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1220
|
+
end
|
1221
|
+
end
|
1222
|
+
|
1223
|
+
# unit tests for verify_factor
|
1224
|
+
# @param authorization
|
1225
|
+
# @param user_id Set to the id of the user.
|
1226
|
+
# @param verification_id The verification_id is returned on activation of the factor or you can get the device_id using the Activate Factor API call.
|
1227
|
+
# @param verify_factor_request
|
1228
|
+
# @param [Hash] opts the optional parameters
|
1229
|
+
# @return [Status2]
|
1230
|
+
describe 'verify_factor test' do
|
1231
|
+
it 'should work' do
|
1232
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1233
|
+
end
|
1234
|
+
end
|
1235
|
+
|
1236
|
+
# unit tests for verify_factor_saml
|
1237
|
+
# @param authorization
|
1238
|
+
# @param verify_factor_saml_request
|
1239
|
+
# @param [Hash] opts the optional parameters
|
1240
|
+
# @return [VerifyFactorSaml200Response]
|
1241
|
+
describe 'verify_factor_saml test' do
|
1242
|
+
it 'should work' do
|
1243
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1244
|
+
end
|
1245
|
+
end
|
1246
|
+
|
1247
|
+
# unit tests for verify_factor_voice
|
1248
|
+
# @param authorization
|
1249
|
+
# @param user_id Set to the id of the user.
|
1250
|
+
# @param verification_id The verification_id is returned on activation of the factor or you can get the device_id using the Activate Factor API call.
|
1251
|
+
# @param [Hash] opts the optional parameters
|
1252
|
+
# @return [Array<VerifyFactorVoice200ResponseInner>]
|
1253
|
+
describe 'verify_factor_voice test' do
|
1254
|
+
it 'should work' do
|
1255
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1256
|
+
end
|
1257
|
+
end
|
1258
|
+
|
1259
|
+
end
|