@frontegg/rest-api 3.0.31 → 3.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{ContextHolder.d.ts → ContextHolder/index.d.ts} +2 -2
- package/{ContextHolder.js → ContextHolder/index.js} +0 -0
- package/ContextHolder/package.json +6 -0
- package/index.js +1 -1
- package/node/{ContextHolder.js → ContextHolder/index.js} +0 -0
- package/node/index.js +1 -1
- package/node/routers.js +5 -3
- package/package.json +1 -1
- package/routers.d.ts +1 -0
- package/routers.js +3 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IUserProfile } from '
|
|
2
|
-
import { ContextOptions, RedirectOptions } from '
|
|
1
|
+
import { IUserProfile } from '../teams/interfaces';
|
|
2
|
+
import { ContextOptions, RedirectOptions } from '../interfaces';
|
|
3
3
|
export declare class ContextHolder {
|
|
4
4
|
private static instance;
|
|
5
5
|
private context;
|
|
File without changes
|
package/index.js
CHANGED
|
File without changes
|
package/node/index.js
CHANGED
package/node/routers.js
CHANGED
|
@@ -3,11 +3,13 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.fronteggRefreshTokenUrl = exports.fronteggAuthApiRoutes = void 0;
|
|
6
|
+
exports.fronteggSilentRefreshTokenUrl = exports.fronteggRefreshTokenUrl = exports.fronteggAuthApiRoutes = void 0;
|
|
7
7
|
|
|
8
8
|
var _constants = require("./constants");
|
|
9
9
|
|
|
10
|
-
const fronteggAuthApiRoutes = [`${_constants.urls.identity.auth.v1}/logout`, `${_constants.urls.identity.auth.v1}/user/saml/postlogin`, `${_constants.urls.identity.auth.v2}/user/oidc/postlogin`, `${_constants.urls.identity.auth.v1}/user`, `${_constants.urls.identity.auth.v1}/user/mfa/verify`, `${_constants.urls.identity.auth.v1}/user/token/refresh`, `${_constants.urls.identity.users.v1}`, `${_constants.urls.identity.auth.v1}/passwordless/magiclink/postlogin`, `${_constants.urls.identity.auth.v1}/passwordless/code/postlogin`, `${_constants.urls.identity.auth.v1}/passwordless/smscode/postlogin`, `${_constants.urls.identity.users.v1}/activate`, `${_constants.urls.identity.users.v1}/invitation/accept`];
|
|
10
|
+
const fronteggAuthApiRoutes = [`${_constants.urls.identity.auth.v1}/logout`, `${_constants.urls.identity.auth.v1}/user/saml/postlogin`, `${_constants.urls.identity.auth.v2}/user/oidc/postlogin`, `${_constants.urls.identity.auth.v1}/user`, `${_constants.urls.identity.auth.v1}/user/mfa/verify`, `${_constants.urls.identity.auth.v1}/user/token/refresh`, `${_constants.urls.identity.users.v1}`, `${_constants.urls.identity.auth.v1}/passwordless/magiclink/postlogin`, `${_constants.urls.identity.auth.v1}/passwordless/code/postlogin`, `${_constants.urls.identity.auth.v1}/passwordless/smscode/postlogin`, `${_constants.urls.identity.users.v1}/activate`, `${_constants.urls.identity.users.v1}/invitation/accept`, `${_constants.urls.oauth.v1}/token`, `${_constants.urls.oauth.v1}/authorize/silent`];
|
|
11
11
|
exports.fronteggAuthApiRoutes = fronteggAuthApiRoutes;
|
|
12
12
|
const fronteggRefreshTokenUrl = `${_constants.urls.identity.auth.v1}/user/token/refresh`;
|
|
13
|
-
exports.fronteggRefreshTokenUrl = fronteggRefreshTokenUrl;
|
|
13
|
+
exports.fronteggRefreshTokenUrl = fronteggRefreshTokenUrl;
|
|
14
|
+
const fronteggSilentRefreshTokenUrl = `${_constants.urls.oauth.v1}/authorize/silent`;
|
|
15
|
+
exports.fronteggSilentRefreshTokenUrl = fronteggSilentRefreshTokenUrl;
|
package/package.json
CHANGED
package/routers.d.ts
CHANGED
package/routers.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { urls } from './constants';
|
|
2
|
-
export const fronteggAuthApiRoutes = [`${urls.identity.auth.v1}/logout`, `${urls.identity.auth.v1}/user/saml/postlogin`, `${urls.identity.auth.v2}/user/oidc/postlogin`, `${urls.identity.auth.v1}/user`, `${urls.identity.auth.v1}/user/mfa/verify`, `${urls.identity.auth.v1}/user/token/refresh`, `${urls.identity.users.v1}`, `${urls.identity.auth.v1}/passwordless/magiclink/postlogin`, `${urls.identity.auth.v1}/passwordless/code/postlogin`, `${urls.identity.auth.v1}/passwordless/smscode/postlogin`, `${urls.identity.users.v1}/activate`, `${urls.identity.users.v1}/invitation/accept`];
|
|
3
|
-
export const fronteggRefreshTokenUrl = `${urls.identity.auth.v1}/user/token/refresh`;
|
|
2
|
+
export const fronteggAuthApiRoutes = [`${urls.identity.auth.v1}/logout`, `${urls.identity.auth.v1}/user/saml/postlogin`, `${urls.identity.auth.v2}/user/oidc/postlogin`, `${urls.identity.auth.v1}/user`, `${urls.identity.auth.v1}/user/mfa/verify`, `${urls.identity.auth.v1}/user/token/refresh`, `${urls.identity.users.v1}`, `${urls.identity.auth.v1}/passwordless/magiclink/postlogin`, `${urls.identity.auth.v1}/passwordless/code/postlogin`, `${urls.identity.auth.v1}/passwordless/smscode/postlogin`, `${urls.identity.users.v1}/activate`, `${urls.identity.users.v1}/invitation/accept`, `${urls.oauth.v1}/token`, `${urls.oauth.v1}/authorize/silent`];
|
|
3
|
+
export const fronteggRefreshTokenUrl = `${urls.identity.auth.v1}/user/token/refresh`;
|
|
4
|
+
export const fronteggSilentRefreshTokenUrl = `${urls.oauth.v1}/authorize/silent`;
|