@structured-id/proto 0.4.1 → 0.6.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.
@@ -0,0 +1,380 @@
1
+ // @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck
2
+ // @generated from protobuf file "sid/v1/authn/application_session.proto" (package "sid.v1.authn", syntax proto3)
3
+ // tslint:disable
4
+ // @ts-nocheck
5
+ import { HttpBody } from "../../../google/api/httpbody.js";
6
+ import { ServiceType } from "@protobuf-ts/runtime-rpc";
7
+ import { WireType } from "@protobuf-ts/runtime";
8
+ import { UnknownFieldHandler } from "@protobuf-ts/runtime";
9
+ import { reflectionMergePartial } from "@protobuf-ts/runtime";
10
+ import { MessageType } from "@protobuf-ts/runtime";
11
+ /**
12
+ * What became of the grant behind an ended application session.
13
+ *
14
+ * @generated from protobuf enum sid.v1.authn.GrantOutcome
15
+ */
16
+ export var GrantOutcome;
17
+ (function (GrantOutcome) {
18
+ /**
19
+ * @generated from protobuf enum value: GRANT_OUTCOME_UNSPECIFIED = 0;
20
+ */
21
+ GrantOutcome[GrantOutcome["UNSPECIFIED"] = 0] = "UNSPECIFIED";
22
+ /**
23
+ * The issuer revoked it: its refresh token no longer works.
24
+ *
25
+ * @generated from protobuf enum value: GRANT_OUTCOME_REVOKED = 1;
26
+ */
27
+ GrantOutcome[GrantOutcome["REVOKED"] = 1] = "REVOKED";
28
+ /**
29
+ * A grant stood behind the session and the issuer did not revoke it; it
30
+ * lives until it expires, though nobody holds its token any more.
31
+ *
32
+ * @generated from protobuf enum value: GRANT_OUTCOME_NOT_REVOKED = 2;
33
+ */
34
+ GrantOutcome[GrantOutcome["NOT_REVOKED"] = 2] = "NOT_REVOKED";
35
+ /**
36
+ * No grant stood behind the session.
37
+ *
38
+ * @generated from protobuf enum value: GRANT_OUTCOME_NONE = 3;
39
+ */
40
+ GrantOutcome[GrantOutcome["NONE"] = 3] = "NONE";
41
+ /**
42
+ * Not known: the session was already gone, or the revocation's answer was
43
+ * lost after it may have taken effect.
44
+ *
45
+ * @generated from protobuf enum value: GRANT_OUTCOME_UNKNOWN = 4;
46
+ */
47
+ GrantOutcome[GrantOutcome["UNKNOWN"] = 4] = "UNKNOWN";
48
+ })(GrantOutcome || (GrantOutcome = {}));
49
+ // @generated message type with reflection information, may provide speed optimized methods
50
+ class StartSignInRequest$Type extends MessageType {
51
+ constructor() {
52
+ super("sid.v1.authn.StartSignInRequest", [
53
+ { no: 1, name: "rd", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
54
+ ]);
55
+ }
56
+ create(value) {
57
+ const message = globalThis.Object.create((this.messagePrototype));
58
+ message.rd = "";
59
+ if (value !== undefined)
60
+ reflectionMergePartial(this, message, value);
61
+ return message;
62
+ }
63
+ internalBinaryRead(reader, length, options, target) {
64
+ let message = target ?? this.create(), end = reader.pos + length;
65
+ while (reader.pos < end) {
66
+ let [fieldNo, wireType] = reader.tag();
67
+ switch (fieldNo) {
68
+ case /* string rd */ 1:
69
+ message.rd = reader.string();
70
+ break;
71
+ default:
72
+ let u = options.readUnknownField;
73
+ if (u === "throw")
74
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
75
+ let d = reader.skip(wireType);
76
+ if (u !== false)
77
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
78
+ }
79
+ }
80
+ return message;
81
+ }
82
+ internalBinaryWrite(message, writer, options) {
83
+ /* string rd = 1; */
84
+ if (message.rd !== "")
85
+ writer.tag(1, WireType.LengthDelimited).string(message.rd);
86
+ let u = options.writeUnknownFields;
87
+ if (u !== false)
88
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
89
+ return writer;
90
+ }
91
+ }
92
+ /**
93
+ * @generated MessageType for protobuf message sid.v1.authn.StartSignInRequest
94
+ */
95
+ export const StartSignInRequest = new StartSignInRequest$Type();
96
+ // @generated message type with reflection information, may provide speed optimized methods
97
+ class CompleteSignInRequest$Type extends MessageType {
98
+ constructor() {
99
+ super("sid.v1.authn.CompleteSignInRequest", [
100
+ { no: 1, name: "state", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
101
+ { no: 2, name: "code", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
102
+ { no: 3, name: "error", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
103
+ { no: 4, name: "iss", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
104
+ ]);
105
+ }
106
+ create(value) {
107
+ const message = globalThis.Object.create((this.messagePrototype));
108
+ message.state = "";
109
+ if (value !== undefined)
110
+ reflectionMergePartial(this, message, value);
111
+ return message;
112
+ }
113
+ internalBinaryRead(reader, length, options, target) {
114
+ let message = target ?? this.create(), end = reader.pos + length;
115
+ while (reader.pos < end) {
116
+ let [fieldNo, wireType] = reader.tag();
117
+ switch (fieldNo) {
118
+ case /* string state */ 1:
119
+ message.state = reader.string();
120
+ break;
121
+ case /* optional string code */ 2:
122
+ message.code = reader.string();
123
+ break;
124
+ case /* optional string error */ 3:
125
+ message.error = reader.string();
126
+ break;
127
+ case /* optional string iss */ 4:
128
+ message.iss = reader.string();
129
+ break;
130
+ default:
131
+ let u = options.readUnknownField;
132
+ if (u === "throw")
133
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
134
+ let d = reader.skip(wireType);
135
+ if (u !== false)
136
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
137
+ }
138
+ }
139
+ return message;
140
+ }
141
+ internalBinaryWrite(message, writer, options) {
142
+ /* string state = 1; */
143
+ if (message.state !== "")
144
+ writer.tag(1, WireType.LengthDelimited).string(message.state);
145
+ /* optional string code = 2; */
146
+ if (message.code !== undefined)
147
+ writer.tag(2, WireType.LengthDelimited).string(message.code);
148
+ /* optional string error = 3; */
149
+ if (message.error !== undefined)
150
+ writer.tag(3, WireType.LengthDelimited).string(message.error);
151
+ /* optional string iss = 4; */
152
+ if (message.iss !== undefined)
153
+ writer.tag(4, WireType.LengthDelimited).string(message.iss);
154
+ let u = options.writeUnknownFields;
155
+ if (u !== false)
156
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
157
+ return writer;
158
+ }
159
+ }
160
+ /**
161
+ * @generated MessageType for protobuf message sid.v1.authn.CompleteSignInRequest
162
+ */
163
+ export const CompleteSignInRequest = new CompleteSignInRequest$Type();
164
+ // @generated message type with reflection information, may provide speed optimized methods
165
+ class GetApplicationSessionRequest$Type extends MessageType {
166
+ constructor() {
167
+ super("sid.v1.authn.GetApplicationSessionRequest", []);
168
+ }
169
+ create(value) {
170
+ const message = globalThis.Object.create((this.messagePrototype));
171
+ if (value !== undefined)
172
+ reflectionMergePartial(this, message, value);
173
+ return message;
174
+ }
175
+ internalBinaryRead(reader, length, options, target) {
176
+ let message = target ?? this.create(), end = reader.pos + length;
177
+ while (reader.pos < end) {
178
+ let [fieldNo, wireType] = reader.tag();
179
+ switch (fieldNo) {
180
+ default:
181
+ let u = options.readUnknownField;
182
+ if (u === "throw")
183
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
184
+ let d = reader.skip(wireType);
185
+ if (u !== false)
186
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
187
+ }
188
+ }
189
+ return message;
190
+ }
191
+ internalBinaryWrite(message, writer, options) {
192
+ let u = options.writeUnknownFields;
193
+ if (u !== false)
194
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
195
+ return writer;
196
+ }
197
+ }
198
+ /**
199
+ * @generated MessageType for protobuf message sid.v1.authn.GetApplicationSessionRequest
200
+ */
201
+ export const GetApplicationSessionRequest = new GetApplicationSessionRequest$Type();
202
+ // @generated message type with reflection information, may provide speed optimized methods
203
+ class ApplicationSession$Type extends MessageType {
204
+ constructor() {
205
+ super("sid.v1.authn.ApplicationSession", [
206
+ { no: 1, name: "sub", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
207
+ { no: 2, name: "email", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
208
+ { no: 3, name: "name", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
209
+ { no: 4, name: "preferred_username", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
210
+ { no: 5, name: "acr", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
211
+ { no: 6, name: "csrf_token", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
212
+ ]);
213
+ }
214
+ create(value) {
215
+ const message = globalThis.Object.create((this.messagePrototype));
216
+ message.sub = "";
217
+ message.acr = "";
218
+ message.csrfToken = "";
219
+ if (value !== undefined)
220
+ reflectionMergePartial(this, message, value);
221
+ return message;
222
+ }
223
+ internalBinaryRead(reader, length, options, target) {
224
+ let message = target ?? this.create(), end = reader.pos + length;
225
+ while (reader.pos < end) {
226
+ let [fieldNo, wireType] = reader.tag();
227
+ switch (fieldNo) {
228
+ case /* string sub */ 1:
229
+ message.sub = reader.string();
230
+ break;
231
+ case /* optional string email */ 2:
232
+ message.email = reader.string();
233
+ break;
234
+ case /* optional string name */ 3:
235
+ message.name = reader.string();
236
+ break;
237
+ case /* optional string preferred_username */ 4:
238
+ message.preferredUsername = reader.string();
239
+ break;
240
+ case /* string acr */ 5:
241
+ message.acr = reader.string();
242
+ break;
243
+ case /* string csrf_token */ 6:
244
+ message.csrfToken = reader.string();
245
+ break;
246
+ default:
247
+ let u = options.readUnknownField;
248
+ if (u === "throw")
249
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
250
+ let d = reader.skip(wireType);
251
+ if (u !== false)
252
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
253
+ }
254
+ }
255
+ return message;
256
+ }
257
+ internalBinaryWrite(message, writer, options) {
258
+ /* string sub = 1; */
259
+ if (message.sub !== "")
260
+ writer.tag(1, WireType.LengthDelimited).string(message.sub);
261
+ /* optional string email = 2; */
262
+ if (message.email !== undefined)
263
+ writer.tag(2, WireType.LengthDelimited).string(message.email);
264
+ /* optional string name = 3; */
265
+ if (message.name !== undefined)
266
+ writer.tag(3, WireType.LengthDelimited).string(message.name);
267
+ /* optional string preferred_username = 4; */
268
+ if (message.preferredUsername !== undefined)
269
+ writer.tag(4, WireType.LengthDelimited).string(message.preferredUsername);
270
+ /* string acr = 5; */
271
+ if (message.acr !== "")
272
+ writer.tag(5, WireType.LengthDelimited).string(message.acr);
273
+ /* string csrf_token = 6; */
274
+ if (message.csrfToken !== "")
275
+ writer.tag(6, WireType.LengthDelimited).string(message.csrfToken);
276
+ let u = options.writeUnknownFields;
277
+ if (u !== false)
278
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
279
+ return writer;
280
+ }
281
+ }
282
+ /**
283
+ * @generated MessageType for protobuf message sid.v1.authn.ApplicationSession
284
+ */
285
+ export const ApplicationSession = new ApplicationSession$Type();
286
+ // @generated message type with reflection information, may provide speed optimized methods
287
+ class EndApplicationSessionRequest$Type extends MessageType {
288
+ constructor() {
289
+ super("sid.v1.authn.EndApplicationSessionRequest", []);
290
+ }
291
+ create(value) {
292
+ const message = globalThis.Object.create((this.messagePrototype));
293
+ if (value !== undefined)
294
+ reflectionMergePartial(this, message, value);
295
+ return message;
296
+ }
297
+ internalBinaryRead(reader, length, options, target) {
298
+ let message = target ?? this.create(), end = reader.pos + length;
299
+ while (reader.pos < end) {
300
+ let [fieldNo, wireType] = reader.tag();
301
+ switch (fieldNo) {
302
+ default:
303
+ let u = options.readUnknownField;
304
+ if (u === "throw")
305
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
306
+ let d = reader.skip(wireType);
307
+ if (u !== false)
308
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
309
+ }
310
+ }
311
+ return message;
312
+ }
313
+ internalBinaryWrite(message, writer, options) {
314
+ let u = options.writeUnknownFields;
315
+ if (u !== false)
316
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
317
+ return writer;
318
+ }
319
+ }
320
+ /**
321
+ * @generated MessageType for protobuf message sid.v1.authn.EndApplicationSessionRequest
322
+ */
323
+ export const EndApplicationSessionRequest = new EndApplicationSessionRequest$Type();
324
+ // @generated message type with reflection information, may provide speed optimized methods
325
+ class EndApplicationSessionResponse$Type extends MessageType {
326
+ constructor() {
327
+ super("sid.v1.authn.EndApplicationSessionResponse", [
328
+ { no: 1, name: "grant", kind: "enum", T: () => ["sid.v1.authn.GrantOutcome", GrantOutcome, "GRANT_OUTCOME_"] }
329
+ ]);
330
+ }
331
+ create(value) {
332
+ const message = globalThis.Object.create((this.messagePrototype));
333
+ message.grant = 0;
334
+ if (value !== undefined)
335
+ reflectionMergePartial(this, message, value);
336
+ return message;
337
+ }
338
+ internalBinaryRead(reader, length, options, target) {
339
+ let message = target ?? this.create(), end = reader.pos + length;
340
+ while (reader.pos < end) {
341
+ let [fieldNo, wireType] = reader.tag();
342
+ switch (fieldNo) {
343
+ case /* sid.v1.authn.GrantOutcome grant */ 1:
344
+ message.grant = reader.int32();
345
+ break;
346
+ default:
347
+ let u = options.readUnknownField;
348
+ if (u === "throw")
349
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
350
+ let d = reader.skip(wireType);
351
+ if (u !== false)
352
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
353
+ }
354
+ }
355
+ return message;
356
+ }
357
+ internalBinaryWrite(message, writer, options) {
358
+ /* sid.v1.authn.GrantOutcome grant = 1; */
359
+ if (message.grant !== 0)
360
+ writer.tag(1, WireType.Varint).int32(message.grant);
361
+ let u = options.writeUnknownFields;
362
+ if (u !== false)
363
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
364
+ return writer;
365
+ }
366
+ }
367
+ /**
368
+ * @generated MessageType for protobuf message sid.v1.authn.EndApplicationSessionResponse
369
+ */
370
+ export const EndApplicationSessionResponse = new EndApplicationSessionResponse$Type();
371
+ /**
372
+ * @generated ServiceType for protobuf service sid.v1.authn.ApplicationSessionService
373
+ */
374
+ export const ApplicationSessionService = new ServiceType("sid.v1.authn.ApplicationSessionService", [
375
+ { name: "StartSignIn", options: { "google.api.http": { get: "/auth/login" } }, I: StartSignInRequest, O: HttpBody },
376
+ { name: "CompleteSignIn", options: { "google.api.http": { get: "/auth/callback" } }, I: CompleteSignInRequest, O: HttpBody },
377
+ { name: "GetApplicationSession", idempotency: "IDEMPOTENT", options: {}, I: GetApplicationSessionRequest, O: ApplicationSession },
378
+ { name: "EndApplicationSession", idempotency: "IDEMPOTENT", options: {}, I: EndApplicationSessionRequest, O: EndApplicationSessionResponse }
379
+ ]);
380
+ //# sourceMappingURL=application_session.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"application_session.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/authn/application_session.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,iHAAiH;AACjH,iBAAiB;AACjB,cAAc;AACd,OAAO,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAGvD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGhD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAoHnD;;;;GAIG;AACH,MAAM,CAAN,IAAY,YA+BX;AA/BD,WAAY,YAAY;IACpB;;OAEG;IACH,6DAAe,CAAA;IACf;;;;OAIG;IACH,qDAAW,CAAA;IACX;;;;;OAKG;IACH,6DAAe,CAAA;IACf;;;;OAIG;IAC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,EAAE,kBAAkB,EAAE;IACjI,EAAE,IAAI,EAAE,uBAAuB,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,EAAE,4BAA4B,EAAE,CAAC,EAAE,6BAA6B,EAAE;CAC/I,CAAC,CAAC","sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"sid/v1/authn/application_session.proto\" (package \"sid.v1.authn\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\nimport { HttpBody } from \"../../../google/api/httpbody.js\";\nimport { ServiceType } from \"@protobuf-ts/runtime-rpc\";\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\n/**\n * @generated from protobuf message sid.v1.authn.StartSignInRequest\n */\nexport interface StartSignInRequest {\n /**\n * Where on the application's origin to return after sign-in: a local path\n * starting with a single `/`. Anything else (another origin, `//host`,\n * `/\\host`, control characters) returns to `/` (RFC 9700 §4.11). Supplied\n * by the page that sends the browser here.\n *\n * @generated from protobuf field: string rd = 1\n */\n rd: string;\n}\n/**\n * @generated from protobuf message sid.v1.authn.CompleteSignInRequest\n */\nexport interface CompleteSignInRequest {\n /**\n * The `state` the sign-in sent, as the issuer returned it (RFC 6749\n * §4.1.2). Names the recorded sign-in; anything but a value this adapter\n * issued is refused.\n *\n * @generated from protobuf field: string state = 1\n */\n state: string;\n /**\n * The authorization code, absent when the issuer answered an error.\n *\n * @generated from protobuf field: optional string code = 2\n */\n code?: string;\n /**\n * The issuer's error code (RFC 6749 §4.1.2.1), when it refused.\n *\n * @generated from protobuf field: optional string error = 3\n */\n error?: string;\n /**\n * The issuer that answered (RFC 9207 §2); must be the connection's issuer.\n *\n * @generated from protobuf field: optional string iss = 4\n */\n iss?: string;\n}\n/**\n * @generated from protobuf message sid.v1.authn.GetApplicationSessionRequest\n */\nexport interface GetApplicationSessionRequest {\n}\n/**\n * The signed-in user as this application's issuer names it, and the session's\n * CSRF token.\n *\n * @generated from protobuf message sid.v1.authn.ApplicationSession\n */\nexport interface ApplicationSession {\n /**\n * The user's subject at this application (`sub` of the issuer's tokens for\n * it): recipient-scoped and opaque; its shape does not say what kind of\n * identifier it is.\n *\n * @generated from protobuf field: string sub = 1\n */\n sub: string;\n /**\n * Email address from the sign-in's ID token, when disclosed to this\n * application.\n *\n * @generated from protobuf field: optional string email = 2\n */\n email?: string;\n /**\n * Display name from the sign-in's ID token, when disclosed.\n *\n * @generated from protobuf field: optional string name = 3\n */\n name?: string;\n /**\n * Username from the sign-in's ID token, when disclosed.\n *\n * @generated from protobuf field: optional string preferred_username = 4\n */\n preferredUsername?: string;\n /**\n * Authentication context class of the sign-in (`acr`, OIDC Core 1.0 §2).\n *\n * @generated from protobuf field: string acr = 5\n */\n acr: string;\n /**\n * The session's synchronizer token: echoed in `x-csrf-token` on every\n * state-changing call of this session. Bound to this session only; not a\n * credential by itself.\n *\n * @generated from protobuf field: string csrf_token = 6\n */\n csrfToken: string;\n}\n/**\n * @generated from protobuf message sid.v1.authn.EndApplicationSessionRequest\n */\nexport interface EndApplicationSessionRequest {\n}\n/**\n * @generated from protobuf message sid.v1.authn.EndApplicationSessionResponse\n */\nexport interface EndApplicationSessionResponse {\n /**\n * What became of the issuer's grant behind the ended session.\n *\n * @generated from protobuf field: sid.v1.authn.GrantOutcome grant = 1\n */\n grant: GrantOutcome;\n}\n/**\n * What became of the grant behind an ended application session.\n *\n * @generated from protobuf enum sid.v1.authn.GrantOutcome\n */\nexport enum GrantOutcome {\n /**\n * @generated from protobuf enum value: GRANT_OUTCOME_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * The issuer revoked it: its refresh token no longer works.\n *\n * @generated from protobuf enum value: GRANT_OUTCOME_REVOKED = 1;\n */\n REVOKED = 1,\n /**\n * A grant stood behind the session and the issuer did not revoke it; it\n * lives until it expires, though nobody holds its token any more.\n *\n * @generated from protobuf enum value: GRANT_OUTCOME_NOT_REVOKED = 2;\n */\n NOT_REVOKED = 2,\n /**\n * No grant stood behind the session.\n *\n * @generated from protobuf enum value: GRANT_OUTCOME_NONE = 3;\n */\n NONE = 3,\n /**\n * Not known: the session was already gone, or the revocation's answer was\n * lost after it may have taken effect.\n *\n * @generated from protobuf enum value: GRANT_OUTCOME_UNKNOWN = 4;\n */\n UNKNOWN = 4\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass StartSignInRequest$Type extends MessageType<StartSignInRequest> {\n constructor() {\n super(\"sid.v1.authn.StartSignInRequest\", [\n { no: 1, name: \"rd\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<StartSignInRequest>): StartSignInRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.rd = \"\";\n if (value !== undefined)\n reflectionMergePartial<StartSignInRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartSignInRequest): StartSignInRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string rd */ 1:\n message.rd = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: StartSignInRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string rd = 1; */\n if (message.rd !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.rd);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.authn.StartSignInRequest\n */\nexport const StartSignInRequest = new StartSignInRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CompleteSignInRequest$Type extends MessageType<CompleteSignInRequest> {\n constructor() {\n super(\"sid.v1.authn.CompleteSignInRequest\", [\n { no: 1, name: \"state\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"code\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"error\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"iss\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<CompleteSignInRequest>): CompleteSignInRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.state = \"\";\n if (value !== undefined)\n reflectionMergePartial<CompleteSignInRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CompleteSignInRequest): CompleteSignInRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string state */ 1:\n message.state = reader.string();\n break;\n case /* optional string code */ 2:\n message.code = reader.string();\n break;\n case /* optional string error */ 3:\n message.error = reader.string();\n break;\n case /* optional string iss */ 4:\n message.iss = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: CompleteSignInRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string state = 1; */\n if (message.state !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.state);\n /* optional string code = 2; */\n if (message.code !== undefined)\n writer.tag(2, WireType.LengthDelimited).string(message.code);\n /* optional string error = 3; */\n if (message.error !== undefined)\n writer.tag(3, WireType.LengthDelimited).string(message.error);\n /* optional string iss = 4; */\n if (message.iss !== undefined)\n writer.tag(4, WireType.LengthDelimited).string(message.iss);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.authn.CompleteSignInRequest\n */\nexport const CompleteSignInRequest = new CompleteSignInRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetApplicationSessionRequest$Type extends MessageType<GetApplicationSessionRequest> {\n constructor() {\n super(\"sid.v1.authn.GetApplicationSessionRequest\", []);\n }\n create(value?: PartialMessage<GetApplicationSessionRequest>): GetApplicationSessionRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<GetApplicationSessionRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetApplicationSessionRequest): GetApplicationSessionRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: GetApplicationSessionRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.authn.GetApplicationSessionRequest\n */\nexport const GetApplicationSessionRequest = new GetApplicationSessionRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ApplicationSession$Type extends MessageType<ApplicationSession> {\n constructor() {\n super(\"sid.v1.authn.ApplicationSession\", [\n { no: 1, name: \"sub\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"email\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"name\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"preferred_username\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 5, name: \"acr\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 6, name: \"csrf_token\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<ApplicationSession>): ApplicationSession {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.sub = \"\";\n message.acr = \"\";\n message.csrfToken = \"\";\n if (value !== undefined)\n reflectionMergePartial<ApplicationSession>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ApplicationSession): ApplicationSession {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string sub */ 1:\n message.sub = reader.string();\n break;\n case /* optional string email */ 2:\n message.email = reader.string();\n break;\n case /* optional string name */ 3:\n message.name = reader.string();\n break;\n case /* optional string preferred_username */ 4:\n message.preferredUsername = reader.string();\n break;\n case /* string acr */ 5:\n message.acr = reader.string();\n break;\n case /* string csrf_token */ 6:\n message.csrfToken = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: ApplicationSession, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string sub = 1; */\n if (message.sub !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.sub);\n /* optional string email = 2; */\n if (message.email !== undefined)\n writer.tag(2, WireType.LengthDelimited).string(message.email);\n /* optional string name = 3; */\n if (message.name !== undefined)\n writer.tag(3, WireType.LengthDelimited).string(message.name);\n /* optional string preferred_username = 4; */\n if (message.preferredUsername !== undefined)\n writer.tag(4, WireType.LengthDelimited).string(message.preferredUsername);\n /* string acr = 5; */\n if (message.acr !== \"\")\n writer.tag(5, WireType.LengthDelimited).string(message.acr);\n /* string csrf_token = 6; */\n if (message.csrfToken !== \"\")\n writer.tag(6, WireType.LengthDelimited).string(message.csrfToken);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.authn.ApplicationSession\n */\nexport const ApplicationSession = new ApplicationSession$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass EndApplicationSessionRequest$Type extends MessageType<EndApplicationSessionRequest> {\n constructor() {\n super(\"sid.v1.authn.EndApplicationSessionRequest\", []);\n }\n create(value?: PartialMessage<EndApplicationSessionRequest>): EndApplicationSessionRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<EndApplicationSessionRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EndApplicationSessionRequest): EndApplicationSessionRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: EndApplicationSessionRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.authn.EndApplicationSessionRequest\n */\nexport const EndApplicationSessionRequest = new EndApplicationSessionRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass EndApplicationSessionResponse$Type extends MessageType<EndApplicationSessionResponse> {\n constructor() {\n super(\"sid.v1.authn.EndApplicationSessionResponse\", [\n { no: 1, name: \"grant\", kind: \"enum\", T: () => [\"sid.v1.authn.GrantOutcome\", GrantOutcome, \"GRANT_OUTCOME_\"] }\n ]);\n }\n create(value?: PartialMessage<EndApplicationSessionResponse>): EndApplicationSessionResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.grant = 0;\n if (value !== undefined)\n reflectionMergePartial<EndApplicationSessionResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EndApplicationSessionResponse): EndApplicationSessionResponse {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* sid.v1.authn.GrantOutcome grant */ 1:\n message.grant = reader.int32();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: EndApplicationSessionResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.authn.GrantOutcome grant = 1; */\n if (message.grant !== 0)\n writer.tag(1, WireType.Varint).int32(message.grant);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.authn.EndApplicationSessionResponse\n */\nexport const EndApplicationSessionResponse = new EndApplicationSessionResponse$Type();\n/**\n * @generated ServiceType for protobuf service sid.v1.authn.ApplicationSessionService\n */\nexport const ApplicationSessionService = new ServiceType(\"sid.v1.authn.ApplicationSessionService\", [\n { name: \"StartSignIn\", options: { \"google.api.http\": { get: \"/auth/login\" } }, I: StartSignInRequest, O: HttpBody },\n { name: \"CompleteSignIn\", options: { \"google.api.http\": { get: \"/auth/callback\" } }, I: CompleteSignInRequest, O: HttpBody },\n { name: \"GetApplicationSession\", idempotency: \"IDEMPOTENT\", options: {}, I: GetApplicationSessionRequest, O: ApplicationSession },\n { name: \"EndApplicationSession\", idempotency: \"IDEMPOTENT\", options: {}, I: EndApplicationSessionRequest, O: EndApplicationSessionResponse }\n]);\n"]}
@@ -85,6 +85,8 @@ import type { OAuth2IntrospectResponse } from "./auth.js";
85
85
  import type { OAuth2IntrospectRequest } from "./auth.js";
86
86
  import type { OAuth2TokenResponse } from "./auth.js";
87
87
  import type { OAuth2TokenRequest } from "./auth.js";
88
+ import type { SignInContext } from "./auth.js";
89
+ import type { GetSignInContextRequest } from "./auth.js";
88
90
  import type { OAuth2AuthorizeResponse } from "./auth.js";
89
91
  import type { OAuth2AuthorizeRequest } from "./auth.js";
90
92
  import type { WebAuthnAuthenticationFinishResponse } from "./auth.js";
@@ -220,6 +222,19 @@ export interface IAuthServiceClient {
220
222
  * @generated from protobuf rpc: OAuth2Authorize
221
223
  */
222
224
  oAuth2Authorize(input: OAuth2AuthorizeRequest, options?: RpcOptions): UnaryCall<OAuth2AuthorizeRequest, OAuth2AuthorizeResponse>;
225
+ /**
226
+ * The context of the authorization request a sign-in page was sent to
227
+ * complete: the server checks the request against its saved state (the
228
+ * addressed issuer, a client registered under it, the client's exact
229
+ * registered redirect URI) and answers where the page runs its ceremonies.
230
+ * Nothing is consumed or changed, so showing or reloading the page reads it
231
+ * again. A request that does not match saved state is refused before the
232
+ * page asks for any credential: INVALID_ARGUMENT, ErrorInfo reason
233
+ * INVALID_FIELD_VALUE, BadRequest field `authorization_request`.
234
+ *
235
+ * @generated from protobuf rpc: GetSignInContext
236
+ */
237
+ getSignInContext(input: GetSignInContextRequest, options?: RpcOptions): UnaryCall<GetSignInContextRequest, SignInContext>;
223
238
  /**
224
239
  *
225
240
  * The token, introspection, revocation and device authorization RPCs have
@@ -548,6 +563,19 @@ export declare class AuthServiceClient implements IAuthServiceClient, ServiceInf
548
563
  * @generated from protobuf rpc: OAuth2Authorize
549
564
  */
550
565
  oAuth2Authorize(input: OAuth2AuthorizeRequest, options?: RpcOptions): UnaryCall<OAuth2AuthorizeRequest, OAuth2AuthorizeResponse>;
566
+ /**
567
+ * The context of the authorization request a sign-in page was sent to
568
+ * complete: the server checks the request against its saved state (the
569
+ * addressed issuer, a client registered under it, the client's exact
570
+ * registered redirect URI) and answers where the page runs its ceremonies.
571
+ * Nothing is consumed or changed, so showing or reloading the page reads it
572
+ * again. A request that does not match saved state is refused before the
573
+ * page asks for any credential: INVALID_ARGUMENT, ErrorInfo reason
574
+ * INVALID_FIELD_VALUE, BadRequest field `authorization_request`.
575
+ *
576
+ * @generated from protobuf rpc: GetSignInContext
577
+ */
578
+ getSignInContext(input: GetSignInContextRequest, options?: RpcOptions): UnaryCall<GetSignInContextRequest, SignInContext>;
551
579
  /**
552
580
  *
553
581
  * The token, introspection, revocation and device authorization RPCs have