@workos-inc/node 7.13.0 → 7.14.0
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.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare enum ConnectionType {
|
|
2
2
|
ADFSSAML = "ADFSSAML",
|
|
3
3
|
AdpOidc = "AdpOidc",
|
|
4
|
+
AppleOAuth = "AppleOAuth",
|
|
4
5
|
Auth0SAML = "Auth0SAML",
|
|
5
6
|
AzureSAML = "AzureSAML",
|
|
6
7
|
CasSAML = "CasSAML",
|
|
@@ -10,6 +11,7 @@ export declare enum ConnectionType {
|
|
|
10
11
|
DuoSAML = "DuoSAML",
|
|
11
12
|
GenericOIDC = "GenericOIDC",
|
|
12
13
|
GenericSAML = "GenericSAML",
|
|
14
|
+
GitHubOAuth = "GitHubOAuth",
|
|
13
15
|
GoogleOAuth = "GoogleOAuth",
|
|
14
16
|
GoogleSAML = "GoogleSAML",
|
|
15
17
|
JumpCloudSAML = "JumpCloudSAML",
|
|
@@ -5,6 +5,7 @@ var ConnectionType;
|
|
|
5
5
|
(function (ConnectionType) {
|
|
6
6
|
ConnectionType["ADFSSAML"] = "ADFSSAML";
|
|
7
7
|
ConnectionType["AdpOidc"] = "AdpOidc";
|
|
8
|
+
ConnectionType["AppleOAuth"] = "AppleOAuth";
|
|
8
9
|
ConnectionType["Auth0SAML"] = "Auth0SAML";
|
|
9
10
|
ConnectionType["AzureSAML"] = "AzureSAML";
|
|
10
11
|
ConnectionType["CasSAML"] = "CasSAML";
|
|
@@ -14,6 +15,7 @@ var ConnectionType;
|
|
|
14
15
|
ConnectionType["DuoSAML"] = "DuoSAML";
|
|
15
16
|
ConnectionType["GenericOIDC"] = "GenericOIDC";
|
|
16
17
|
ConnectionType["GenericSAML"] = "GenericSAML";
|
|
18
|
+
ConnectionType["GitHubOAuth"] = "GitHubOAuth";
|
|
17
19
|
ConnectionType["GoogleOAuth"] = "GoogleOAuth";
|
|
18
20
|
ConnectionType["GoogleSAML"] = "GoogleSAML";
|
|
19
21
|
ConnectionType["JumpCloudSAML"] = "JumpCloudSAML";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Impersonator, ImpersonatorResponse } from './impersonator.interface';
|
|
2
2
|
import { User, UserResponse } from './user.interface';
|
|
3
|
-
type AuthenticationMethod = 'SSO' | 'Password' | 'GitHubOAuth' | 'GoogleOAuth' | 'MicrosoftOAuth' | 'MagicAuth' | 'Impersonation';
|
|
3
|
+
type AuthenticationMethod = 'SSO' | 'Password' | 'AppleOAuth' | 'GitHubOAuth' | 'GoogleOAuth' | 'MicrosoftOAuth' | 'MagicAuth' | 'Impersonation';
|
|
4
4
|
export interface AuthenticationResponse {
|
|
5
5
|
user: User;
|
|
6
6
|
organizationId?: string;
|
package/lib/workos.js
CHANGED
|
@@ -26,7 +26,7 @@ const bad_request_exception_1 = require("./common/exceptions/bad-request.excepti
|
|
|
26
26
|
const http_client_1 = require("./common/net/http-client");
|
|
27
27
|
const subtle_crypto_provider_1 = require("./common/crypto/subtle-crypto-provider");
|
|
28
28
|
const fetch_client_1 = require("./common/net/fetch-client");
|
|
29
|
-
const VERSION = '7.
|
|
29
|
+
const VERSION = '7.14.0';
|
|
30
30
|
const DEFAULT_HOSTNAME = 'api.workos.com';
|
|
31
31
|
class WorkOS {
|
|
32
32
|
constructor(key, options = {}) {
|
package/package.json
CHANGED