@structured-id/proto 0.19.0 → 0.20.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 +8 -0
- package/dist/generated/sid/v1/authn/auth.client.d.ts +22 -10
- package/dist/generated/sid/v1/authn/auth.client.js +11 -5
- package/dist/generated/sid/v1/authn/auth.client.js.map +1 -1
- package/dist/generated/sid/v1/authn/auth.d.ts +6 -2
- package/dist/generated/sid/v1/authn/auth.js.map +1 -1
- package/dist/generated/sid/v1/authn/auth_flow.client.d.ts +140 -0
- package/dist/generated/sid/v1/authn/auth_flow.client.js +81 -0
- package/dist/generated/sid/v1/authn/auth_flow.client.js.map +1 -0
- package/dist/generated/sid/v1/authn/auth_flow.d.ts +418 -0
- package/dist/generated/sid/v1/authn/auth_flow.js +623 -0
- package/dist/generated/sid/v1/authn/auth_flow.js.map +1 -0
- package/dist/generated/sid/v1/common/claims.d.ts +138 -0
- package/dist/generated/sid/v1/common/claims.js +168 -0
- package/dist/generated/sid/v1/common/claims.js.map +1 -0
- package/dist/generated/sid/v1/ids/ids.d.ts +2 -0
- package/dist/generated/sid/v1/ids/ids.js +1 -0
- package/dist/generated/sid/v1/ids/ids.js.map +1 -1
- package/dist/generated/sid/v1/projects/projects.d.ts +46 -0
- package/dist/generated/sid/v1/projects/projects.js +74 -3
- package/dist/generated/sid/v1/projects/projects.js.map +1 -1
- package/package.json +6 -6
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
2
|
+
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
3
|
+
import type { GetFlowStateRequest } from "./auth_flow.js";
|
|
4
|
+
import type { FlowState } from "./auth_flow.js";
|
|
5
|
+
import type { SubmitConsentRequest } from "./auth_flow.js";
|
|
6
|
+
import type { ConsentDetails } from "./auth_flow.js";
|
|
7
|
+
import type { GetConsentRequest } from "./auth_flow.js";
|
|
8
|
+
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
9
|
+
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
10
|
+
/**
|
|
11
|
+
* @generated from protobuf service sid.v1.authn.AuthFlowService
|
|
12
|
+
*/
|
|
13
|
+
export interface IAuthFlowServiceClient {
|
|
14
|
+
/**
|
|
15
|
+
* The review of one authorization operation: the registered client, the
|
|
16
|
+
* resource and scopes it asks for, the claims each scope releases with
|
|
17
|
+
* the sharing choices allowed, the selected identity, the operation's
|
|
18
|
+
* revision and the CSRF value a decision on that revision must carry.
|
|
19
|
+
*
|
|
20
|
+
* The browser's IdP session must be live, not provisional, and the one the
|
|
21
|
+
* operation is bound to; a reference alone reads nothing. An operation that
|
|
22
|
+
* is not this session's, does not exist or is no longer awaiting a
|
|
23
|
+
* decision is NOT_FOUND, the same for every cause (ErrorInfo reason
|
|
24
|
+
* CONSENT_NOT_FOUND). A missing or foreign Origin is PERMISSION_DENIED.
|
|
25
|
+
*
|
|
26
|
+
* Reading creates no approval. The CSRF value is bound to the session, the
|
|
27
|
+
* operation and the revision; a replaced session or a newer revision
|
|
28
|
+
* makes an earlier value useless.
|
|
29
|
+
*
|
|
30
|
+
* @generated from protobuf rpc: GetConsent
|
|
31
|
+
*/
|
|
32
|
+
getConsent(input: GetConsentRequest, options?: RpcOptions): UnaryCall<GetConsentRequest, ConsentDetails>;
|
|
33
|
+
/**
|
|
34
|
+
* Record the user's approve or deny decision for the reviewed revision of
|
|
35
|
+
* an operation. The issuer, client, redirect, resource and subject come
|
|
36
|
+
* from the operation the issuer keeps, never from the request; the request
|
|
37
|
+
* carries only the decision, the claim choices the review allowed, the
|
|
38
|
+
* revision and its CSRF value.
|
|
39
|
+
*
|
|
40
|
+
* One owning-store transaction records the decision, the consent grants it
|
|
41
|
+
* gives, the audit entry and the operation's new state. Approval answers
|
|
42
|
+
* with the issuer continuation the browser follows to complete the
|
|
43
|
+
* authorization; denial answers with the same continuation, which returns
|
|
44
|
+
* `access_denied` to the client's validated redirect URI. A denial grants
|
|
45
|
+
* nothing and revokes no earlier grant.
|
|
46
|
+
*
|
|
47
|
+
* A stale revision is ABORTED (CONCURRENT_MODIFICATION); a CSRF value that
|
|
48
|
+
* is absent or not this session's, operation's and revision's is
|
|
49
|
+
* PERMISSION_DENIED (CSRF_TOKEN_INVALID); a choice the review did not offer
|
|
50
|
+
* is INVALID_ARGUMENT with BadRequest naming the claim; an operation that
|
|
51
|
+
* is not this session's or no longer exists is NOT_FOUND
|
|
52
|
+
* (CONSENT_NOT_FOUND).
|
|
53
|
+
*
|
|
54
|
+
* @generated from protobuf rpc: SubmitConsent
|
|
55
|
+
*/
|
|
56
|
+
submitConsent(input: SubmitConsentRequest, options?: RpcOptions): UnaryCall<SubmitConsentRequest, FlowState>;
|
|
57
|
+
/**
|
|
58
|
+
* The durable state of an operation after a reload or a lost response:
|
|
59
|
+
* awaiting a decision, approved, denied, code issued, or expired. A
|
|
60
|
+
* transport failure is never read as approval or denial. For an approved
|
|
61
|
+
* or denied operation whose code the issuer has not yet issued, the answer
|
|
62
|
+
* carries the issuer continuation again; once the code was issued it
|
|
63
|
+
* carries none, and a new authorization starts at the client.
|
|
64
|
+
*
|
|
65
|
+
* Authenticated as GetConsent; an operation that is not this session's or
|
|
66
|
+
* does not exist is NOT_FOUND (CONSENT_NOT_FOUND).
|
|
67
|
+
*
|
|
68
|
+
* @generated from protobuf rpc: GetFlowState
|
|
69
|
+
*/
|
|
70
|
+
getFlowState(input: GetFlowStateRequest, options?: RpcOptions): UnaryCall<GetFlowStateRequest, FlowState>;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* @generated from protobuf service sid.v1.authn.AuthFlowService
|
|
74
|
+
*/
|
|
75
|
+
export declare class AuthFlowServiceClient implements IAuthFlowServiceClient, ServiceInfo {
|
|
76
|
+
private readonly _transport;
|
|
77
|
+
typeName: string;
|
|
78
|
+
methods: import("@protobuf-ts/runtime-rpc").MethodInfo<any, any>[];
|
|
79
|
+
options: {
|
|
80
|
+
[extensionName: string]: import("@protobuf-ts/runtime").JsonValue;
|
|
81
|
+
};
|
|
82
|
+
constructor(_transport: RpcTransport);
|
|
83
|
+
/**
|
|
84
|
+
* The review of one authorization operation: the registered client, the
|
|
85
|
+
* resource and scopes it asks for, the claims each scope releases with
|
|
86
|
+
* the sharing choices allowed, the selected identity, the operation's
|
|
87
|
+
* revision and the CSRF value a decision on that revision must carry.
|
|
88
|
+
*
|
|
89
|
+
* The browser's IdP session must be live, not provisional, and the one the
|
|
90
|
+
* operation is bound to; a reference alone reads nothing. An operation that
|
|
91
|
+
* is not this session's, does not exist or is no longer awaiting a
|
|
92
|
+
* decision is NOT_FOUND, the same for every cause (ErrorInfo reason
|
|
93
|
+
* CONSENT_NOT_FOUND). A missing or foreign Origin is PERMISSION_DENIED.
|
|
94
|
+
*
|
|
95
|
+
* Reading creates no approval. The CSRF value is bound to the session, the
|
|
96
|
+
* operation and the revision; a replaced session or a newer revision
|
|
97
|
+
* makes an earlier value useless.
|
|
98
|
+
*
|
|
99
|
+
* @generated from protobuf rpc: GetConsent
|
|
100
|
+
*/
|
|
101
|
+
getConsent(input: GetConsentRequest, options?: RpcOptions): UnaryCall<GetConsentRequest, ConsentDetails>;
|
|
102
|
+
/**
|
|
103
|
+
* Record the user's approve or deny decision for the reviewed revision of
|
|
104
|
+
* an operation. The issuer, client, redirect, resource and subject come
|
|
105
|
+
* from the operation the issuer keeps, never from the request; the request
|
|
106
|
+
* carries only the decision, the claim choices the review allowed, the
|
|
107
|
+
* revision and its CSRF value.
|
|
108
|
+
*
|
|
109
|
+
* One owning-store transaction records the decision, the consent grants it
|
|
110
|
+
* gives, the audit entry and the operation's new state. Approval answers
|
|
111
|
+
* with the issuer continuation the browser follows to complete the
|
|
112
|
+
* authorization; denial answers with the same continuation, which returns
|
|
113
|
+
* `access_denied` to the client's validated redirect URI. A denial grants
|
|
114
|
+
* nothing and revokes no earlier grant.
|
|
115
|
+
*
|
|
116
|
+
* A stale revision is ABORTED (CONCURRENT_MODIFICATION); a CSRF value that
|
|
117
|
+
* is absent or not this session's, operation's and revision's is
|
|
118
|
+
* PERMISSION_DENIED (CSRF_TOKEN_INVALID); a choice the review did not offer
|
|
119
|
+
* is INVALID_ARGUMENT with BadRequest naming the claim; an operation that
|
|
120
|
+
* is not this session's or no longer exists is NOT_FOUND
|
|
121
|
+
* (CONSENT_NOT_FOUND).
|
|
122
|
+
*
|
|
123
|
+
* @generated from protobuf rpc: SubmitConsent
|
|
124
|
+
*/
|
|
125
|
+
submitConsent(input: SubmitConsentRequest, options?: RpcOptions): UnaryCall<SubmitConsentRequest, FlowState>;
|
|
126
|
+
/**
|
|
127
|
+
* The durable state of an operation after a reload or a lost response:
|
|
128
|
+
* awaiting a decision, approved, denied, code issued, or expired. A
|
|
129
|
+
* transport failure is never read as approval or denial. For an approved
|
|
130
|
+
* or denied operation whose code the issuer has not yet issued, the answer
|
|
131
|
+
* carries the issuer continuation again; once the code was issued it
|
|
132
|
+
* carries none, and a new authorization starts at the client.
|
|
133
|
+
*
|
|
134
|
+
* Authenticated as GetConsent; an operation that is not this session's or
|
|
135
|
+
* does not exist is NOT_FOUND (CONSENT_NOT_FOUND).
|
|
136
|
+
*
|
|
137
|
+
* @generated from protobuf rpc: GetFlowState
|
|
138
|
+
*/
|
|
139
|
+
getFlowState(input: GetFlowStateRequest, options?: RpcOptions): UnaryCall<GetFlowStateRequest, FlowState>;
|
|
140
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { AuthFlowService } from "./auth_flow.js";
|
|
2
|
+
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
3
|
+
/**
|
|
4
|
+
* @generated from protobuf service sid.v1.authn.AuthFlowService
|
|
5
|
+
*/
|
|
6
|
+
export class AuthFlowServiceClient {
|
|
7
|
+
_transport;
|
|
8
|
+
typeName = AuthFlowService.typeName;
|
|
9
|
+
methods = AuthFlowService.methods;
|
|
10
|
+
options = AuthFlowService.options;
|
|
11
|
+
constructor(_transport) {
|
|
12
|
+
this._transport = _transport;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* The review of one authorization operation: the registered client, the
|
|
16
|
+
* resource and scopes it asks for, the claims each scope releases with
|
|
17
|
+
* the sharing choices allowed, the selected identity, the operation's
|
|
18
|
+
* revision and the CSRF value a decision on that revision must carry.
|
|
19
|
+
*
|
|
20
|
+
* The browser's IdP session must be live, not provisional, and the one the
|
|
21
|
+
* operation is bound to; a reference alone reads nothing. An operation that
|
|
22
|
+
* is not this session's, does not exist or is no longer awaiting a
|
|
23
|
+
* decision is NOT_FOUND, the same for every cause (ErrorInfo reason
|
|
24
|
+
* CONSENT_NOT_FOUND). A missing or foreign Origin is PERMISSION_DENIED.
|
|
25
|
+
*
|
|
26
|
+
* Reading creates no approval. The CSRF value is bound to the session, the
|
|
27
|
+
* operation and the revision; a replaced session or a newer revision
|
|
28
|
+
* makes an earlier value useless.
|
|
29
|
+
*
|
|
30
|
+
* @generated from protobuf rpc: GetConsent
|
|
31
|
+
*/
|
|
32
|
+
getConsent(input, options) {
|
|
33
|
+
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
34
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Record the user's approve or deny decision for the reviewed revision of
|
|
38
|
+
* an operation. The issuer, client, redirect, resource and subject come
|
|
39
|
+
* from the operation the issuer keeps, never from the request; the request
|
|
40
|
+
* carries only the decision, the claim choices the review allowed, the
|
|
41
|
+
* revision and its CSRF value.
|
|
42
|
+
*
|
|
43
|
+
* One owning-store transaction records the decision, the consent grants it
|
|
44
|
+
* gives, the audit entry and the operation's new state. Approval answers
|
|
45
|
+
* with the issuer continuation the browser follows to complete the
|
|
46
|
+
* authorization; denial answers with the same continuation, which returns
|
|
47
|
+
* `access_denied` to the client's validated redirect URI. A denial grants
|
|
48
|
+
* nothing and revokes no earlier grant.
|
|
49
|
+
*
|
|
50
|
+
* A stale revision is ABORTED (CONCURRENT_MODIFICATION); a CSRF value that
|
|
51
|
+
* is absent or not this session's, operation's and revision's is
|
|
52
|
+
* PERMISSION_DENIED (CSRF_TOKEN_INVALID); a choice the review did not offer
|
|
53
|
+
* is INVALID_ARGUMENT with BadRequest naming the claim; an operation that
|
|
54
|
+
* is not this session's or no longer exists is NOT_FOUND
|
|
55
|
+
* (CONSENT_NOT_FOUND).
|
|
56
|
+
*
|
|
57
|
+
* @generated from protobuf rpc: SubmitConsent
|
|
58
|
+
*/
|
|
59
|
+
submitConsent(input, options) {
|
|
60
|
+
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
61
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* The durable state of an operation after a reload or a lost response:
|
|
65
|
+
* awaiting a decision, approved, denied, code issued, or expired. A
|
|
66
|
+
* transport failure is never read as approval or denial. For an approved
|
|
67
|
+
* or denied operation whose code the issuer has not yet issued, the answer
|
|
68
|
+
* carries the issuer continuation again; once the code was issued it
|
|
69
|
+
* carries none, and a new authorization starts at the client.
|
|
70
|
+
*
|
|
71
|
+
* Authenticated as GetConsent; an operation that is not this session's or
|
|
72
|
+
* does not exist is NOT_FOUND (CONSENT_NOT_FOUND).
|
|
73
|
+
*
|
|
74
|
+
* @generated from protobuf rpc: GetFlowState
|
|
75
|
+
*/
|
|
76
|
+
getFlowState(input, options) {
|
|
77
|
+
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
78
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
//# sourceMappingURL=auth_flow.client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth_flow.client.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/authn/auth_flow.client.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAIjD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAmE1D;;GAEG;AACH,MAAM,OAAO,qBAAqB;IAID;IAH7B,QAAQ,GAAG,eAAe,CAAC,QAAQ,CAAC;IACpC,OAAO,GAAG,eAAe,CAAC,OAAO,CAAC;IAClC,OAAO,GAAG,eAAe,CAAC,OAAO,CAAC;IAClC,YAA6B,UAAwB;QAAxB,eAAU,GAAV,UAAU,CAAc;IACrD,CAAC;IACD;;;;;;;;;;;;;;;;;OAiBG;IACH,UAAU,CAAC,KAAwB,EAAE,OAAoB;QACrD,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,cAAc,CAAoC,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IAC3G,CAAC;IACD;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,aAAa,CAAC,KAA2B,EAAE,OAAoB;QAC3D,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,cAAc,CAAkC,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACzG,CAAC;IACD;;;;;;;;;;;;OAYG;IACH,YAAY,CAAC,KAA0B,EAAE,OAAoB;QACzD,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,cAAc,CAAiC,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACxG,CAAC;CACJ","sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"sid/v1/authn/auth_flow.proto\" (package \"sid.v1.authn\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\nimport type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { AuthFlowService } from \"./auth_flow.js\";\nimport type { GetFlowStateRequest } from \"./auth_flow.js\";\nimport type { FlowState } from \"./auth_flow.js\";\nimport type { SubmitConsentRequest } from \"./auth_flow.js\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { ConsentDetails } from \"./auth_flow.js\";\nimport type { GetConsentRequest } from \"./auth_flow.js\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n * @generated from protobuf service sid.v1.authn.AuthFlowService\n */\nexport interface IAuthFlowServiceClient {\n /**\n * The review of one authorization operation: the registered client, the\n * resource and scopes it asks for, the claims each scope releases with\n * the sharing choices allowed, the selected identity, the operation's\n * revision and the CSRF value a decision on that revision must carry.\n *\n * The browser's IdP session must be live, not provisional, and the one the\n * operation is bound to; a reference alone reads nothing. An operation that\n * is not this session's, does not exist or is no longer awaiting a\n * decision is NOT_FOUND, the same for every cause (ErrorInfo reason\n * CONSENT_NOT_FOUND). A missing or foreign Origin is PERMISSION_DENIED.\n *\n * Reading creates no approval. The CSRF value is bound to the session, the\n * operation and the revision; a replaced session or a newer revision\n * makes an earlier value useless.\n *\n * @generated from protobuf rpc: GetConsent\n */\n getConsent(input: GetConsentRequest, options?: RpcOptions): UnaryCall<GetConsentRequest, ConsentDetails>;\n /**\n * Record the user's approve or deny decision for the reviewed revision of\n * an operation. The issuer, client, redirect, resource and subject come\n * from the operation the issuer keeps, never from the request; the request\n * carries only the decision, the claim choices the review allowed, the\n * revision and its CSRF value.\n *\n * One owning-store transaction records the decision, the consent grants it\n * gives, the audit entry and the operation's new state. Approval answers\n * with the issuer continuation the browser follows to complete the\n * authorization; denial answers with the same continuation, which returns\n * `access_denied` to the client's validated redirect URI. A denial grants\n * nothing and revokes no earlier grant.\n *\n * A stale revision is ABORTED (CONCURRENT_MODIFICATION); a CSRF value that\n * is absent or not this session's, operation's and revision's is\n * PERMISSION_DENIED (CSRF_TOKEN_INVALID); a choice the review did not offer\n * is INVALID_ARGUMENT with BadRequest naming the claim; an operation that\n * is not this session's or no longer exists is NOT_FOUND\n * (CONSENT_NOT_FOUND).\n *\n * @generated from protobuf rpc: SubmitConsent\n */\n submitConsent(input: SubmitConsentRequest, options?: RpcOptions): UnaryCall<SubmitConsentRequest, FlowState>;\n /**\n * The durable state of an operation after a reload or a lost response:\n * awaiting a decision, approved, denied, code issued, or expired. A\n * transport failure is never read as approval or denial. For an approved\n * or denied operation whose code the issuer has not yet issued, the answer\n * carries the issuer continuation again; once the code was issued it\n * carries none, and a new authorization starts at the client.\n *\n * Authenticated as GetConsent; an operation that is not this session's or\n * does not exist is NOT_FOUND (CONSENT_NOT_FOUND).\n *\n * @generated from protobuf rpc: GetFlowState\n */\n getFlowState(input: GetFlowStateRequest, options?: RpcOptions): UnaryCall<GetFlowStateRequest, FlowState>;\n}\n/**\n * @generated from protobuf service sid.v1.authn.AuthFlowService\n */\nexport class AuthFlowServiceClient implements IAuthFlowServiceClient, ServiceInfo {\n typeName = AuthFlowService.typeName;\n methods = AuthFlowService.methods;\n options = AuthFlowService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * The review of one authorization operation: the registered client, the\n * resource and scopes it asks for, the claims each scope releases with\n * the sharing choices allowed, the selected identity, the operation's\n * revision and the CSRF value a decision on that revision must carry.\n *\n * The browser's IdP session must be live, not provisional, and the one the\n * operation is bound to; a reference alone reads nothing. An operation that\n * is not this session's, does not exist or is no longer awaiting a\n * decision is NOT_FOUND, the same for every cause (ErrorInfo reason\n * CONSENT_NOT_FOUND). A missing or foreign Origin is PERMISSION_DENIED.\n *\n * Reading creates no approval. The CSRF value is bound to the session, the\n * operation and the revision; a replaced session or a newer revision\n * makes an earlier value useless.\n *\n * @generated from protobuf rpc: GetConsent\n */\n getConsent(input: GetConsentRequest, options?: RpcOptions): UnaryCall<GetConsentRequest, ConsentDetails> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetConsentRequest, ConsentDetails>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Record the user's approve or deny decision for the reviewed revision of\n * an operation. The issuer, client, redirect, resource and subject come\n * from the operation the issuer keeps, never from the request; the request\n * carries only the decision, the claim choices the review allowed, the\n * revision and its CSRF value.\n *\n * One owning-store transaction records the decision, the consent grants it\n * gives, the audit entry and the operation's new state. Approval answers\n * with the issuer continuation the browser follows to complete the\n * authorization; denial answers with the same continuation, which returns\n * `access_denied` to the client's validated redirect URI. A denial grants\n * nothing and revokes no earlier grant.\n *\n * A stale revision is ABORTED (CONCURRENT_MODIFICATION); a CSRF value that\n * is absent or not this session's, operation's and revision's is\n * PERMISSION_DENIED (CSRF_TOKEN_INVALID); a choice the review did not offer\n * is INVALID_ARGUMENT with BadRequest naming the claim; an operation that\n * is not this session's or no longer exists is NOT_FOUND\n * (CONSENT_NOT_FOUND).\n *\n * @generated from protobuf rpc: SubmitConsent\n */\n submitConsent(input: SubmitConsentRequest, options?: RpcOptions): UnaryCall<SubmitConsentRequest, FlowState> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<SubmitConsentRequest, FlowState>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * The durable state of an operation after a reload or a lost response:\n * awaiting a decision, approved, denied, code issued, or expired. A\n * transport failure is never read as approval or denial. For an approved\n * or denied operation whose code the issuer has not yet issued, the answer\n * carries the issuer continuation again; once the code was issued it\n * carries none, and a new authorization starts at the client.\n *\n * Authenticated as GetConsent; an operation that is not this session's or\n * does not exist is NOT_FOUND (CONSENT_NOT_FOUND).\n *\n * @generated from protobuf rpc: GetFlowState\n */\n getFlowState(input: GetFlowStateRequest, options?: RpcOptions): UnaryCall<GetFlowStateRequest, FlowState> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetFlowStateRequest, FlowState>(\"unary\", this._transport, method, opt, input);\n }\n}\n"]}
|
|
@@ -0,0 +1,418 @@
|
|
|
1
|
+
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
|
2
|
+
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
3
|
+
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
4
|
+
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
5
|
+
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
6
|
+
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
7
|
+
import { MessageType } from "@protobuf-ts/runtime";
|
|
8
|
+
import { ClaimType } from "../common/claims.js";
|
|
9
|
+
import { ClaimRequestLevel } from "../common/claims.js";
|
|
10
|
+
import { Timestamp } from "../../../google/protobuf/timestamp.js";
|
|
11
|
+
import { AuthorizationOperationId } from "../ids/ids.js";
|
|
12
|
+
/**
|
|
13
|
+
* @generated from protobuf message sid.v1.authn.GetConsentRequest
|
|
14
|
+
*/
|
|
15
|
+
export interface GetConsentRequest {
|
|
16
|
+
/**
|
|
17
|
+
* The operation the consent page was sent to review, from the issuer's
|
|
18
|
+
* redirect to that page. A reference only: the IdP session decides
|
|
19
|
+
* whether it may be read.
|
|
20
|
+
*
|
|
21
|
+
* @generated from protobuf field: sid.v1.ids.AuthorizationOperationId operation_id = 1
|
|
22
|
+
*/
|
|
23
|
+
operationId?: AuthorizationOperationId;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* What the user is asked to decide for one authorization operation.
|
|
27
|
+
*
|
|
28
|
+
* @generated from protobuf message sid.v1.authn.ConsentDetails
|
|
29
|
+
*/
|
|
30
|
+
export interface ConsentDetails {
|
|
31
|
+
/**
|
|
32
|
+
* The operation under review.
|
|
33
|
+
*
|
|
34
|
+
* @generated from protobuf field: sid.v1.ids.AuthorizationOperationId operation_id = 1
|
|
35
|
+
*/
|
|
36
|
+
operationId?: AuthorizationOperationId;
|
|
37
|
+
/**
|
|
38
|
+
* The revision this review shows. A decision names it; the operation
|
|
39
|
+
* refuses a decision for any other revision.
|
|
40
|
+
*
|
|
41
|
+
* @generated from protobuf field: uint64 revision = 2
|
|
42
|
+
*/
|
|
43
|
+
revision: bigint;
|
|
44
|
+
/**
|
|
45
|
+
* Server-generated value bound to the browser's IdP session, this
|
|
46
|
+
* operation and this revision; echoed unchanged in SubmitConsent. Not a
|
|
47
|
+
* credential by itself and never logged.
|
|
48
|
+
*
|
|
49
|
+
* @generated from protobuf field: bytes csrf_token = 3
|
|
50
|
+
*/
|
|
51
|
+
csrfToken: Uint8Array;
|
|
52
|
+
/**
|
|
53
|
+
* The canonical URL of the issuer the authorization is for (OIDC
|
|
54
|
+
* Discovery 1.0 §4.3), shown to the user.
|
|
55
|
+
*
|
|
56
|
+
* @generated from protobuf field: string issuer = 4
|
|
57
|
+
*/
|
|
58
|
+
issuer: string;
|
|
59
|
+
/**
|
|
60
|
+
* The requesting client's registered identifier (RFC 6749 §2.2).
|
|
61
|
+
*
|
|
62
|
+
* @generated from protobuf field: string client_id = 5
|
|
63
|
+
*/
|
|
64
|
+
clientId: string;
|
|
65
|
+
/**
|
|
66
|
+
* The client's display name as registered; empty when it names none.
|
|
67
|
+
*
|
|
68
|
+
* @generated from protobuf field: string client_name = 6
|
|
69
|
+
*/
|
|
70
|
+
clientName: string;
|
|
71
|
+
/**
|
|
72
|
+
* The resource indicator the access tokens will be for (RFC 8707 §2).
|
|
73
|
+
*
|
|
74
|
+
* @generated from protobuf field: string resource = 7
|
|
75
|
+
*/
|
|
76
|
+
resource: string;
|
|
77
|
+
/**
|
|
78
|
+
* The scopes the request asks for that the client may be granted
|
|
79
|
+
* (RFC 6749 §3.3), in the order requested. Approval grants exactly these.
|
|
80
|
+
*
|
|
81
|
+
* @generated from protobuf field: repeated string scopes = 8
|
|
82
|
+
*/
|
|
83
|
+
scopes: string[];
|
|
84
|
+
/**
|
|
85
|
+
* The claims these scopes release, one entry each, with the sharing
|
|
86
|
+
* choices the user may make for it.
|
|
87
|
+
*
|
|
88
|
+
* @generated from protobuf field: repeated sid.v1.authn.ConsentClaim claims = 9
|
|
89
|
+
*/
|
|
90
|
+
claims: ConsentClaim[];
|
|
91
|
+
/**
|
|
92
|
+
* How the selected identity is shown to the user: the display name of the
|
|
93
|
+
* Profile signing in, for the user's own recognition. Never sent to the
|
|
94
|
+
* client.
|
|
95
|
+
*
|
|
96
|
+
* @generated from protobuf field: string identity_display_name = 10
|
|
97
|
+
*/
|
|
98
|
+
identityDisplayName: string;
|
|
99
|
+
/**
|
|
100
|
+
* When the operation stops waiting for a decision; afterwards it is
|
|
101
|
+
* expired and a new authorization starts at the client.
|
|
102
|
+
*
|
|
103
|
+
* @generated from protobuf field: google.protobuf.Timestamp expires_at = 11
|
|
104
|
+
*/
|
|
105
|
+
expiresAt?: Timestamp;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* One claim the reviewed scopes release.
|
|
109
|
+
*
|
|
110
|
+
* @generated from protobuf message sid.v1.authn.ConsentClaim
|
|
111
|
+
*/
|
|
112
|
+
export interface ConsentClaim {
|
|
113
|
+
/**
|
|
114
|
+
* The claim name (OIDC Core 1.0 §5.1), for example `email`.
|
|
115
|
+
*
|
|
116
|
+
* @generated from protobuf field: string name = 1
|
|
117
|
+
*/
|
|
118
|
+
name: string;
|
|
119
|
+
/**
|
|
120
|
+
* How important the claim is to the client.
|
|
121
|
+
*
|
|
122
|
+
* @generated from protobuf field: sid.v1.common.ClaimRequestLevel level = 2
|
|
123
|
+
*/
|
|
124
|
+
level: ClaimRequestLevel;
|
|
125
|
+
/**
|
|
126
|
+
* The client's stated reason; present for a DEMANDED claim.
|
|
127
|
+
*
|
|
128
|
+
* @generated from protobuf field: optional string justification = 3
|
|
129
|
+
*/
|
|
130
|
+
justification?: string;
|
|
131
|
+
/**
|
|
132
|
+
* The sharing modes the user may choose for this claim; one of them is
|
|
133
|
+
* chosen in SubmitConsent. Never empty for an approvable claim.
|
|
134
|
+
*
|
|
135
|
+
* @generated from protobuf field: repeated sid.v1.authn.ClaimSharing allowed = 4
|
|
136
|
+
*/
|
|
137
|
+
allowed: ClaimSharing[];
|
|
138
|
+
/**
|
|
139
|
+
* What sharing discloses: the claim's value, or only that it was
|
|
140
|
+
* verified, as the client registered the request.
|
|
141
|
+
*
|
|
142
|
+
* @generated from protobuf field: sid.v1.common.ClaimType type = 5
|
|
143
|
+
*/
|
|
144
|
+
type: ClaimType;
|
|
145
|
+
/**
|
|
146
|
+
* The value approving discloses, from the selected Profile's current
|
|
147
|
+
* version as this review reads it, for example `alice@example.com`.
|
|
148
|
+
* Absent when the Profile holds no value: the claim cannot be shared.
|
|
149
|
+
* A value changed after this review makes its decision stale.
|
|
150
|
+
*
|
|
151
|
+
* @generated from protobuf field: optional string value = 6
|
|
152
|
+
*/
|
|
153
|
+
value?: string;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* @generated from protobuf message sid.v1.authn.SubmitConsentRequest
|
|
157
|
+
*/
|
|
158
|
+
export interface SubmitConsentRequest {
|
|
159
|
+
/**
|
|
160
|
+
* The operation decided.
|
|
161
|
+
*
|
|
162
|
+
* @generated from protobuf field: sid.v1.ids.AuthorizationOperationId operation_id = 1
|
|
163
|
+
*/
|
|
164
|
+
operationId?: AuthorizationOperationId;
|
|
165
|
+
/**
|
|
166
|
+
* The revision the user reviewed, as ConsentDetails answered it.
|
|
167
|
+
*
|
|
168
|
+
* @generated from protobuf field: uint64 revision = 2
|
|
169
|
+
*/
|
|
170
|
+
revision: bigint;
|
|
171
|
+
/**
|
|
172
|
+
* The CSRF value ConsentDetails answered for that revision.
|
|
173
|
+
*
|
|
174
|
+
* @generated from protobuf field: bytes csrf_token = 3
|
|
175
|
+
*/
|
|
176
|
+
csrfToken: Uint8Array;
|
|
177
|
+
/**
|
|
178
|
+
* The user's explicit decision.
|
|
179
|
+
*
|
|
180
|
+
* @generated from protobuf field: sid.v1.authn.ConsentDecision decision = 4
|
|
181
|
+
*/
|
|
182
|
+
decision: ConsentDecision;
|
|
183
|
+
/**
|
|
184
|
+
* For an approval, the sharing choice for each claim of the review, one
|
|
185
|
+
* entry per claim, each among that claim's allowed choices. Ignored for a
|
|
186
|
+
* denial.
|
|
187
|
+
*
|
|
188
|
+
* @generated from protobuf field: repeated sid.v1.authn.ClaimChoice choices = 5
|
|
189
|
+
*/
|
|
190
|
+
choices: ClaimChoice[];
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* The user's choice for one reviewed claim.
|
|
194
|
+
*
|
|
195
|
+
* @generated from protobuf message sid.v1.authn.ClaimChoice
|
|
196
|
+
*/
|
|
197
|
+
export interface ClaimChoice {
|
|
198
|
+
/**
|
|
199
|
+
* The claim name, as ConsentClaim named it.
|
|
200
|
+
*
|
|
201
|
+
* @generated from protobuf field: string name = 1
|
|
202
|
+
*/
|
|
203
|
+
name: string;
|
|
204
|
+
/**
|
|
205
|
+
* The chosen sharing mode, one of that claim's allowed modes.
|
|
206
|
+
*
|
|
207
|
+
* @generated from protobuf field: sid.v1.authn.ClaimSharing sharing = 2
|
|
208
|
+
*/
|
|
209
|
+
sharing: ClaimSharing;
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* @generated from protobuf message sid.v1.authn.GetFlowStateRequest
|
|
213
|
+
*/
|
|
214
|
+
export interface GetFlowStateRequest {
|
|
215
|
+
/**
|
|
216
|
+
* The operation whose state is read.
|
|
217
|
+
*
|
|
218
|
+
* @generated from protobuf field: sid.v1.ids.AuthorizationOperationId operation_id = 1
|
|
219
|
+
*/
|
|
220
|
+
operationId?: AuthorizationOperationId;
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* The durable state of an authorization operation.
|
|
224
|
+
*
|
|
225
|
+
* @generated from protobuf message sid.v1.authn.FlowState
|
|
226
|
+
*/
|
|
227
|
+
export interface FlowState {
|
|
228
|
+
/**
|
|
229
|
+
* The operation.
|
|
230
|
+
*
|
|
231
|
+
* @generated from protobuf field: sid.v1.ids.AuthorizationOperationId operation_id = 1
|
|
232
|
+
*/
|
|
233
|
+
operationId?: AuthorizationOperationId;
|
|
234
|
+
/**
|
|
235
|
+
* Where the operation stands.
|
|
236
|
+
*
|
|
237
|
+
* @generated from protobuf field: sid.v1.authn.AuthorizationStep step = 2
|
|
238
|
+
*/
|
|
239
|
+
step: AuthorizationStep;
|
|
240
|
+
/**
|
|
241
|
+
* The issuer continuation the browser navigates to, present while the
|
|
242
|
+
* operation is approved or denied and its outcome not yet delivered: the
|
|
243
|
+
* issuer's own authorization endpoint continuing this operation. It
|
|
244
|
+
* carries no code or token and is never a client-supplied URL.
|
|
245
|
+
*
|
|
246
|
+
* @generated from protobuf field: optional string continuation_uri = 3
|
|
247
|
+
*/
|
|
248
|
+
continuationUri?: string;
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* How a claim is shared with the client.
|
|
252
|
+
*
|
|
253
|
+
* @generated from protobuf enum sid.v1.authn.ClaimSharing
|
|
254
|
+
*/
|
|
255
|
+
export declare enum ClaimSharing {
|
|
256
|
+
/**
|
|
257
|
+
* @generated from protobuf enum value: CLAIM_SHARING_UNSPECIFIED = 0;
|
|
258
|
+
*/
|
|
259
|
+
UNSPECIFIED = 0,
|
|
260
|
+
/**
|
|
261
|
+
* Not shared.
|
|
262
|
+
*
|
|
263
|
+
* @generated from protobuf enum value: CLAIM_SHARING_NONE = 1;
|
|
264
|
+
*/
|
|
265
|
+
NONE = 1,
|
|
266
|
+
/**
|
|
267
|
+
* The current value only; a later change is not delivered.
|
|
268
|
+
*
|
|
269
|
+
* @generated from protobuf enum value: CLAIM_SHARING_STATIC = 2;
|
|
270
|
+
*/
|
|
271
|
+
STATIC = 2,
|
|
272
|
+
/**
|
|
273
|
+
* The current value and its later changes, as the client subscribed.
|
|
274
|
+
*
|
|
275
|
+
* @generated from protobuf enum value: CLAIM_SHARING_SUBSCRIBED = 3;
|
|
276
|
+
*/
|
|
277
|
+
SUBSCRIBED = 3
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* The user's decision on an authorization operation.
|
|
281
|
+
*
|
|
282
|
+
* @generated from protobuf enum sid.v1.authn.ConsentDecision
|
|
283
|
+
*/
|
|
284
|
+
export declare enum ConsentDecision {
|
|
285
|
+
/**
|
|
286
|
+
* @generated from protobuf enum value: CONSENT_DECISION_UNSPECIFIED = 0;
|
|
287
|
+
*/
|
|
288
|
+
UNSPECIFIED = 0,
|
|
289
|
+
/**
|
|
290
|
+
* Grant the reviewed authorization with the given claim choices.
|
|
291
|
+
*
|
|
292
|
+
* @generated from protobuf enum value: CONSENT_DECISION_APPROVE = 1;
|
|
293
|
+
*/
|
|
294
|
+
APPROVE = 1,
|
|
295
|
+
/**
|
|
296
|
+
* Refuse this authorization request; earlier grants are not affected.
|
|
297
|
+
*
|
|
298
|
+
* @generated from protobuf enum value: CONSENT_DECISION_DENY = 2;
|
|
299
|
+
*/
|
|
300
|
+
DENY = 2
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* Where an authorization operation stands.
|
|
304
|
+
*
|
|
305
|
+
* @generated from protobuf enum sid.v1.authn.AuthorizationStep
|
|
306
|
+
*/
|
|
307
|
+
export declare enum AuthorizationStep {
|
|
308
|
+
/**
|
|
309
|
+
* @generated from protobuf enum value: AUTHORIZATION_STEP_UNSPECIFIED = 0;
|
|
310
|
+
*/
|
|
311
|
+
UNSPECIFIED = 0,
|
|
312
|
+
/**
|
|
313
|
+
* Waiting for the user's decision.
|
|
314
|
+
*
|
|
315
|
+
* @generated from protobuf enum value: AUTHORIZATION_STEP_AWAITING_CONSENT = 1;
|
|
316
|
+
*/
|
|
317
|
+
AWAITING_CONSENT = 1,
|
|
318
|
+
/**
|
|
319
|
+
* Approved; the issuer issues the code when the browser continues.
|
|
320
|
+
*
|
|
321
|
+
* @generated from protobuf enum value: AUTHORIZATION_STEP_APPROVED = 2;
|
|
322
|
+
*/
|
|
323
|
+
APPROVED = 2,
|
|
324
|
+
/**
|
|
325
|
+
* Denied; the issuer returns `access_denied` when the browser continues.
|
|
326
|
+
*
|
|
327
|
+
* @generated from protobuf enum value: AUTHORIZATION_STEP_DENIED = 3;
|
|
328
|
+
*/
|
|
329
|
+
DENIED = 3,
|
|
330
|
+
/**
|
|
331
|
+
* The issuer issued the operation's one code or delivered its denial;
|
|
332
|
+
* nothing more is issued for it.
|
|
333
|
+
*
|
|
334
|
+
* @generated from protobuf enum value: AUTHORIZATION_STEP_COMPLETED = 4;
|
|
335
|
+
*/
|
|
336
|
+
COMPLETED = 4,
|
|
337
|
+
/**
|
|
338
|
+
* The operation expired or was superseded before completing.
|
|
339
|
+
*
|
|
340
|
+
* @generated from protobuf enum value: AUTHORIZATION_STEP_EXPIRED = 5;
|
|
341
|
+
*/
|
|
342
|
+
EXPIRED = 5
|
|
343
|
+
}
|
|
344
|
+
declare class GetConsentRequest$Type extends MessageType<GetConsentRequest> {
|
|
345
|
+
constructor();
|
|
346
|
+
create(value?: PartialMessage<GetConsentRequest>): GetConsentRequest;
|
|
347
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetConsentRequest): GetConsentRequest;
|
|
348
|
+
internalBinaryWrite(message: GetConsentRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
349
|
+
}
|
|
350
|
+
/**
|
|
351
|
+
* @generated MessageType for protobuf message sid.v1.authn.GetConsentRequest
|
|
352
|
+
*/
|
|
353
|
+
export declare const GetConsentRequest: GetConsentRequest$Type;
|
|
354
|
+
declare class ConsentDetails$Type extends MessageType<ConsentDetails> {
|
|
355
|
+
constructor();
|
|
356
|
+
create(value?: PartialMessage<ConsentDetails>): ConsentDetails;
|
|
357
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ConsentDetails): ConsentDetails;
|
|
358
|
+
internalBinaryWrite(message: ConsentDetails, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
359
|
+
}
|
|
360
|
+
/**
|
|
361
|
+
* @generated MessageType for protobuf message sid.v1.authn.ConsentDetails
|
|
362
|
+
*/
|
|
363
|
+
export declare const ConsentDetails: ConsentDetails$Type;
|
|
364
|
+
declare class ConsentClaim$Type extends MessageType<ConsentClaim> {
|
|
365
|
+
constructor();
|
|
366
|
+
create(value?: PartialMessage<ConsentClaim>): ConsentClaim;
|
|
367
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ConsentClaim): ConsentClaim;
|
|
368
|
+
internalBinaryWrite(message: ConsentClaim, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
369
|
+
}
|
|
370
|
+
/**
|
|
371
|
+
* @generated MessageType for protobuf message sid.v1.authn.ConsentClaim
|
|
372
|
+
*/
|
|
373
|
+
export declare const ConsentClaim: ConsentClaim$Type;
|
|
374
|
+
declare class SubmitConsentRequest$Type extends MessageType<SubmitConsentRequest> {
|
|
375
|
+
constructor();
|
|
376
|
+
create(value?: PartialMessage<SubmitConsentRequest>): SubmitConsentRequest;
|
|
377
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SubmitConsentRequest): SubmitConsentRequest;
|
|
378
|
+
internalBinaryWrite(message: SubmitConsentRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
379
|
+
}
|
|
380
|
+
/**
|
|
381
|
+
* @generated MessageType for protobuf message sid.v1.authn.SubmitConsentRequest
|
|
382
|
+
*/
|
|
383
|
+
export declare const SubmitConsentRequest: SubmitConsentRequest$Type;
|
|
384
|
+
declare class ClaimChoice$Type extends MessageType<ClaimChoice> {
|
|
385
|
+
constructor();
|
|
386
|
+
create(value?: PartialMessage<ClaimChoice>): ClaimChoice;
|
|
387
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ClaimChoice): ClaimChoice;
|
|
388
|
+
internalBinaryWrite(message: ClaimChoice, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
389
|
+
}
|
|
390
|
+
/**
|
|
391
|
+
* @generated MessageType for protobuf message sid.v1.authn.ClaimChoice
|
|
392
|
+
*/
|
|
393
|
+
export declare const ClaimChoice: ClaimChoice$Type;
|
|
394
|
+
declare class GetFlowStateRequest$Type extends MessageType<GetFlowStateRequest> {
|
|
395
|
+
constructor();
|
|
396
|
+
create(value?: PartialMessage<GetFlowStateRequest>): GetFlowStateRequest;
|
|
397
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetFlowStateRequest): GetFlowStateRequest;
|
|
398
|
+
internalBinaryWrite(message: GetFlowStateRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
399
|
+
}
|
|
400
|
+
/**
|
|
401
|
+
* @generated MessageType for protobuf message sid.v1.authn.GetFlowStateRequest
|
|
402
|
+
*/
|
|
403
|
+
export declare const GetFlowStateRequest: GetFlowStateRequest$Type;
|
|
404
|
+
declare class FlowState$Type extends MessageType<FlowState> {
|
|
405
|
+
constructor();
|
|
406
|
+
create(value?: PartialMessage<FlowState>): FlowState;
|
|
407
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FlowState): FlowState;
|
|
408
|
+
internalBinaryWrite(message: FlowState, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
409
|
+
}
|
|
410
|
+
/**
|
|
411
|
+
* @generated MessageType for protobuf message sid.v1.authn.FlowState
|
|
412
|
+
*/
|
|
413
|
+
export declare const FlowState: FlowState$Type;
|
|
414
|
+
/**
|
|
415
|
+
* @generated ServiceType for protobuf service sid.v1.authn.AuthFlowService
|
|
416
|
+
*/
|
|
417
|
+
export declare const AuthFlowService: ServiceType;
|
|
418
|
+
export {};
|