@structured-id/proto 0.22.0 → 0.23.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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.23.0](https://github.com/structured-id/sdk/compare/typescript-proto-v0.22.0...typescript-proto-v0.23.0) (2026-11-25)
4
+
5
+
6
+ ### Features
7
+
8
+ * **proto:** carry the public sign-in choices ([#133](https://github.com/structured-id/sdk/issues/133)) ([db027d9](https://github.com/structured-id/sdk/commit/db027d9f6727dd40eeca6e57b0152809176c7fdc)), closes [#132](https://github.com/structured-id/sdk/issues/132)
9
+
3
10
  ## [0.22.0](https://github.com/structured-id/sdk/compare/typescript-proto-v0.21.0...typescript-proto-v0.22.0) (2026-11-22)
4
11
 
5
12
 
@@ -5,6 +5,7 @@ import type { BinaryReadOptions } from "@protobuf-ts/runtime";
5
5
  import type { IBinaryReader } from "@protobuf-ts/runtime";
6
6
  import type { PartialMessage } from "@protobuf-ts/runtime";
7
7
  import { MessageType } from "@protobuf-ts/runtime";
8
+ import { SignInEntry } from "./sign_in_entry.js";
8
9
  import { HttpBody } from "../../../google/api/httpbody.js";
9
10
  /**
10
11
  * @generated from protobuf message sid.v1.authn.BackChannelLogoutRequest
@@ -32,6 +33,14 @@ export interface StartSignInRequest {
32
33
  * @generated from protobuf field: string rd = 1
33
34
  */
34
35
  rd: string;
36
+ /**
37
+ * The issuer's sign-in the user chose on that page, passed on in the
38
+ * authorization request this sign-in makes. A preference: the issuer
39
+ * decides whether it applies.
40
+ *
41
+ * @generated from protobuf field: optional sid.v1.authn.SignInEntry sign_in = 2
42
+ */
43
+ signIn?: SignInEntry;
35
44
  }
36
45
  /**
37
46
  * @generated from protobuf message sid.v1.authn.CompleteSignInRequest
@@ -7,6 +7,7 @@ import { WireType } from "@protobuf-ts/runtime";
7
7
  import { UnknownFieldHandler } from "@protobuf-ts/runtime";
8
8
  import { reflectionMergePartial } from "@protobuf-ts/runtime";
9
9
  import { MessageType } from "@protobuf-ts/runtime";
10
+ import { SignInEntry } from "./sign_in_entry.js";
10
11
  import { HttpBody } from "../../../google/api/httpbody.js";
11
12
  /**
12
13
  * What became of the grant behind an ended application session.
@@ -96,7 +97,8 @@ export const BackChannelLogoutRequest = new BackChannelLogoutRequest$Type();
96
97
  class StartSignInRequest$Type extends MessageType {
97
98
  constructor() {
98
99
  super("sid.v1.authn.StartSignInRequest", [
99
- { no: 1, name: "rd", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
100
+ { no: 1, name: "rd", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
101
+ { no: 2, name: "sign_in", kind: "enum", opt: true, T: () => ["sid.v1.authn.SignInEntry", SignInEntry, "SIGN_IN_ENTRY_"] }
100
102
  ]);
101
103
  }
102
104
  create(value) {
@@ -114,6 +116,9 @@ class StartSignInRequest$Type extends MessageType {
114
116
  case /* string rd */ 1:
115
117
  message.rd = reader.string();
116
118
  break;
119
+ case /* optional sid.v1.authn.SignInEntry sign_in */ 2:
120
+ message.signIn = reader.int32();
121
+ break;
117
122
  default:
118
123
  let u = options.readUnknownField;
119
124
  if (u === "throw")
@@ -129,6 +134,9 @@ class StartSignInRequest$Type extends MessageType {
129
134
  /* string rd = 1; */
130
135
  if (message.rd !== "")
131
136
  writer.tag(1, WireType.LengthDelimited).string(message.rd);
137
+ /* optional sid.v1.authn.SignInEntry sign_in = 2; */
138
+ if (message.signIn !== undefined)
139
+ writer.tag(2, WireType.Varint).int32(message.signIn);
132
140
  let u = options.writeUnknownFields;
133
141
  if (u !== false)
134
142
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -1 +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,WAAW,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from protobuf file \"sid/v1/authn/application_session.proto\" (package \"sid.v1.authn\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\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\";\nimport { HttpBody } from \"../../../google/api/httpbody.js\";\n/**\n * @generated from protobuf message sid.v1.authn.BackChannelLogoutRequest\n */\nexport interface BackChannelLogoutRequest {\n /**\n * The issuer's POST as it arrived: the `application/x-www-form-urlencoded`\n * form carrying `logout_token` (Back-Channel Logout 1.0 §2.5), sent by the\n * issuer, never by a browser.\n *\n * @generated from protobuf field: google.api.HttpBody body = 1\n */\n body?: HttpBody;\n}\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 BackChannelLogoutRequest$Type extends MessageType<BackChannelLogoutRequest> {\n constructor() {\n super(\"sid.v1.authn.BackChannelLogoutRequest\", [\n { no: 1, name: \"body\", kind: \"message\", T: () => HttpBody }\n ]);\n }\n create(value?: PartialMessage<BackChannelLogoutRequest>): BackChannelLogoutRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<BackChannelLogoutRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: BackChannelLogoutRequest): BackChannelLogoutRequest {\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 /* google.api.HttpBody body */ 1:\n message.body = HttpBody.internalBinaryRead(reader, reader.uint32(), options, message.body);\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: BackChannelLogoutRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* google.api.HttpBody body = 1; */\n if (message.body)\n HttpBody.internalBinaryWrite(message.body, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\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.BackChannelLogoutRequest\n */\nexport const BackChannelLogoutRequest = new BackChannelLogoutRequest$Type();\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\" }, \"sid.v1.common.access\": { open: \"RFC 6749 \\u00A74.1.1: the browser starts a sign-in before it has a session\" }, \"sid.v1.common.retry\": { ceremony: \"RFC 6749 \\u00A710.12: each call records its own single-use sign-in state; nothing else changes before its callback\" } }, I: StartSignInRequest, O: HttpBody },\n { name: \"CompleteSignIn\", options: { \"google.api.http\": { get: \"/auth/callback\" }, \"sid.v1.common.access\": { open: \"RFC 6749 \\u00A74.1.2: the issuer's authorization response and its recorded state authenticate the call\" }, \"sid.v1.common.retry\": { ceremony: \"RFC 6749 \\u00A710.12: the sign-in its state names is consumed by its completion; a repeat is refused and creates no session\" } }, I: CompleteSignInRequest, O: HttpBody },\n { name: \"GetApplicationSession\", idempotency: \"IDEMPOTENT\", options: { \"sid.v1.common.access\": { open: \"the application session's own protected cookie authenticates the call\" }, \"sid.v1.common.retry\": { natural: \"the call only moves the session's idle window to now: a repeat moves it to the same point again and changes nothing else\" } }, I: GetApplicationSessionRequest, O: ApplicationSession },\n { name: \"EndApplicationSession\", idempotency: \"IDEMPOTENT\", options: { \"sid.v1.common.access\": { open: \"the application session's own protected cookie authenticates the call\" }, \"sid.v1.common.retry\": { natural: \"an ended session stays ended and is never resumed: a repeat finds no session, ends nothing more and answers GRANT_OUTCOME_UNKNOWN\" } }, I: EndApplicationSessionRequest, O: EndApplicationSessionResponse },\n { name: \"ReceiveBackChannelLogout\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { post: \"/auth/backchannel-logout\", body: \"body\" }, \"sid.v1.common.access\": { open: \"OpenID Connect Back-Channel Logout 1.0 \\u00A72.6: the issuer's signed logout token authenticates the call\" }, \"sid.v1.common.retry\": { natural: \"an ended issuer session stays ended here: a repeat of the token, or a later token naming the same session, ends nothing more and answers 200 again\" } }, I: BackChannelLogoutRequest, O: HttpBody }\n]);\n"]}
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,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;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAyI3D;;;;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;IACH,+CAAQ,CAAA;IACR;;;;;OAKG;IACH,qDAAW,CAAA;AACf,CAAC,EA/BW,YAAY,KAAZ,YAAY,QA+BvB;AACD,2FAA2F;AAC3F,MAAM,6BAA8B,SAAQ,WAAqC;IAC7E;QACI,KAAK,CAAC,uCAAuC,EAAE;YAC3C,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,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,EAAE,CAAC,EAAE,qBAAqB,EAAE,CAAC,EAAE,QAAQ,EAAE;IAC5a,EAAE,IAAI,EAAE,uBAAuB,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,EAAE,EAAE,sBAAsB,EAAE,EAAE,IAAI,EAAE,uEAAuE,EAAE,EAAE,qBAAqB,EAAE,EAAE,OAAO,EAAE,0HAA0H,EAAE,EAAE,EAAE,CAAC,EAAE,4BAA4B,EAAE,CAAC,EAAE,kBAAkB,EAAE;IAC5Y,EAAE,IAAI,EAAE,uBAAuB,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,EAAE,EAAE,sBAAsB,EAAE,EAAE,IAAI,EAAE,uEAAuE,EAAE,EAAE,qBAAqB,EAAE,EAAE,OAAO,EAAE,mIAAmI,EAAE,EAAE,EAAE,CAAC,EAAE,4BAA4B,EAAE,CAAC,EAAE,6BAA6B,EAAE;IACha,EAAE,IAAI,EAAE,0BAA0B,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,EAAE,EAAE,iBAAiB,EAAE,EAAE,IAAI,EAAE,0BAA0B,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,sBAAsB,EAAE,EAAE,IAAI,EAAE,2GAA2G,EAAE,EAAE,qBAAqB,EAAE,EAAE,OAAO,EAAE,oJAAoJ,EAAE,EAAE,EAAE,CAAC,EAAE,wBAAwB,EAAE,CAAC,EAAE,QAAQ,EAAE;CACzgB,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 { 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\";\nimport { SignInEntry } from \"./sign_in_entry.js\";\nimport { HttpBody } from \"../../../google/api/httpbody.js\";\n/**\n * @generated from protobuf message sid.v1.authn.BackChannelLogoutRequest\n */\nexport interface BackChannelLogoutRequest {\n /**\n * The issuer's POST as it arrived: the `application/x-www-form-urlencoded`\n * form carrying `logout_token` (Back-Channel Logout 1.0 §2.5), sent by the\n * issuer, never by a browser.\n *\n * @generated from protobuf field: google.api.HttpBody body = 1\n */\n body?: HttpBody;\n}\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 * The issuer's sign-in the user chose on that page, passed on in the\n * authorization request this sign-in makes. A preference: the issuer\n * decides whether it applies.\n *\n * @generated from protobuf field: optional sid.v1.authn.SignInEntry sign_in = 2\n */\n signIn?: SignInEntry;\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 BackChannelLogoutRequest$Type extends MessageType<BackChannelLogoutRequest> {\n constructor() {\n super(\"sid.v1.authn.BackChannelLogoutRequest\", [\n { no: 1, name: \"body\", kind: \"message\", T: () => HttpBody }\n ]);\n }\n create(value?: PartialMessage<BackChannelLogoutRequest>): BackChannelLogoutRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<BackChannelLogoutRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: BackChannelLogoutRequest): BackChannelLogoutRequest {\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 /* google.api.HttpBody body */ 1:\n message.body = HttpBody.internalBinaryRead(reader, reader.uint32(), options, message.body);\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: BackChannelLogoutRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* google.api.HttpBody body = 1; */\n if (message.body)\n HttpBody.internalBinaryWrite(message.body, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\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.BackChannelLogoutRequest\n */\nexport const BackChannelLogoutRequest = new BackChannelLogoutRequest$Type();\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 { no: 2, name: \"sign_in\", kind: \"enum\", opt: true, T: () => [\"sid.v1.authn.SignInEntry\", SignInEntry, \"SIGN_IN_ENTRY_\"] }\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 case /* optional sid.v1.authn.SignInEntry sign_in */ 2:\n message.signIn = 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: StartSignInRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string rd = 1; */\n if (message.rd !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.rd);\n /* optional sid.v1.authn.SignInEntry sign_in = 2; */\n if (message.signIn !== undefined)\n writer.tag(2, WireType.Varint).int32(message.signIn);\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\" }, \"sid.v1.common.access\": { open: \"RFC 6749 \\u00A74.1.1: the browser starts a sign-in before it has a session\" }, \"sid.v1.common.retry\": { ceremony: \"RFC 6749 \\u00A710.12: each call records its own single-use sign-in state; nothing else changes before its callback\" } }, I: StartSignInRequest, O: HttpBody },\n { name: \"CompleteSignIn\", options: { \"google.api.http\": { get: \"/auth/callback\" }, \"sid.v1.common.access\": { open: \"RFC 6749 \\u00A74.1.2: the issuer's authorization response and its recorded state authenticate the call\" }, \"sid.v1.common.retry\": { ceremony: \"RFC 6749 \\u00A710.12: the sign-in its state names is consumed by its completion; a repeat is refused and creates no session\" } }, I: CompleteSignInRequest, O: HttpBody },\n { name: \"GetApplicationSession\", idempotency: \"IDEMPOTENT\", options: { \"sid.v1.common.access\": { open: \"the application session's own protected cookie authenticates the call\" }, \"sid.v1.common.retry\": { natural: \"the call only moves the session's idle window to now: a repeat moves it to the same point again and changes nothing else\" } }, I: GetApplicationSessionRequest, O: ApplicationSession },\n { name: \"EndApplicationSession\", idempotency: \"IDEMPOTENT\", options: { \"sid.v1.common.access\": { open: \"the application session's own protected cookie authenticates the call\" }, \"sid.v1.common.retry\": { natural: \"an ended session stays ended and is never resumed: a repeat finds no session, ends nothing more and answers GRANT_OUTCOME_UNKNOWN\" } }, I: EndApplicationSessionRequest, O: EndApplicationSessionResponse },\n { name: \"ReceiveBackChannelLogout\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { post: \"/auth/backchannel-logout\", body: \"body\" }, \"sid.v1.common.access\": { open: \"OpenID Connect Back-Channel Logout 1.0 \\u00A72.6: the issuer's signed logout token authenticates the call\" }, \"sid.v1.common.retry\": { natural: \"an ended issuer session stays ended here: a repeat of the token, or a later token naming the same session, ends nothing more and answers 200 again\" } }, I: BackChannelLogoutRequest, O: HttpBody }\n]);\n"]}
@@ -13,6 +13,7 @@ import { ImportedPasswordUpgradeId } from "../ids/ids.js";
13
13
  import { MagicLinkId } from "../ids/ids.js";
14
14
  import { ProfileId } from "../ids/ids.js";
15
15
  import { Timestamp } from "../../../google/protobuf/timestamp.js";
16
+ import { SignInEntry } from "./sign_in_entry.js";
16
17
  import { CredentialId } from "../ids/ids.js";
17
18
  import { PasswordRegistrationProof } from "./password_history.js";
18
19
  import { PasswordOperationId } from "../ids/ids.js";
@@ -665,6 +666,16 @@ export interface OAuth2AuthorizeRequest {
665
666
  * @generated from protobuf field: optional string request_uri = 14
666
667
  */
667
668
  requestUri?: string;
669
+ /**
670
+ * Which of the issuer's sign-ins the user chose in the application, when
671
+ * this request needs one. A preference of this request only, kept with
672
+ * it: it enables no method, names no principal and grants nothing. The
673
+ * issuer follows it where its own policy admits that sign-in for this
674
+ * client, and otherwise signs the user in as it does without it.
675
+ *
676
+ * @generated from protobuf field: optional sid.v1.authn.SignInEntry sign_in = 15
677
+ */
678
+ signIn?: SignInEntry;
668
679
  }
669
680
  /**
670
681
  * @generated from protobuf message sid.v1.authn.OAuth2AuthorizeResponse
@@ -19,6 +19,7 @@ import { ImportedPasswordUpgradeId } from "../ids/ids.js";
19
19
  import { MagicLinkId } from "../ids/ids.js";
20
20
  import { ProfileId } from "../ids/ids.js";
21
21
  import { Timestamp } from "../../../google/protobuf/timestamp.js";
22
+ import { SignInEntry } from "./sign_in_entry.js";
22
23
  import { CredentialId } from "../ids/ids.js";
23
24
  import { PasswordRegistrationProof } from "./password_history.js";
24
25
  import { PasswordOperationId } from "../ids/ids.js";
@@ -1389,7 +1390,8 @@ class OAuth2AuthorizeRequest$Type extends MessageType {
1389
1390
  { no: 11, name: "resource", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
1390
1391
  { no: 12, name: "prompt", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
1391
1392
  { no: 13, name: "max_age", kind: "scalar", opt: true, T: 13 /*ScalarType.UINT32*/ },
1392
- { no: 14, name: "request_uri", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
1393
+ { no: 14, name: "request_uri", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
1394
+ { no: 15, name: "sign_in", kind: "enum", opt: true, T: () => ["sid.v1.authn.SignInEntry", SignInEntry, "SIGN_IN_ENTRY_"] }
1393
1395
  ]);
1394
1396
  }
1395
1397
  create(value) {
@@ -1450,6 +1452,9 @@ class OAuth2AuthorizeRequest$Type extends MessageType {
1450
1452
  case /* optional string request_uri */ 14:
1451
1453
  message.requestUri = reader.string();
1452
1454
  break;
1455
+ case /* optional sid.v1.authn.SignInEntry sign_in */ 15:
1456
+ message.signIn = reader.int32();
1457
+ break;
1453
1458
  default:
1454
1459
  let u = options.readUnknownField;
1455
1460
  if (u === "throw")
@@ -1504,6 +1509,9 @@ class OAuth2AuthorizeRequest$Type extends MessageType {
1504
1509
  /* optional string request_uri = 14; */
1505
1510
  if (message.requestUri !== undefined)
1506
1511
  writer.tag(14, WireType.LengthDelimited).string(message.requestUri);
1512
+ /* optional sid.v1.authn.SignInEntry sign_in = 15; */
1513
+ if (message.signIn !== undefined)
1514
+ writer.tag(15, WireType.Varint).int32(message.signIn);
1507
1515
  let u = options.writeUnknownFields;
1508
1516
  if (u !== false)
1509
1517
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);