@scalekit-sdk/node 2.1.4 → 2.1.6
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/buf.gen.yaml +1 -0
- package/lib/auth.d.ts +22 -0
- package/lib/auth.js +65 -0
- package/lib/auth.js.map +1 -0
- package/lib/core.js +1 -1
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.d.ts +16 -0
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.js +20 -0
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/auth/auth_connect.d.ts +118 -0
- package/lib/pkg/grpc/scalekit/v1/auth/auth_connect.js +126 -0
- package/lib/pkg/grpc/scalekit/v1/auth/auth_connect.js.map +1 -0
- package/lib/pkg/grpc/scalekit/v1/auth/auth_pb.d.ts +617 -0
- package/lib/pkg/grpc/scalekit/v1/auth/auth_pb.js +927 -0
- package/lib/pkg/grpc/scalekit/v1/auth/auth_pb.js.map +1 -0
- package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.d.ts +34 -4
- package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.js +43 -6
- package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.d.ts +10 -1
- package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.js +9 -0
- package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.d.ts +277 -2
- package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.js +324 -2
- package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_pb.d.ts +43 -50
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_pb.js +66 -73
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/users/users_pb.d.ts +62 -14
- package/lib/pkg/grpc/scalekit/v1/users/users_pb.js +46 -17
- package/lib/pkg/grpc/scalekit/v1/users/users_pb.js.map +1 -1
- package/lib/scalekit.d.ts +22 -0
- package/lib/scalekit.js +35 -6
- package/lib/scalekit.js.map +1 -1
- package/package.json +1 -1
- package/src/auth.ts +65 -0
- package/src/core.ts +1 -1
- package/src/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.ts +24 -0
- package/src/pkg/grpc/scalekit/v1/auth/auth_connect.ts +125 -0
- package/src/pkg/grpc/scalekit/v1/auth/auth_pb.ts +1183 -0
- package/src/pkg/grpc/scalekit/v1/commons/commons_pb.ts +50 -6
- package/src/pkg/grpc/scalekit/v1/connections/connections_connect.ts +10 -1
- package/src/pkg/grpc/scalekit/v1/connections/connections_pb.ts +504 -1
- package/src/pkg/grpc/scalekit/v1/sessions/sessions_pb.ts +82 -81
- package/src/pkg/grpc/scalekit/v1/users/users_pb.ts +92 -22
- package/src/scalekit.ts +42 -6
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
// @ts-nocheck
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.
|
|
8
|
-
exports.ListAppConnectionsResponse = exports.ListAppConnectionsRequest = exports.Flags = exports.PasswordConnectionConfig = exports.GetConnectionTestResultResponse = exports.GetConnectionTestResultRequest = exports.GetSAMLCertificateDetailsResponse = exports.SAMLCertificateRequest = exports.GetSAMLCertificateDetailsRequest = exports.GetSAMLMetadataResponse = exports.SAMLMetadataRequest = exports.GetSAMLMetadataRequest = exports.GetOIDCMetadataResponse = void 0;
|
|
7
|
+
exports.WebAuthConfiguration_Rp = exports.WebAuthConfiguration = exports.StaticAuthConfig = exports.PasswordLessConfig = exports.OAuthConnectionConfig = exports.OIDCConnectionConfig = exports.ToggleConnectionResponse = exports.ToggleConnectionRequest = exports.ToggleEnvironmentConnectionRequest = exports.SearchOrganizationConnectionsResponse = exports.SearchOrganizationConnectionsRequest = exports.ListOrganizationConnectionsResponse = exports.ListOrganizationConnectionsRequest = exports.ListConnection = exports.ListConnectionsResponse = exports.ListConnectionsRequest = exports.GetConnectionResponse = exports.GetConnectionRequest = exports.GetEnvironmentConnectionRequest = exports.DeleteConnectionRequest = exports.DeleteEnvironmentConnectionRequest = exports.UpdateConnectionResponse = exports.UpdateConnection = exports.UpdateConnectionRequest = exports.UpdateEnvironmentConnectionRequest = exports.CreateConnectionResponse = exports.Connection = exports.CreateConnection = exports.CreateConnectionRequest = exports.CreateEnvironmentConnectionRequest = exports.Provider = exports.GetProvidersResponse = exports.GetProvidersRequest = exports.AssignDomainsToConnectionResponse = exports.AssignDomainsToConnectionRequest = exports.UpdateConnectionUserManagementSettingsResponse = exports.ConnectionUserManagementSettings = exports.UpdateConnectionUserManagementSettingsRequest = exports.ConnectionProvider = exports.ConnectionStatus = exports.ConnectionType = exports.OIDCScope = exports.TokenAuthType = exports.RequestBinding = exports.SAMLSigningOptions = exports.TestResultStatus = exports.PasswordlessType = exports.NameIdFormat = exports.ConfigurationType = exports.CodeChallengeType = void 0;
|
|
8
|
+
exports.ListAppConnectionsResponse = exports.ListAppConnectionsRequest = exports.Flags = exports.PasswordConnectionConfig = exports.GetConnectionTestResultResponse = exports.GetConnectionTestResultRequest = exports.GetSAMLCertificateDetailsResponse = exports.SAMLCertificateRequest = exports.GetSAMLCertificateDetailsRequest = exports.GetSAMLMetadataResponse = exports.SAMLMetadataRequest = exports.GetSAMLMetadataRequest = exports.GetOIDCMetadataResponse = exports.OIDCMetadataRequest = exports.GetOIDCMetadataRequest = exports.IDPCertificate = exports.SAMLConnectionConfigResponse = exports.SAMLConnectionConfigRequest = exports.WebAuthConfiguration_Timeout = exports.WebAuthConfiguration_AuthenticatorSelection = exports.WebAuthConfiguration_Authenticators = exports.WebAuthConfiguration_Attestation = void 0;
|
|
9
9
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
10
10
|
const domains_pb_js_1 = require("../domains/domains_pb.js");
|
|
11
11
|
/**
|
|
@@ -312,6 +312,10 @@ var ConnectionType;
|
|
|
312
312
|
* @generated from enum value: API_KEY = 8;
|
|
313
313
|
*/
|
|
314
314
|
ConnectionType[ConnectionType["API_KEY"] = 8] = "API_KEY";
|
|
315
|
+
/**
|
|
316
|
+
* @generated from enum value: WEBAUTHN = 9;
|
|
317
|
+
*/
|
|
318
|
+
ConnectionType[ConnectionType["WEBAUTHN"] = 9] = "WEBAUTHN";
|
|
315
319
|
})(ConnectionType || (exports.ConnectionType = ConnectionType = {}));
|
|
316
320
|
// Retrieve enum metadata with: proto3.getEnumType(ConnectionType)
|
|
317
321
|
protobuf_1.proto3.util.setEnumType(ConnectionType, "scalekit.v1.connections.ConnectionType", [
|
|
@@ -324,6 +328,7 @@ protobuf_1.proto3.util.setEnumType(ConnectionType, "scalekit.v1.connections.Conn
|
|
|
324
328
|
{ no: 6, name: "BASIC" },
|
|
325
329
|
{ no: 7, name: "BEARER" },
|
|
326
330
|
{ no: 8, name: "API_KEY" },
|
|
331
|
+
{ no: 9, name: "WEBAUTHN" },
|
|
327
332
|
]);
|
|
328
333
|
/**
|
|
329
334
|
* @generated from enum scalekit.v1.connections.ConnectionStatus
|
|
@@ -448,6 +453,92 @@ protobuf_1.proto3.util.setEnumType(ConnectionProvider, "scalekit.v1.connections.
|
|
|
448
453
|
{ no: 15, name: "SCALEKIT" },
|
|
449
454
|
{ no: 16, name: "ADFS" },
|
|
450
455
|
]);
|
|
456
|
+
/**
|
|
457
|
+
* @generated from message scalekit.v1.connections.UpdateConnectionUserManagementSettingsRequest
|
|
458
|
+
*/
|
|
459
|
+
class UpdateConnectionUserManagementSettingsRequest extends protobuf_1.Message {
|
|
460
|
+
constructor(data) {
|
|
461
|
+
super();
|
|
462
|
+
/**
|
|
463
|
+
* @generated from field: string connection_id = 1;
|
|
464
|
+
*/
|
|
465
|
+
this.connectionId = "";
|
|
466
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
467
|
+
}
|
|
468
|
+
static fromBinary(bytes, options) {
|
|
469
|
+
return new UpdateConnectionUserManagementSettingsRequest().fromBinary(bytes, options);
|
|
470
|
+
}
|
|
471
|
+
static fromJson(jsonValue, options) {
|
|
472
|
+
return new UpdateConnectionUserManagementSettingsRequest().fromJson(jsonValue, options);
|
|
473
|
+
}
|
|
474
|
+
static fromJsonString(jsonString, options) {
|
|
475
|
+
return new UpdateConnectionUserManagementSettingsRequest().fromJsonString(jsonString, options);
|
|
476
|
+
}
|
|
477
|
+
static equals(a, b) {
|
|
478
|
+
return protobuf_1.proto3.util.equals(UpdateConnectionUserManagementSettingsRequest, a, b);
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
exports.UpdateConnectionUserManagementSettingsRequest = UpdateConnectionUserManagementSettingsRequest;
|
|
482
|
+
UpdateConnectionUserManagementSettingsRequest.runtime = protobuf_1.proto3;
|
|
483
|
+
UpdateConnectionUserManagementSettingsRequest.typeName = "scalekit.v1.connections.UpdateConnectionUserManagementSettingsRequest";
|
|
484
|
+
UpdateConnectionUserManagementSettingsRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
485
|
+
{ no: 1, name: "connection_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
486
|
+
{ no: 2, name: "settings", kind: "message", T: ConnectionUserManagementSettings },
|
|
487
|
+
]);
|
|
488
|
+
/**
|
|
489
|
+
* @generated from message scalekit.v1.connections.ConnectionUserManagementSettings
|
|
490
|
+
*/
|
|
491
|
+
class ConnectionUserManagementSettings extends protobuf_1.Message {
|
|
492
|
+
constructor(data) {
|
|
493
|
+
super();
|
|
494
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
495
|
+
}
|
|
496
|
+
static fromBinary(bytes, options) {
|
|
497
|
+
return new ConnectionUserManagementSettings().fromBinary(bytes, options);
|
|
498
|
+
}
|
|
499
|
+
static fromJson(jsonValue, options) {
|
|
500
|
+
return new ConnectionUserManagementSettings().fromJson(jsonValue, options);
|
|
501
|
+
}
|
|
502
|
+
static fromJsonString(jsonString, options) {
|
|
503
|
+
return new ConnectionUserManagementSettings().fromJsonString(jsonString, options);
|
|
504
|
+
}
|
|
505
|
+
static equals(a, b) {
|
|
506
|
+
return protobuf_1.proto3.util.equals(ConnectionUserManagementSettings, a, b);
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
exports.ConnectionUserManagementSettings = ConnectionUserManagementSettings;
|
|
510
|
+
ConnectionUserManagementSettings.runtime = protobuf_1.proto3;
|
|
511
|
+
ConnectionUserManagementSettings.typeName = "scalekit.v1.connections.ConnectionUserManagementSettings";
|
|
512
|
+
ConnectionUserManagementSettings.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
513
|
+
{ no: 1, name: "sync_user_profile_on_signin", kind: "message", T: protobuf_1.BoolValue },
|
|
514
|
+
]);
|
|
515
|
+
/**
|
|
516
|
+
* @generated from message scalekit.v1.connections.UpdateConnectionUserManagementSettingsResponse
|
|
517
|
+
*/
|
|
518
|
+
class UpdateConnectionUserManagementSettingsResponse extends protobuf_1.Message {
|
|
519
|
+
constructor(data) {
|
|
520
|
+
super();
|
|
521
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
522
|
+
}
|
|
523
|
+
static fromBinary(bytes, options) {
|
|
524
|
+
return new UpdateConnectionUserManagementSettingsResponse().fromBinary(bytes, options);
|
|
525
|
+
}
|
|
526
|
+
static fromJson(jsonValue, options) {
|
|
527
|
+
return new UpdateConnectionUserManagementSettingsResponse().fromJson(jsonValue, options);
|
|
528
|
+
}
|
|
529
|
+
static fromJsonString(jsonString, options) {
|
|
530
|
+
return new UpdateConnectionUserManagementSettingsResponse().fromJsonString(jsonString, options);
|
|
531
|
+
}
|
|
532
|
+
static equals(a, b) {
|
|
533
|
+
return protobuf_1.proto3.util.equals(UpdateConnectionUserManagementSettingsResponse, a, b);
|
|
534
|
+
}
|
|
535
|
+
}
|
|
536
|
+
exports.UpdateConnectionUserManagementSettingsResponse = UpdateConnectionUserManagementSettingsResponse;
|
|
537
|
+
UpdateConnectionUserManagementSettingsResponse.runtime = protobuf_1.proto3;
|
|
538
|
+
UpdateConnectionUserManagementSettingsResponse.typeName = "scalekit.v1.connections.UpdateConnectionUserManagementSettingsResponse";
|
|
539
|
+
UpdateConnectionUserManagementSettingsResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
540
|
+
{ no: 1, name: "settings", kind: "message", T: ConnectionUserManagementSettings },
|
|
541
|
+
]);
|
|
451
542
|
/**
|
|
452
543
|
* @generated from message scalekit.v1.connections.AssignDomainsToConnectionRequest
|
|
453
544
|
*/
|
|
@@ -806,9 +897,11 @@ Connection.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
806
897
|
{ no: 20, name: "oauth_config", kind: "message", T: OAuthConnectionConfig, oneof: "settings" },
|
|
807
898
|
{ no: 22, name: "passwordless_config", kind: "message", T: PasswordLessConfig, oneof: "settings" },
|
|
808
899
|
{ no: 26, name: "static_config", kind: "message", T: StaticAuthConfig, oneof: "settings" },
|
|
900
|
+
{ no: 27, name: "webauthn_config", kind: "message", T: WebAuthConfiguration, oneof: "settings" },
|
|
809
901
|
{ no: 25, name: "key_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
810
902
|
{ no: 23, name: "provider_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
811
903
|
{ no: 24, name: "domains", kind: "message", T: domains_pb_js_1.Domain, repeated: true },
|
|
904
|
+
{ no: 28, name: "sync_user_profile_on_signin", kind: "message", T: protobuf_1.BoolValue },
|
|
812
905
|
]);
|
|
813
906
|
/**
|
|
814
907
|
* @generated from message scalekit.v1.connections.CreateConnectionResponse
|
|
@@ -966,8 +1059,10 @@ UpdateConnection.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
966
1059
|
{ no: 18, name: "oauth_config", kind: "message", T: OAuthConnectionConfig, oneof: "settings" },
|
|
967
1060
|
{ no: 20, name: "passwordless_config", kind: "message", T: PasswordLessConfig, oneof: "settings" },
|
|
968
1061
|
{ no: 23, name: "static_config", kind: "message", T: StaticAuthConfig, oneof: "settings" },
|
|
1062
|
+
{ no: 24, name: "webauthn_config", kind: "message", T: WebAuthConfiguration, oneof: "settings" },
|
|
969
1063
|
{ no: 22, name: "key_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
970
1064
|
{ no: 21, name: "provider_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1065
|
+
{ no: 25, name: "sync_user_profile_on_signin", kind: "message", T: protobuf_1.BoolValue },
|
|
971
1066
|
]);
|
|
972
1067
|
/**
|
|
973
1068
|
* @generated from message scalekit.v1.connections.UpdateConnectionResponse
|
|
@@ -1730,6 +1825,233 @@ StaticAuthConfig.typeName = "scalekit.v1.connections.StaticAuthConfig";
|
|
|
1730
1825
|
StaticAuthConfig.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1731
1826
|
{ no: 1, name: "static_config", kind: "message", T: protobuf_1.Struct },
|
|
1732
1827
|
]);
|
|
1828
|
+
/**
|
|
1829
|
+
* WebAuthConfiguration defines WebAuthn (passkeys) configuration limited to RP and Attestation
|
|
1830
|
+
*
|
|
1831
|
+
* @generated from message scalekit.v1.connections.WebAuthConfiguration
|
|
1832
|
+
*/
|
|
1833
|
+
class WebAuthConfiguration extends protobuf_1.Message {
|
|
1834
|
+
constructor(data) {
|
|
1835
|
+
super();
|
|
1836
|
+
/**
|
|
1837
|
+
* @generated from field: bool enable_auto_registration = 6;
|
|
1838
|
+
*/
|
|
1839
|
+
this.enableAutoRegistration = false;
|
|
1840
|
+
/**
|
|
1841
|
+
* @generated from field: bool show_passkey_button = 7;
|
|
1842
|
+
*/
|
|
1843
|
+
this.showPasskeyButton = false;
|
|
1844
|
+
/**
|
|
1845
|
+
* @generated from field: bool enable_conditional_login = 8;
|
|
1846
|
+
*/
|
|
1847
|
+
this.enableConditionalLogin = false;
|
|
1848
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1849
|
+
}
|
|
1850
|
+
static fromBinary(bytes, options) {
|
|
1851
|
+
return new WebAuthConfiguration().fromBinary(bytes, options);
|
|
1852
|
+
}
|
|
1853
|
+
static fromJson(jsonValue, options) {
|
|
1854
|
+
return new WebAuthConfiguration().fromJson(jsonValue, options);
|
|
1855
|
+
}
|
|
1856
|
+
static fromJsonString(jsonString, options) {
|
|
1857
|
+
return new WebAuthConfiguration().fromJsonString(jsonString, options);
|
|
1858
|
+
}
|
|
1859
|
+
static equals(a, b) {
|
|
1860
|
+
return protobuf_1.proto3.util.equals(WebAuthConfiguration, a, b);
|
|
1861
|
+
}
|
|
1862
|
+
}
|
|
1863
|
+
exports.WebAuthConfiguration = WebAuthConfiguration;
|
|
1864
|
+
WebAuthConfiguration.runtime = protobuf_1.proto3;
|
|
1865
|
+
WebAuthConfiguration.typeName = "scalekit.v1.connections.WebAuthConfiguration";
|
|
1866
|
+
WebAuthConfiguration.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1867
|
+
{ no: 1, name: "rp", kind: "message", T: WebAuthConfiguration_Rp },
|
|
1868
|
+
{ no: 2, name: "attestation", kind: "message", T: WebAuthConfiguration_Attestation },
|
|
1869
|
+
{ no: 3, name: "authenticators", kind: "message", T: WebAuthConfiguration_Authenticators },
|
|
1870
|
+
{ no: 4, name: "authenticator_selection", kind: "message", T: WebAuthConfiguration_AuthenticatorSelection },
|
|
1871
|
+
{ no: 5, name: "timeout", kind: "message", T: WebAuthConfiguration_Timeout },
|
|
1872
|
+
{ no: 6, name: "enable_auto_registration", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1873
|
+
{ no: 7, name: "show_passkey_button", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1874
|
+
{ no: 8, name: "enable_conditional_login", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1875
|
+
]);
|
|
1876
|
+
/**
|
|
1877
|
+
* Rp contains relying party identifiers and origins
|
|
1878
|
+
*
|
|
1879
|
+
* @generated from message scalekit.v1.connections.WebAuthConfiguration.Rp
|
|
1880
|
+
*/
|
|
1881
|
+
class WebAuthConfiguration_Rp extends protobuf_1.Message {
|
|
1882
|
+
constructor(data) {
|
|
1883
|
+
super();
|
|
1884
|
+
/**
|
|
1885
|
+
* Relying party IDs (derived from environment domain and verified custom domain)
|
|
1886
|
+
* At least one required; must be hostnames without scheme or path
|
|
1887
|
+
*
|
|
1888
|
+
* @generated from field: repeated string ids = 1;
|
|
1889
|
+
*/
|
|
1890
|
+
this.ids = [];
|
|
1891
|
+
/**
|
|
1892
|
+
* Allowed origins corresponding to the RP IDs (https://<domain>)
|
|
1893
|
+
* At least one required; must be HTTPS origins
|
|
1894
|
+
*
|
|
1895
|
+
* @generated from field: repeated string origins = 2;
|
|
1896
|
+
*/
|
|
1897
|
+
this.origins = [];
|
|
1898
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1899
|
+
}
|
|
1900
|
+
static fromBinary(bytes, options) {
|
|
1901
|
+
return new WebAuthConfiguration_Rp().fromBinary(bytes, options);
|
|
1902
|
+
}
|
|
1903
|
+
static fromJson(jsonValue, options) {
|
|
1904
|
+
return new WebAuthConfiguration_Rp().fromJson(jsonValue, options);
|
|
1905
|
+
}
|
|
1906
|
+
static fromJsonString(jsonString, options) {
|
|
1907
|
+
return new WebAuthConfiguration_Rp().fromJsonString(jsonString, options);
|
|
1908
|
+
}
|
|
1909
|
+
static equals(a, b) {
|
|
1910
|
+
return protobuf_1.proto3.util.equals(WebAuthConfiguration_Rp, a, b);
|
|
1911
|
+
}
|
|
1912
|
+
}
|
|
1913
|
+
exports.WebAuthConfiguration_Rp = WebAuthConfiguration_Rp;
|
|
1914
|
+
WebAuthConfiguration_Rp.runtime = protobuf_1.proto3;
|
|
1915
|
+
WebAuthConfiguration_Rp.typeName = "scalekit.v1.connections.WebAuthConfiguration.Rp";
|
|
1916
|
+
WebAuthConfiguration_Rp.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1917
|
+
{ no: 1, name: "ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1918
|
+
{ no: 2, name: "origins", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1919
|
+
]);
|
|
1920
|
+
/**
|
|
1921
|
+
* Attestation preferences for registration
|
|
1922
|
+
*
|
|
1923
|
+
* @generated from message scalekit.v1.connections.WebAuthConfiguration.Attestation
|
|
1924
|
+
*/
|
|
1925
|
+
class WebAuthConfiguration_Attestation extends protobuf_1.Message {
|
|
1926
|
+
constructor(data) {
|
|
1927
|
+
super();
|
|
1928
|
+
/**
|
|
1929
|
+
* Enterprise-approved IDs (optional allowlist when enterprise attestation is used)
|
|
1930
|
+
*
|
|
1931
|
+
* @generated from field: repeated string enterprise_approved_ids = 2;
|
|
1932
|
+
*/
|
|
1933
|
+
this.enterpriseApprovedIds = [];
|
|
1934
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1935
|
+
}
|
|
1936
|
+
static fromBinary(bytes, options) {
|
|
1937
|
+
return new WebAuthConfiguration_Attestation().fromBinary(bytes, options);
|
|
1938
|
+
}
|
|
1939
|
+
static fromJson(jsonValue, options) {
|
|
1940
|
+
return new WebAuthConfiguration_Attestation().fromJson(jsonValue, options);
|
|
1941
|
+
}
|
|
1942
|
+
static fromJsonString(jsonString, options) {
|
|
1943
|
+
return new WebAuthConfiguration_Attestation().fromJsonString(jsonString, options);
|
|
1944
|
+
}
|
|
1945
|
+
static equals(a, b) {
|
|
1946
|
+
return protobuf_1.proto3.util.equals(WebAuthConfiguration_Attestation, a, b);
|
|
1947
|
+
}
|
|
1948
|
+
}
|
|
1949
|
+
exports.WebAuthConfiguration_Attestation = WebAuthConfiguration_Attestation;
|
|
1950
|
+
WebAuthConfiguration_Attestation.runtime = protobuf_1.proto3;
|
|
1951
|
+
WebAuthConfiguration_Attestation.typeName = "scalekit.v1.connections.WebAuthConfiguration.Attestation";
|
|
1952
|
+
WebAuthConfiguration_Attestation.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1953
|
+
{ no: 1, name: "conveyance_preference", kind: "message", T: protobuf_1.StringValue },
|
|
1954
|
+
{ no: 2, name: "enterprise_approved_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1955
|
+
]);
|
|
1956
|
+
/**
|
|
1957
|
+
* @generated from message scalekit.v1.connections.WebAuthConfiguration.Authenticators
|
|
1958
|
+
*/
|
|
1959
|
+
class WebAuthConfiguration_Authenticators extends protobuf_1.Message {
|
|
1960
|
+
constructor(data) {
|
|
1961
|
+
super();
|
|
1962
|
+
/**
|
|
1963
|
+
* @generated from field: repeated string desired_authenticator_status = 6;
|
|
1964
|
+
*/
|
|
1965
|
+
this.desiredAuthenticatorStatus = [];
|
|
1966
|
+
/**
|
|
1967
|
+
* @generated from field: repeated string undesired_authenticator_status = 7;
|
|
1968
|
+
*/
|
|
1969
|
+
this.undesiredAuthenticatorStatus = [];
|
|
1970
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1971
|
+
}
|
|
1972
|
+
static fromBinary(bytes, options) {
|
|
1973
|
+
return new WebAuthConfiguration_Authenticators().fromBinary(bytes, options);
|
|
1974
|
+
}
|
|
1975
|
+
static fromJson(jsonValue, options) {
|
|
1976
|
+
return new WebAuthConfiguration_Authenticators().fromJson(jsonValue, options);
|
|
1977
|
+
}
|
|
1978
|
+
static fromJsonString(jsonString, options) {
|
|
1979
|
+
return new WebAuthConfiguration_Authenticators().fromJsonString(jsonString, options);
|
|
1980
|
+
}
|
|
1981
|
+
static equals(a, b) {
|
|
1982
|
+
return protobuf_1.proto3.util.equals(WebAuthConfiguration_Authenticators, a, b);
|
|
1983
|
+
}
|
|
1984
|
+
}
|
|
1985
|
+
exports.WebAuthConfiguration_Authenticators = WebAuthConfiguration_Authenticators;
|
|
1986
|
+
WebAuthConfiguration_Authenticators.runtime = protobuf_1.proto3;
|
|
1987
|
+
WebAuthConfiguration_Authenticators.typeName = "scalekit.v1.connections.WebAuthConfiguration.Authenticators";
|
|
1988
|
+
WebAuthConfiguration_Authenticators.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1989
|
+
{ no: 1, name: "validate_entry", kind: "message", T: protobuf_1.BoolValue },
|
|
1990
|
+
{ no: 2, name: "validate_entry_permit_zero_aaguid", kind: "message", T: protobuf_1.BoolValue },
|
|
1991
|
+
{ no: 3, name: "validate_anchors", kind: "message", T: protobuf_1.BoolValue },
|
|
1992
|
+
{ no: 4, name: "validate_status", kind: "message", T: protobuf_1.BoolValue },
|
|
1993
|
+
{ no: 5, name: "validate_attestation_type", kind: "message", T: protobuf_1.BoolValue },
|
|
1994
|
+
{ no: 6, name: "desired_authenticator_status", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1995
|
+
{ no: 7, name: "undesired_authenticator_status", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1996
|
+
]);
|
|
1997
|
+
/**
|
|
1998
|
+
* @generated from message scalekit.v1.connections.WebAuthConfiguration.AuthenticatorSelection
|
|
1999
|
+
*/
|
|
2000
|
+
class WebAuthConfiguration_AuthenticatorSelection extends protobuf_1.Message {
|
|
2001
|
+
constructor(data) {
|
|
2002
|
+
super();
|
|
2003
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
2004
|
+
}
|
|
2005
|
+
static fromBinary(bytes, options) {
|
|
2006
|
+
return new WebAuthConfiguration_AuthenticatorSelection().fromBinary(bytes, options);
|
|
2007
|
+
}
|
|
2008
|
+
static fromJson(jsonValue, options) {
|
|
2009
|
+
return new WebAuthConfiguration_AuthenticatorSelection().fromJson(jsonValue, options);
|
|
2010
|
+
}
|
|
2011
|
+
static fromJsonString(jsonString, options) {
|
|
2012
|
+
return new WebAuthConfiguration_AuthenticatorSelection().fromJsonString(jsonString, options);
|
|
2013
|
+
}
|
|
2014
|
+
static equals(a, b) {
|
|
2015
|
+
return protobuf_1.proto3.util.equals(WebAuthConfiguration_AuthenticatorSelection, a, b);
|
|
2016
|
+
}
|
|
2017
|
+
}
|
|
2018
|
+
exports.WebAuthConfiguration_AuthenticatorSelection = WebAuthConfiguration_AuthenticatorSelection;
|
|
2019
|
+
WebAuthConfiguration_AuthenticatorSelection.runtime = protobuf_1.proto3;
|
|
2020
|
+
WebAuthConfiguration_AuthenticatorSelection.typeName = "scalekit.v1.connections.WebAuthConfiguration.AuthenticatorSelection";
|
|
2021
|
+
WebAuthConfiguration_AuthenticatorSelection.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
2022
|
+
{ no: 1, name: "user_verification", kind: "message", T: protobuf_1.StringValue },
|
|
2023
|
+
{ no: 2, name: "authenticator_attachment", kind: "message", T: protobuf_1.StringValue },
|
|
2024
|
+
]);
|
|
2025
|
+
/**
|
|
2026
|
+
* @generated from message scalekit.v1.connections.WebAuthConfiguration.Timeout
|
|
2027
|
+
*/
|
|
2028
|
+
class WebAuthConfiguration_Timeout extends protobuf_1.Message {
|
|
2029
|
+
constructor(data) {
|
|
2030
|
+
super();
|
|
2031
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
2032
|
+
}
|
|
2033
|
+
static fromBinary(bytes, options) {
|
|
2034
|
+
return new WebAuthConfiguration_Timeout().fromBinary(bytes, options);
|
|
2035
|
+
}
|
|
2036
|
+
static fromJson(jsonValue, options) {
|
|
2037
|
+
return new WebAuthConfiguration_Timeout().fromJson(jsonValue, options);
|
|
2038
|
+
}
|
|
2039
|
+
static fromJsonString(jsonString, options) {
|
|
2040
|
+
return new WebAuthConfiguration_Timeout().fromJsonString(jsonString, options);
|
|
2041
|
+
}
|
|
2042
|
+
static equals(a, b) {
|
|
2043
|
+
return protobuf_1.proto3.util.equals(WebAuthConfiguration_Timeout, a, b);
|
|
2044
|
+
}
|
|
2045
|
+
}
|
|
2046
|
+
exports.WebAuthConfiguration_Timeout = WebAuthConfiguration_Timeout;
|
|
2047
|
+
WebAuthConfiguration_Timeout.runtime = protobuf_1.proto3;
|
|
2048
|
+
WebAuthConfiguration_Timeout.typeName = "scalekit.v1.connections.WebAuthConfiguration.Timeout";
|
|
2049
|
+
WebAuthConfiguration_Timeout.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
2050
|
+
{ no: 1, name: "registration", kind: "message", T: protobuf_1.Duration },
|
|
2051
|
+
{ no: 2, name: "registration_uvd", kind: "message", T: protobuf_1.Duration },
|
|
2052
|
+
{ no: 3, name: "login", kind: "message", T: protobuf_1.Duration },
|
|
2053
|
+
{ no: 4, name: "login_uvd", kind: "message", T: protobuf_1.Duration },
|
|
2054
|
+
]);
|
|
1733
2055
|
/**
|
|
1734
2056
|
* @generated from message scalekit.v1.connections.SAMLConnectionConfigRequest
|
|
1735
2057
|
*/
|