descope 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/publish-gem.yaml +30 -5
- data/Gemfile +3 -3
- data/Gemfile.lock +12 -20
- data/README.md +18 -3
- data/descope.gemspec +25 -20
- data/examples/ruby/.ruby-version +1 -0
- data/examples/ruby/access_key_app.rb +4 -3
- data/examples/ruby/enchantedlink_app.rb +1 -0
- data/examples/ruby/magiclink_app.rb +1 -0
- data/examples/ruby/management/.ruby-version +1 -0
- data/examples/ruby/management/Gemfile +2 -2
- data/examples/ruby/management/access_key_app.rb +2 -0
- data/examples/ruby/management/audit_app.rb +32 -8
- data/examples/ruby/management/authz_app.rb +1 -0
- data/examples/ruby/management/flow_app.rb +1 -0
- data/examples/ruby/management/permission_app.rb +3 -2
- data/examples/ruby/management/role_app.rb +3 -2
- data/examples/ruby/management/tenant_app.rb +1 -0
- data/examples/ruby/management/user_app.rb +1 -0
- data/examples/ruby/oauth_app.rb +1 -0
- data/examples/ruby/otp_app.rb +38 -12
- data/examples/ruby/password_app.rb +8 -7
- data/examples/ruby/saml_app.rb +1 -0
- data/examples/ruby/version_check.rb +17 -0
- data/examples/ruby-on-rails-api/descope/Gemfile +3 -1
- data/examples/ruby-on-rails-api/descope/Gemfile.lock +121 -90
- data/examples/ruby-on-rails-api/descope/README.md +18 -18
- data/examples/ruby-on-rails-api/descope/app/assets/builds/application.css +20092 -23
- data/examples/ruby-on-rails-api/descope/app/assets/builds/application.js +0 -1
- data/examples/ruby-on-rails-api/descope/app/assets/builds/components/index.js +0 -14
- data/examples/ruby-on-rails-api/descope/package-lock.json +1021 -19306
- data/examples/ruby-on-rails-api/descope/package.json +8 -16
- data/examples/ruby-on-rails-api/descope/yarn.lock +459 -10641
- data/lib/descope/api/v1/auth/otp.rb +21 -14
- data/lib/descope/api/v1/auth.rb +17 -20
- data/lib/descope/api/v1/management/audit.rb +24 -0
- data/lib/descope/api/v1/management/common.rb +1 -0
- data/lib/descope/mixins/common.rb +5 -2
- data/lib/descope/mixins/validation.rb +21 -6
- data/lib/descope/version.rb +1 -1
- data/spec/integration/lib.descope/api/v1/auth/otp_spec.rb +72 -7
- data/spec/integration/lib.descope/api/v1/management/audit_spec.rb +36 -0
- data/spec/integration/lib.descope/api/v1/management/roles_spec.rb +1 -1
- data/spec/lib.descope/api/v1/auth/otp_spec.rb +176 -18
- data/spec/lib.descope/api/v1/auth_spec.rb +1 -1
- data/spec/lib.descope/api/v1/management/audit_spec.rb +92 -0
- metadata +25 -133
- data/examples/ruby-on-rails-api/descope/app/assets/builds/reportWebVitals.js +0 -211
- data/examples/ruby-on-rails-api/descope/app/assets/builds/reportWebVitals.js.map +0 -7
@@ -40266,7 +40266,6 @@ document.addEventListener("turbo:load", () => {
|
|
40266
40266
|
root.render(
|
40267
40267
|
/* @__PURE__ */ import_react11.default.createElement(import_react11.default.StrictMode, null, /* @__PURE__ */ import_react11.default.createElement(U5, { projectId: "P2aVGmQvQzSLJwP3ttcxO12tmQXk" }, /* @__PURE__ */ import_react11.default.createElement(App_default, null)))
|
40268
40268
|
);
|
40269
|
-
console.log("blah");
|
40270
40269
|
});
|
40271
40270
|
reportWebVitals_default();
|
40272
40271
|
|
@@ -28135,19 +28135,6 @@ var routes_default = /* @__PURE__ */ import_react9.default.createElement(Browser
|
|
28135
28135
|
// app/javascript/components/App.jsx
|
28136
28136
|
var App_default = (props) => /* @__PURE__ */ import_react10.default.createElement(import_react10.default.Fragment, null, routes_default);
|
28137
28137
|
|
28138
|
-
// app/javascript/reportWebVitals.js
|
28139
|
-
var reportWebVitals = (onPerfEntry) => {
|
28140
|
-
if (onPerfEntry && onPerfEntry instanceof Function) {
|
28141
|
-
Promise.resolve().then(() => (init_web_vitals(), web_vitals_exports)).then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {
|
28142
|
-
getCLS(onPerfEntry);
|
28143
|
-
getFID(onPerfEntry);
|
28144
|
-
getFCP(onPerfEntry);
|
28145
|
-
getLCP(onPerfEntry);
|
28146
|
-
getTTFB(onPerfEntry);
|
28147
|
-
});
|
28148
|
-
}
|
28149
|
-
};
|
28150
|
-
var reportWebVitals_default = reportWebVitals;
|
28151
28138
|
|
28152
28139
|
// app/javascript/components/index.jsx
|
28153
28140
|
console.log("index component");
|
@@ -28157,7 +28144,6 @@ document.addEventListener("turbo:load", () => {
|
|
28157
28144
|
root.render(
|
28158
28145
|
/* @__PURE__ */ import_react11.default.createElement(import_react11.default.StrictMode, null, /* @__PURE__ */ import_react11.default.createElement(U5, { projectId: "P2aVGmQvQzSLJwP3ttcxO12tmQXk" }, /* @__PURE__ */ import_react11.default.createElement(App_default, null)))
|
28159
28146
|
);
|
28160
|
-
console.log("blah");
|
28161
28147
|
});
|
28162
28148
|
reportWebVitals_default();
|
28163
28149
|
/*! Bundled license information:
|