@structured-id/proto 0.1.1 → 0.2.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.
- package/CHANGELOG.md +7 -0
- package/dist/generated/sid/v1/authn/auth.client.d.ts +46 -3
- package/dist/generated/sid/v1/authn/auth.client.js +73 -49
- package/dist/generated/sid/v1/authn/auth.client.js.map +1 -1
- package/dist/generated/sid/v1/authn/auth.d.ts +42 -27
- package/dist/generated/sid/v1/authn/auth.js +39 -50
- package/dist/generated/sid/v1/authn/auth.js.map +1 -1
- package/dist/generated/sid/v1/authn/password_history.client.d.ts +68 -0
- package/dist/generated/sid/v1/authn/password_history.client.js +36 -0
- package/dist/generated/sid/v1/authn/password_history.client.js.map +1 -1
- package/dist/generated/sid/v1/authn/password_history.d.ts +254 -0
- package/dist/generated/sid/v1/authn/password_history.js +348 -2
- package/dist/generated/sid/v1/authn/password_history.js.map +1 -1
- package/dist/generated/sid/v1/identity/identity.d.ts +118 -0
- package/dist/generated/sid/v1/identity/identity.js +143 -1
- package/dist/generated/sid/v1/identity/identity.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.2.0](https://github.com/structured-id/sdk/compare/typescript-proto-v0.1.1...typescript-proto-v0.2.0) (2026-10-10)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **proto:** password change with the current password ([#10](https://github.com/structured-id/sdk/issues/10)) ([92ca841](https://github.com/structured-id/sdk/commit/92ca841115dc9a164c90693b286022d40366f8f9)), closes [#9](https://github.com/structured-id/sdk/issues/9)
|
|
9
|
+
|
|
3
10
|
## 0.1.1 (2026-10-09)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -95,7 +95,8 @@ import type { WebAuthnRegistrationFinishResponse } from "./auth.js";
|
|
|
95
95
|
import type { WebAuthnRegistrationFinishRequest } from "./auth.js";
|
|
96
96
|
import type { WebAuthnRegistrationStartResponse } from "./auth.js";
|
|
97
97
|
import type { WebAuthnRegistrationStartRequest } from "./auth.js";
|
|
98
|
-
import type {
|
|
98
|
+
import type { Duration } from "../../../google/protobuf/duration.js";
|
|
99
|
+
import type { Empty } from "../../../google/protobuf/empty.js";
|
|
99
100
|
import type { PasswordChangeFinishRequest } from "./auth.js";
|
|
100
101
|
import type { PasswordChangeExecuteResponse } from "./auth.js";
|
|
101
102
|
import type { PasswordChangeExecuteRequest } from "./auth.js";
|
|
@@ -141,6 +142,9 @@ export interface IAuthServiceClient {
|
|
|
141
142
|
opaqueLoginFinish(input: OpaqueLoginFinishRequest, options?: RpcOptions): UnaryCall<OpaqueLoginFinishRequest, OpaqueLoginFinishResponse>;
|
|
142
143
|
/**
|
|
143
144
|
* OPAQUE-ZKPP: OPAQUE with zero-knowledge password policy proof (Pallas curve).
|
|
145
|
+
* Stores the registration's password operation and prepares its history
|
|
146
|
+
* (which may create or replace the owner's history key), so a retry is a new
|
|
147
|
+
* operation, not the same answer.
|
|
144
148
|
*
|
|
145
149
|
* @generated from protobuf rpc: OpaqueZkppRegistrationStart
|
|
146
150
|
*/
|
|
@@ -150,6 +154,9 @@ export interface IAuthServiceClient {
|
|
|
150
154
|
*/
|
|
151
155
|
opaqueZkppRegistrationFinish(input: OpaqueZkppRegistrationFinishRequest, options?: RpcOptions): UnaryCall<OpaqueZkppRegistrationFinishRequest, OpaqueZkppRegistrationFinishResponse>;
|
|
152
156
|
/**
|
|
157
|
+
* Counts a current-password attempt when the request carries KE1, so a
|
|
158
|
+
* retry is not free.
|
|
159
|
+
*
|
|
153
160
|
* @generated from protobuf rpc: PasswordChangeChallenge
|
|
154
161
|
*/
|
|
155
162
|
passwordChangeChallenge(input: PasswordChangeChallengeRequest, options?: RpcOptions): UnaryCall<PasswordChangeChallengeRequest, PasswordChangeChallengeResponse>;
|
|
@@ -158,9 +165,24 @@ export interface IAuthServiceClient {
|
|
|
158
165
|
*/
|
|
159
166
|
passwordChangeExecute(input: PasswordChangeExecuteRequest, options?: RpcOptions): UnaryCall<PasswordChangeExecuteRequest, PasswordChangeExecuteResponse>;
|
|
160
167
|
/**
|
|
168
|
+
* Answers nothing beyond success, so it returns Empty rather than an empty
|
|
169
|
+
* message of its own; this API keeps no type aliases for older clients.
|
|
170
|
+
*
|
|
161
171
|
* @generated from protobuf rpc: PasswordChangeFinish
|
|
162
172
|
*/
|
|
163
|
-
passwordChangeFinish(input: PasswordChangeFinishRequest, options?: RpcOptions): UnaryCall<PasswordChangeFinishRequest,
|
|
173
|
+
passwordChangeFinish(input: PasswordChangeFinishRequest, options?: RpcOptions): UnaryCall<PasswordChangeFinishRequest, Empty>;
|
|
174
|
+
/**
|
|
175
|
+
* How long from the moment of this answer, measured on the server's clock, a
|
|
176
|
+
* password change of the caller's session (from the Bearer token) may still
|
|
177
|
+
* go without proving the current password; zero when it is required now.
|
|
178
|
+
* A client arms a timer rather than comparing wall clocks: this duration
|
|
179
|
+
* less the time its own request took from sending to receiving the answer,
|
|
180
|
+
* so the timer never fires late; it asks for the current password when the
|
|
181
|
+
* timer fires, exactly then and not before.
|
|
182
|
+
*
|
|
183
|
+
* @generated from protobuf rpc: GetPasswordChangeRequirement
|
|
184
|
+
*/
|
|
185
|
+
getPasswordChangeRequirement(input: Empty, options?: RpcOptions): UnaryCall<Empty, Duration>;
|
|
164
186
|
/**
|
|
165
187
|
* WebAuthn (passkeys).
|
|
166
188
|
*
|
|
@@ -439,6 +461,9 @@ export declare class AuthServiceClient implements IAuthServiceClient, ServiceInf
|
|
|
439
461
|
opaqueLoginFinish(input: OpaqueLoginFinishRequest, options?: RpcOptions): UnaryCall<OpaqueLoginFinishRequest, OpaqueLoginFinishResponse>;
|
|
440
462
|
/**
|
|
441
463
|
* OPAQUE-ZKPP: OPAQUE with zero-knowledge password policy proof (Pallas curve).
|
|
464
|
+
* Stores the registration's password operation and prepares its history
|
|
465
|
+
* (which may create or replace the owner's history key), so a retry is a new
|
|
466
|
+
* operation, not the same answer.
|
|
442
467
|
*
|
|
443
468
|
* @generated from protobuf rpc: OpaqueZkppRegistrationStart
|
|
444
469
|
*/
|
|
@@ -448,6 +473,9 @@ export declare class AuthServiceClient implements IAuthServiceClient, ServiceInf
|
|
|
448
473
|
*/
|
|
449
474
|
opaqueZkppRegistrationFinish(input: OpaqueZkppRegistrationFinishRequest, options?: RpcOptions): UnaryCall<OpaqueZkppRegistrationFinishRequest, OpaqueZkppRegistrationFinishResponse>;
|
|
450
475
|
/**
|
|
476
|
+
* Counts a current-password attempt when the request carries KE1, so a
|
|
477
|
+
* retry is not free.
|
|
478
|
+
*
|
|
451
479
|
* @generated from protobuf rpc: PasswordChangeChallenge
|
|
452
480
|
*/
|
|
453
481
|
passwordChangeChallenge(input: PasswordChangeChallengeRequest, options?: RpcOptions): UnaryCall<PasswordChangeChallengeRequest, PasswordChangeChallengeResponse>;
|
|
@@ -456,9 +484,24 @@ export declare class AuthServiceClient implements IAuthServiceClient, ServiceInf
|
|
|
456
484
|
*/
|
|
457
485
|
passwordChangeExecute(input: PasswordChangeExecuteRequest, options?: RpcOptions): UnaryCall<PasswordChangeExecuteRequest, PasswordChangeExecuteResponse>;
|
|
458
486
|
/**
|
|
487
|
+
* Answers nothing beyond success, so it returns Empty rather than an empty
|
|
488
|
+
* message of its own; this API keeps no type aliases for older clients.
|
|
489
|
+
*
|
|
459
490
|
* @generated from protobuf rpc: PasswordChangeFinish
|
|
460
491
|
*/
|
|
461
|
-
passwordChangeFinish(input: PasswordChangeFinishRequest, options?: RpcOptions): UnaryCall<PasswordChangeFinishRequest,
|
|
492
|
+
passwordChangeFinish(input: PasswordChangeFinishRequest, options?: RpcOptions): UnaryCall<PasswordChangeFinishRequest, Empty>;
|
|
493
|
+
/**
|
|
494
|
+
* How long from the moment of this answer, measured on the server's clock, a
|
|
495
|
+
* password change of the caller's session (from the Bearer token) may still
|
|
496
|
+
* go without proving the current password; zero when it is required now.
|
|
497
|
+
* A client arms a timer rather than comparing wall clocks: this duration
|
|
498
|
+
* less the time its own request took from sending to receiving the answer,
|
|
499
|
+
* so the timer never fires late; it asks for the current password when the
|
|
500
|
+
* timer fires, exactly then and not before.
|
|
501
|
+
*
|
|
502
|
+
* @generated from protobuf rpc: GetPasswordChangeRequirement
|
|
503
|
+
*/
|
|
504
|
+
getPasswordChangeRequirement(input: Empty, options?: RpcOptions): UnaryCall<Empty, Duration>;
|
|
462
505
|
/**
|
|
463
506
|
* WebAuthn (passkeys).
|
|
464
507
|
*
|
|
@@ -45,6 +45,9 @@ export class AuthServiceClient {
|
|
|
45
45
|
}
|
|
46
46
|
/**
|
|
47
47
|
* OPAQUE-ZKPP: OPAQUE with zero-knowledge password policy proof (Pallas curve).
|
|
48
|
+
* Stores the registration's password operation and prepares its history
|
|
49
|
+
* (which may create or replace the owner's history key), so a retry is a new
|
|
50
|
+
* operation, not the same answer.
|
|
48
51
|
*
|
|
49
52
|
* @generated from protobuf rpc: OpaqueZkppRegistrationStart
|
|
50
53
|
*/
|
|
@@ -60,6 +63,9 @@ export class AuthServiceClient {
|
|
|
60
63
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
61
64
|
}
|
|
62
65
|
/**
|
|
66
|
+
* Counts a current-password attempt when the request carries KE1, so a
|
|
67
|
+
* retry is not free.
|
|
68
|
+
*
|
|
63
69
|
* @generated from protobuf rpc: PasswordChangeChallenge
|
|
64
70
|
*/
|
|
65
71
|
passwordChangeChallenge(input, options) {
|
|
@@ -74,40 +80,58 @@ export class AuthServiceClient {
|
|
|
74
80
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
75
81
|
}
|
|
76
82
|
/**
|
|
83
|
+
* Answers nothing beyond success, so it returns Empty rather than an empty
|
|
84
|
+
* message of its own; this API keeps no type aliases for older clients.
|
|
85
|
+
*
|
|
77
86
|
* @generated from protobuf rpc: PasswordChangeFinish
|
|
78
87
|
*/
|
|
79
88
|
passwordChangeFinish(input, options) {
|
|
80
89
|
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
|
81
90
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
82
91
|
}
|
|
92
|
+
/**
|
|
93
|
+
* How long from the moment of this answer, measured on the server's clock, a
|
|
94
|
+
* password change of the caller's session (from the Bearer token) may still
|
|
95
|
+
* go without proving the current password; zero when it is required now.
|
|
96
|
+
* A client arms a timer rather than comparing wall clocks: this duration
|
|
97
|
+
* less the time its own request took from sending to receiving the answer,
|
|
98
|
+
* so the timer never fires late; it asks for the current password when the
|
|
99
|
+
* timer fires, exactly then and not before.
|
|
100
|
+
*
|
|
101
|
+
* @generated from protobuf rpc: GetPasswordChangeRequirement
|
|
102
|
+
*/
|
|
103
|
+
getPasswordChangeRequirement(input, options) {
|
|
104
|
+
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
|
105
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
106
|
+
}
|
|
83
107
|
/**
|
|
84
108
|
* WebAuthn (passkeys).
|
|
85
109
|
*
|
|
86
110
|
* @generated from protobuf rpc: WebAuthnRegistrationStart
|
|
87
111
|
*/
|
|
88
112
|
webAuthnRegistrationStart(input, options) {
|
|
89
|
-
const method = this.methods[
|
|
113
|
+
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
|
90
114
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
91
115
|
}
|
|
92
116
|
/**
|
|
93
117
|
* @generated from protobuf rpc: WebAuthnRegistrationFinish
|
|
94
118
|
*/
|
|
95
119
|
webAuthnRegistrationFinish(input, options) {
|
|
96
|
-
const method = this.methods[
|
|
120
|
+
const method = this.methods[11], opt = this._transport.mergeOptions(options);
|
|
97
121
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
98
122
|
}
|
|
99
123
|
/**
|
|
100
124
|
* @generated from protobuf rpc: WebAuthnAuthenticationStart
|
|
101
125
|
*/
|
|
102
126
|
webAuthnAuthenticationStart(input, options) {
|
|
103
|
-
const method = this.methods[
|
|
127
|
+
const method = this.methods[12], opt = this._transport.mergeOptions(options);
|
|
104
128
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
105
129
|
}
|
|
106
130
|
/**
|
|
107
131
|
* @generated from protobuf rpc: WebAuthnAuthenticationFinish
|
|
108
132
|
*/
|
|
109
133
|
webAuthnAuthenticationFinish(input, options) {
|
|
110
|
-
const method = this.methods[
|
|
134
|
+
const method = this.methods[13], opt = this._transport.mergeOptions(options);
|
|
111
135
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
112
136
|
}
|
|
113
137
|
/**
|
|
@@ -124,7 +148,7 @@ export class AuthServiceClient {
|
|
|
124
148
|
* @generated from protobuf rpc: OAuth2Authorize
|
|
125
149
|
*/
|
|
126
150
|
oAuth2Authorize(input, options) {
|
|
127
|
-
const method = this.methods[
|
|
151
|
+
const method = this.methods[14], opt = this._transport.mergeOptions(options);
|
|
128
152
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
129
153
|
}
|
|
130
154
|
/**
|
|
@@ -141,21 +165,21 @@ export class AuthServiceClient {
|
|
|
141
165
|
* @generated from protobuf rpc: OAuth2Token
|
|
142
166
|
*/
|
|
143
167
|
oAuth2Token(input, options) {
|
|
144
|
-
const method = this.methods[
|
|
168
|
+
const method = this.methods[15], opt = this._transport.mergeOptions(options);
|
|
145
169
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
146
170
|
}
|
|
147
171
|
/**
|
|
148
172
|
* @generated from protobuf rpc: OAuth2Introspect
|
|
149
173
|
*/
|
|
150
174
|
oAuth2Introspect(input, options) {
|
|
151
|
-
const method = this.methods[
|
|
175
|
+
const method = this.methods[16], opt = this._transport.mergeOptions(options);
|
|
152
176
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
153
177
|
}
|
|
154
178
|
/**
|
|
155
179
|
* @generated from protobuf rpc: OAuth2Revoke
|
|
156
180
|
*/
|
|
157
181
|
oAuth2Revoke(input, options) {
|
|
158
|
-
const method = this.methods[
|
|
182
|
+
const method = this.methods[17], opt = this._transport.mergeOptions(options);
|
|
159
183
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
160
184
|
}
|
|
161
185
|
/**
|
|
@@ -165,14 +189,14 @@ export class AuthServiceClient {
|
|
|
165
189
|
* @generated from protobuf rpc: StartDeviceAuthorization
|
|
166
190
|
*/
|
|
167
191
|
startDeviceAuthorization(input, options) {
|
|
168
|
-
const method = this.methods[
|
|
192
|
+
const method = this.methods[18], opt = this._transport.mergeOptions(options);
|
|
169
193
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
170
194
|
}
|
|
171
195
|
/**
|
|
172
196
|
* @generated from protobuf rpc: SubmitDeviceUserCode
|
|
173
197
|
*/
|
|
174
198
|
submitDeviceUserCode(input, options) {
|
|
175
|
-
const method = this.methods[
|
|
199
|
+
const method = this.methods[19], opt = this._transport.mergeOptions(options);
|
|
176
200
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
177
201
|
}
|
|
178
202
|
// ── Magic Link (passwordless, corporate profiles) ──
|
|
@@ -180,14 +204,14 @@ export class AuthServiceClient {
|
|
|
180
204
|
* @generated from protobuf rpc: RequestMagicLink
|
|
181
205
|
*/
|
|
182
206
|
requestMagicLink(input, options) {
|
|
183
|
-
const method = this.methods[
|
|
207
|
+
const method = this.methods[20], opt = this._transport.mergeOptions(options);
|
|
184
208
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
185
209
|
}
|
|
186
210
|
/**
|
|
187
211
|
* @generated from protobuf rpc: VerifyMagicLink
|
|
188
212
|
*/
|
|
189
213
|
verifyMagicLink(input, options) {
|
|
190
|
-
const method = this.methods[
|
|
214
|
+
const method = this.methods[21], opt = this._transport.mergeOptions(options);
|
|
191
215
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
192
216
|
}
|
|
193
217
|
/**
|
|
@@ -196,14 +220,14 @@ export class AuthServiceClient {
|
|
|
196
220
|
* @generated from protobuf rpc: LegacyMigrateStart
|
|
197
221
|
*/
|
|
198
222
|
legacyMigrateStart(input, options) {
|
|
199
|
-
const method = this.methods[
|
|
223
|
+
const method = this.methods[22], opt = this._transport.mergeOptions(options);
|
|
200
224
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
201
225
|
}
|
|
202
226
|
/**
|
|
203
227
|
* @generated from protobuf rpc: LegacyMigrateFinish
|
|
204
228
|
*/
|
|
205
229
|
legacyMigrateFinish(input, options) {
|
|
206
|
-
const method = this.methods[
|
|
230
|
+
const method = this.methods[23], opt = this._transport.mergeOptions(options);
|
|
207
231
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
208
232
|
}
|
|
209
233
|
/**
|
|
@@ -212,7 +236,7 @@ export class AuthServiceClient {
|
|
|
212
236
|
* @generated from protobuf rpc: ValidateSession
|
|
213
237
|
*/
|
|
214
238
|
validateSession(input, options) {
|
|
215
|
-
const method = this.methods[
|
|
239
|
+
const method = this.methods[24], opt = this._transport.mergeOptions(options);
|
|
216
240
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
217
241
|
}
|
|
218
242
|
/**
|
|
@@ -221,7 +245,7 @@ export class AuthServiceClient {
|
|
|
221
245
|
* @generated from protobuf rpc: ResolvePrincipal
|
|
222
246
|
*/
|
|
223
247
|
resolvePrincipal(input, options) {
|
|
224
|
-
const method = this.methods[
|
|
248
|
+
const method = this.methods[25], opt = this._transport.mergeOptions(options);
|
|
225
249
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
226
250
|
}
|
|
227
251
|
/**
|
|
@@ -230,7 +254,7 @@ export class AuthServiceClient {
|
|
|
230
254
|
* @generated from protobuf rpc: GetZkppPolicy
|
|
231
255
|
*/
|
|
232
256
|
getZkppPolicy(input, options) {
|
|
233
|
-
const method = this.methods[
|
|
257
|
+
const method = this.methods[26], opt = this._transport.mergeOptions(options);
|
|
234
258
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
235
259
|
}
|
|
236
260
|
/**
|
|
@@ -240,7 +264,7 @@ export class AuthServiceClient {
|
|
|
240
264
|
* @generated from protobuf rpc: SubmitDeferredZkProof
|
|
241
265
|
*/
|
|
242
266
|
submitDeferredZkProof(input, options) {
|
|
243
|
-
const method = this.methods[
|
|
267
|
+
const method = this.methods[27], opt = this._transport.mergeOptions(options);
|
|
244
268
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
245
269
|
}
|
|
246
270
|
// ── MFA TOTP ──
|
|
@@ -248,21 +272,21 @@ export class AuthServiceClient {
|
|
|
248
272
|
* @generated from protobuf rpc: StartTotpEnrollment
|
|
249
273
|
*/
|
|
250
274
|
startTotpEnrollment(input, options) {
|
|
251
|
-
const method = this.methods[
|
|
275
|
+
const method = this.methods[28], opt = this._transport.mergeOptions(options);
|
|
252
276
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
253
277
|
}
|
|
254
278
|
/**
|
|
255
279
|
* @generated from protobuf rpc: FinishTotpEnrollment
|
|
256
280
|
*/
|
|
257
281
|
finishTotpEnrollment(input, options) {
|
|
258
|
-
const method = this.methods[
|
|
282
|
+
const method = this.methods[29], opt = this._transport.mergeOptions(options);
|
|
259
283
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
260
284
|
}
|
|
261
285
|
/**
|
|
262
286
|
* @generated from protobuf rpc: VerifyTotp
|
|
263
287
|
*/
|
|
264
288
|
verifyTotp(input, options) {
|
|
265
|
-
const method = this.methods[
|
|
289
|
+
const method = this.methods[30], opt = this._transport.mergeOptions(options);
|
|
266
290
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
267
291
|
}
|
|
268
292
|
// ── MFA SMS ──
|
|
@@ -270,14 +294,14 @@ export class AuthServiceClient {
|
|
|
270
294
|
* @generated from protobuf rpc: VerifySmsMfa
|
|
271
295
|
*/
|
|
272
296
|
verifySmsMfa(input, options) {
|
|
273
|
-
const method = this.methods[
|
|
297
|
+
const method = this.methods[31], opt = this._transport.mergeOptions(options);
|
|
274
298
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
275
299
|
}
|
|
276
300
|
/**
|
|
277
301
|
* @generated from protobuf rpc: ResendSmsMfa
|
|
278
302
|
*/
|
|
279
303
|
resendSmsMfa(input, options) {
|
|
280
|
-
const method = this.methods[
|
|
304
|
+
const method = this.methods[32], opt = this._transport.mergeOptions(options);
|
|
281
305
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
282
306
|
}
|
|
283
307
|
// ── MFA Recovery Codes ──
|
|
@@ -285,14 +309,14 @@ export class AuthServiceClient {
|
|
|
285
309
|
* @generated from protobuf rpc: GenerateRecoveryCodes
|
|
286
310
|
*/
|
|
287
311
|
generateRecoveryCodes(input, options) {
|
|
288
|
-
const method = this.methods[
|
|
312
|
+
const method = this.methods[33], opt = this._transport.mergeOptions(options);
|
|
289
313
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
290
314
|
}
|
|
291
315
|
/**
|
|
292
316
|
* @generated from protobuf rpc: VerifyRecoveryCode
|
|
293
317
|
*/
|
|
294
318
|
verifyRecoveryCode(input, options) {
|
|
295
|
-
const method = this.methods[
|
|
319
|
+
const method = this.methods[34], opt = this._transport.mergeOptions(options);
|
|
296
320
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
297
321
|
}
|
|
298
322
|
// ── OTP verification (email/phone, non-MFA) ──
|
|
@@ -300,21 +324,21 @@ export class AuthServiceClient {
|
|
|
300
324
|
* @generated from protobuf rpc: RequestOtp
|
|
301
325
|
*/
|
|
302
326
|
requestOtp(input, options) {
|
|
303
|
-
const method = this.methods[
|
|
327
|
+
const method = this.methods[35], opt = this._transport.mergeOptions(options);
|
|
304
328
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
305
329
|
}
|
|
306
330
|
/**
|
|
307
331
|
* @generated from protobuf rpc: VerifyOtp
|
|
308
332
|
*/
|
|
309
333
|
verifyOtp(input, options) {
|
|
310
|
-
const method = this.methods[
|
|
334
|
+
const method = this.methods[36], opt = this._transport.mergeOptions(options);
|
|
311
335
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
312
336
|
}
|
|
313
337
|
/**
|
|
314
338
|
* @generated from protobuf rpc: ResendOtp
|
|
315
339
|
*/
|
|
316
340
|
resendOtp(input, options) {
|
|
317
|
-
const method = this.methods[
|
|
341
|
+
const method = this.methods[37], opt = this._transport.mergeOptions(options);
|
|
318
342
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
319
343
|
}
|
|
320
344
|
// ── Email/Phone verification ──
|
|
@@ -322,21 +346,21 @@ export class AuthServiceClient {
|
|
|
322
346
|
* @generated from protobuf rpc: ResendEmailVerification
|
|
323
347
|
*/
|
|
324
348
|
resendEmailVerification(input, options) {
|
|
325
|
-
const method = this.methods[
|
|
349
|
+
const method = this.methods[38], opt = this._transport.mergeOptions(options);
|
|
326
350
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
327
351
|
}
|
|
328
352
|
/**
|
|
329
353
|
* @generated from protobuf rpc: VerifyPhone
|
|
330
354
|
*/
|
|
331
355
|
verifyPhone(input, options) {
|
|
332
|
-
const method = this.methods[
|
|
356
|
+
const method = this.methods[39], opt = this._transport.mergeOptions(options);
|
|
333
357
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
334
358
|
}
|
|
335
359
|
/**
|
|
336
360
|
* @generated from protobuf rpc: ResendPhoneVerification
|
|
337
361
|
*/
|
|
338
362
|
resendPhoneVerification(input, options) {
|
|
339
|
-
const method = this.methods[
|
|
363
|
+
const method = this.methods[40], opt = this._transport.mergeOptions(options);
|
|
340
364
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
341
365
|
}
|
|
342
366
|
// ── IdP linking ──
|
|
@@ -344,7 +368,7 @@ export class AuthServiceClient {
|
|
|
344
368
|
* @generated from protobuf rpc: ConfirmIdpLink
|
|
345
369
|
*/
|
|
346
370
|
confirmIdpLink(input, options) {
|
|
347
|
-
const method = this.methods[
|
|
371
|
+
const method = this.methods[41], opt = this._transport.mergeOptions(options);
|
|
348
372
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
349
373
|
}
|
|
350
374
|
// ── Organization selector (multi-org login) ──
|
|
@@ -352,14 +376,14 @@ export class AuthServiceClient {
|
|
|
352
376
|
* @generated from protobuf rpc: ListUserOrganizations
|
|
353
377
|
*/
|
|
354
378
|
listUserOrganizations(input, options) {
|
|
355
|
-
const method = this.methods[
|
|
379
|
+
const method = this.methods[42], opt = this._transport.mergeOptions(options);
|
|
356
380
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
357
381
|
}
|
|
358
382
|
/**
|
|
359
383
|
* @generated from protobuf rpc: SelectOrganization
|
|
360
384
|
*/
|
|
361
385
|
selectOrganization(input, options) {
|
|
362
|
-
const method = this.methods[
|
|
386
|
+
const method = this.methods[43], opt = this._transport.mergeOptions(options);
|
|
363
387
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
364
388
|
}
|
|
365
389
|
// ── Terms acceptance ──
|
|
@@ -367,14 +391,14 @@ export class AuthServiceClient {
|
|
|
367
391
|
* @generated from protobuf rpc: GetTerms
|
|
368
392
|
*/
|
|
369
393
|
getTerms(input, options) {
|
|
370
|
-
const method = this.methods[
|
|
394
|
+
const method = this.methods[44], opt = this._transport.mergeOptions(options);
|
|
371
395
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
372
396
|
}
|
|
373
397
|
/**
|
|
374
398
|
* @generated from protobuf rpc: AcceptTerms
|
|
375
399
|
*/
|
|
376
400
|
acceptTerms(input, options) {
|
|
377
|
-
const method = this.methods[
|
|
401
|
+
const method = this.methods[45], opt = this._transport.mergeOptions(options);
|
|
378
402
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
379
403
|
}
|
|
380
404
|
// ── CIBA consent ──
|
|
@@ -382,14 +406,14 @@ export class AuthServiceClient {
|
|
|
382
406
|
* @generated from protobuf rpc: ApproveCiba
|
|
383
407
|
*/
|
|
384
408
|
approveCiba(input, options) {
|
|
385
|
-
const method = this.methods[
|
|
409
|
+
const method = this.methods[46], opt = this._transport.mergeOptions(options);
|
|
386
410
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
387
411
|
}
|
|
388
412
|
/**
|
|
389
413
|
* @generated from protobuf rpc: DenyCiba
|
|
390
414
|
*/
|
|
391
415
|
denyCiba(input, options) {
|
|
392
|
-
const method = this.methods[
|
|
416
|
+
const method = this.methods[47], opt = this._transport.mergeOptions(options);
|
|
393
417
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
394
418
|
}
|
|
395
419
|
// ── Captcha ──
|
|
@@ -397,7 +421,7 @@ export class AuthServiceClient {
|
|
|
397
421
|
* @generated from protobuf rpc: VerifyCaptcha
|
|
398
422
|
*/
|
|
399
423
|
verifyCaptcha(input, options) {
|
|
400
|
-
const method = this.methods[
|
|
424
|
+
const method = this.methods[48], opt = this._transport.mergeOptions(options);
|
|
401
425
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
402
426
|
}
|
|
403
427
|
// ── Dynamic prompt (custom auth steps) ──
|
|
@@ -405,14 +429,14 @@ export class AuthServiceClient {
|
|
|
405
429
|
* @generated from protobuf rpc: GetDynamicPrompt
|
|
406
430
|
*/
|
|
407
431
|
getDynamicPrompt(input, options) {
|
|
408
|
-
const method = this.methods[
|
|
432
|
+
const method = this.methods[49], opt = this._transport.mergeOptions(options);
|
|
409
433
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
410
434
|
}
|
|
411
435
|
/**
|
|
412
436
|
* @generated from protobuf rpc: SubmitDynamicPrompt
|
|
413
437
|
*/
|
|
414
438
|
submitDynamicPrompt(input, options) {
|
|
415
|
-
const method = this.methods[
|
|
439
|
+
const method = this.methods[50], opt = this._transport.mergeOptions(options);
|
|
416
440
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
417
441
|
}
|
|
418
442
|
// ── Step-up authentication ──
|
|
@@ -422,7 +446,7 @@ export class AuthServiceClient {
|
|
|
422
446
|
* @generated from protobuf rpc: RequestStepUp
|
|
423
447
|
*/
|
|
424
448
|
requestStepUp(input, options) {
|
|
425
|
-
const method = this.methods[
|
|
449
|
+
const method = this.methods[51], opt = this._transport.mergeOptions(options);
|
|
426
450
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
427
451
|
}
|
|
428
452
|
/**
|
|
@@ -431,7 +455,7 @@ export class AuthServiceClient {
|
|
|
431
455
|
* @generated from protobuf rpc: CompleteStepUp
|
|
432
456
|
*/
|
|
433
457
|
completeStepUp(input, options) {
|
|
434
|
-
const method = this.methods[
|
|
458
|
+
const method = this.methods[52], opt = this._transport.mergeOptions(options);
|
|
435
459
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
436
460
|
}
|
|
437
461
|
// ── MFA credential management ──
|
|
@@ -442,7 +466,7 @@ export class AuthServiceClient {
|
|
|
442
466
|
* @generated from protobuf rpc: DeleteMfaCredential
|
|
443
467
|
*/
|
|
444
468
|
deleteMfaCredential(input, options) {
|
|
445
|
-
const method = this.methods[
|
|
469
|
+
const method = this.methods[53], opt = this._transport.mergeOptions(options);
|
|
446
470
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
447
471
|
}
|
|
448
472
|
// ── Account deletion confirmation ──
|
|
@@ -450,7 +474,7 @@ export class AuthServiceClient {
|
|
|
450
474
|
* @generated from protobuf rpc: ConfirmAccountDeletion
|
|
451
475
|
*/
|
|
452
476
|
confirmAccountDeletion(input, options) {
|
|
453
|
-
const method = this.methods[
|
|
477
|
+
const method = this.methods[54], opt = this._transport.mergeOptions(options);
|
|
454
478
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
455
479
|
}
|
|
456
480
|
/**
|
|
@@ -459,14 +483,14 @@ export class AuthServiceClient {
|
|
|
459
483
|
* @generated from protobuf rpc: RequestPasswordReset
|
|
460
484
|
*/
|
|
461
485
|
requestPasswordReset(input, options) {
|
|
462
|
-
const method = this.methods[
|
|
486
|
+
const method = this.methods[55], opt = this._transport.mergeOptions(options);
|
|
463
487
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
464
488
|
}
|
|
465
489
|
/**
|
|
466
490
|
* @generated from protobuf rpc: VerifyPasswordReset
|
|
467
491
|
*/
|
|
468
492
|
verifyPasswordReset(input, options) {
|
|
469
|
-
const method = this.methods[
|
|
493
|
+
const method = this.methods[56], opt = this._transport.mergeOptions(options);
|
|
470
494
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
471
495
|
}
|
|
472
496
|
/**
|
|
@@ -476,14 +500,14 @@ export class AuthServiceClient {
|
|
|
476
500
|
* @generated from protobuf rpc: ExecutePasswordReset
|
|
477
501
|
*/
|
|
478
502
|
executePasswordReset(input, options) {
|
|
479
|
-
const method = this.methods[
|
|
503
|
+
const method = this.methods[57], opt = this._transport.mergeOptions(options);
|
|
480
504
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
481
505
|
}
|
|
482
506
|
/**
|
|
483
507
|
* @generated from protobuf rpc: CompletePasswordReset
|
|
484
508
|
*/
|
|
485
509
|
completePasswordReset(input, options) {
|
|
486
|
-
const method = this.methods[
|
|
510
|
+
const method = this.methods[58], opt = this._transport.mergeOptions(options);
|
|
487
511
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
488
512
|
}
|
|
489
513
|
}
|