diff --git a/.gitignore b/.gitignore
index 1d544be..f6dc0be 100644
--- a/.gitignore
+++ b/.gitignore
@@ -27,3 +27,7 @@ yarn-error.log*
# compiled example binaries
with-go/with-go
+
+# compiled example binaries
+with-grpc/with-grpc
+with-microservices-go/bin/
diff --git a/with-agent-delegation/demo.mjs b/with-agent-delegation/demo.mjs
index ef04d5f..7796095 100644
--- a/with-agent-delegation/demo.mjs
+++ b/with-agent-delegation/demo.mjs
@@ -159,8 +159,14 @@ async function getUserToken() {
try {
return await signup();
} catch {}
+ // _delete_user takes an id, not an email: a phone-only signup has no email,
+ // so email was never an identifier every account has. Look the id up first.
+ const { _user: stale } = await adminGql(
+ `query ($params: GetUserRequest!) { _user(params: $params) { id } }`,
+ { params: { email: USER_EMAIL } }
+ );
await adminGql(`mutation ($params: DeleteUserRequest!) { _delete_user(params: $params) { message } }`, {
- params: { email: USER_EMAIL },
+ params: { id: stale.id },
});
return signup();
}
diff --git a/with-agent-permissions/README.md b/with-agent-permissions/README.md
index e13c478..622f870 100644
--- a/with-agent-permissions/README.md
+++ b/with-agent-permissions/README.md
@@ -67,8 +67,8 @@ non-zero if any of them does not hold.
## Turning it on: declare `type agent`
-**There is no flag.** Declaring `type agent` in your authorization model *is*
-the opt-in:
+**There is no enabling flag.** Declaring `type agent` in your authorization
+model *is* the opt-in:
```dsl
model
@@ -90,9 +90,13 @@ deny *every* delegated request: a total authorization outage rather than a
graceful degradation. Auto-detection makes that state unreachable.
Section 8 of the demo shows the other side of that trade: rewrite the model
-without `type agent` and the same agent immediately inherits Alice's full
-authority again. Deployments that never opt in keep their existing behaviour
-byte-for-byte, and that state is counted as
+without `type agent` and every delegated check is **denied**, because the
+agent half of `perms(agent) ∩ perms(user)` cannot be evaluated and a check
+that cannot be evaluated is not a check that passes. Authorizing as the user
+alone would hand the agent Alice's full authority — the Confused Deputy this
+feature exists to prevent — so it is not the default. Deployments migrating
+from 2.3.x can set `--fga-allow-unconstrained-agents` to restore exactly that
+old behaviour; either way the state is counted as
`authorizer_fga_delegated_checks_total{outcome="not_enforced"}` so you can alert
on agent traffic arriving unconstrained.
diff --git a/with-agent-permissions/demo.mjs b/with-agent-permissions/demo.mjs
index ec36e66..13059d3 100644
--- a/with-agent-permissions/demo.mjs
+++ b/with-agent-permissions/demo.mjs
@@ -44,11 +44,12 @@ const DOC_PLAN = `document:q4-plan-${runId}`;
const DOC_PAYROLL = `document:payroll-${runId}`;
const DOC_ROADMAP = `document:roadmap-${runId}`;
-// Declaring `type agent` IS the opt-in — there is no flag. The feature is
-// meaningless without a model that can express agent grants, and checking
-// `agent:x` against a model with no agent type ERRORS in OpenFGA rather than
-// returning false, so a flag switched on against an unprepared model would deny
-// every delegated request. Auto-detection makes that state unreachable.
+// Declaring `type agent` IS the opt-in — there is no enabling flag. The
+// feature is meaningless without a model that can express agent grants, and
+// checking `agent:x` against a model with no agent type ERRORS in OpenFGA
+// rather than returning false, so a flag switched on against an unprepared
+// model would deny every delegated request. Auto-detection makes that state
+// unreachable.
const MODEL_WITH_AGENT = `model
schema 1.1
type user
@@ -59,8 +60,8 @@ type document
define can_view: viewer
`;
-// The same model WITHOUT the agent type: the "operator has not opted in" state,
-// used by the final section.
+// The same model WITHOUT the agent type: the "operator has not opted in"
+// state, used by the final section.
const MODEL_WITHOUT_AGENT = `model
schema 1.1
type user
@@ -154,6 +155,21 @@ function expect(label, actual, wanted) {
console.log(` ${ok ? "✓" : "✗"} ${label}${ok ? "" : ` (got ${JSON.stringify(actual)}, want ${JSON.stringify(wanted)})`}`);
}
+// Some denials are a rejected request rather than `allowed: false` — a check
+// the server refuses to evaluate at all returns an error, and swallowing that
+// would let a broken deployment read as a passing one.
+async function expectDenied(label, call) {
+ let outcome;
+ try {
+ outcome = `allowed: ${JSON.stringify(await call())}`;
+ } catch (err) {
+ console.log(` ✓ ${label} (${err.message})`);
+ return;
+ }
+ failures++;
+ console.log(` ✗ ${label} (got ${outcome}, want a denial)`);
+}
+
// Since 2.4.0 MFA is on by default, so signup/login enrol nothing but OFFER an
// MFA setup: no access token, and the message "Proceed to mfa setup", until the
// user either enrols a factor or explicitly declines. This demo is about
@@ -200,8 +216,14 @@ async function getUserToken() {
try {
return await signup();
} catch {}
+ // _delete_user takes an id, not an email: a phone-only signup has no email,
+ // so email was never an identifier every account has. Look the id up first.
+ const { _user: stale } = await adminGql(
+ `query ($params: GetUserRequest!) { _user(params: $params) { id } }`,
+ { params: { email: USER_EMAIL } }
+ );
await adminGql(`mutation ($params: DeleteUserRequest!) { _delete_user(params: $params) { message } }`, {
- params: { email: USER_EMAIL },
+ params: { id: stale.id },
});
return signup();
}
@@ -319,20 +341,23 @@ async function main() {
expect("calendar-agent -> q4-plan is now denied", await check(delegated, DOC_PLAN), false);
expect("Alice -> q4-plan still allowed", await check(userToken, DOC_PLAN), true);
- console.log(`\n== 8. The opt-in: a model with no \`type agent\` ==`);
+ console.log(`\n== 8. Not opted in: a model with no \`type agent\` ==`);
// Tuples survive a model rewrite — only the schema changed, so Alice keeps
// her payroll grant and the agent keeps the tuples it still has. The ONLY
- // difference is that the model can no longer express an agent subject.
+ // difference is that the model can no longer express an agent subject, so
+ // the agent half of the intersection cannot be evaluated at all.
await writeModel(MODEL_WITHOUT_AGENT);
- expect(
- "payroll — the agent now inherits Alice's FULL authority -> allowed",
- await check(delegated, DOC_PAYROLL),
- true
+ await expectDenied(
+ "payroll — the agent half cannot be evaluated -> the whole check is denied",
+ () => check(delegated, DOC_PAYROLL)
);
- console.log(` This is the documented compatibility path, not a bug: deployments that`);
- console.log(` have not opted in keep their existing behaviour byte-for-byte. It is`);
- console.log(` counted as authorizer_fga_delegated_checks_total{outcome="not_enforced"}`);
- console.log(` so you can alert on agent traffic arriving unconstrained.`);
+ console.log(` Fail closed: a check that cannot be evaluated is not a check that passes.`);
+ console.log(` Authorizing as the user alone would hand the agent Alice's full authority,`);
+ console.log(` which is exactly the Confused Deputy this feature exists to prevent.`);
+ console.log(` Deployments migrating from 2.3.x can set --fga-allow-unconstrained-agents`);
+ console.log(` to restore that old behaviour; either way it is counted as`);
+ console.log(` authorizer_fga_delegated_checks_total{outcome="not_enforced"}, so you can`);
+ console.log(` alert on agent traffic arriving unconstrained.`);
// Leave the store as we found it for the next run.
await writeModel(MODEL_WITH_AGENT);
diff --git a/with-agent-permissions/mcp-agent.mjs b/with-agent-permissions/mcp-agent.mjs
index cc4cfa5..c2a4462 100644
--- a/with-agent-permissions/mcp-agent.mjs
+++ b/with-agent-permissions/mcp-agent.mjs
@@ -25,7 +25,10 @@ import path from "node:path";
import readline from "node:readline";
const HERE = path.dirname(fileURLToPath(import.meta.url));
-const SERVER_DIR = path.resolve(HERE, "../../authorizer");
+// Override to build a specific checkout, e.g. a release worktree. Must be the
+// same checkout run-server.sh started: `authorizer mcp` is a second process
+// against the same database, not a client of the running one.
+const SERVER_DIR = process.env.AUTHORIZER_SERVER_DIR ?? path.resolve(HERE, "../../authorizer");
const DB_PATH = path.join(HERE, ".agent-demo.db");
// A DELEGATED TOKEN LIVES 5 MINUTES. `go run` recompiles the whole server on
// every spawn, which can eat most of that window before the first tool call —
diff --git a/with-agent-permissions/run-server.sh b/with-agent-permissions/run-server.sh
index 6401736..47d3cd2 100755
--- a/with-agent-permissions/run-server.sh
+++ b/with-agent-permissions/run-server.sh
@@ -14,7 +14,9 @@
set -euo pipefail
DIR="$(cd "$(dirname "$0")" && pwd)"
-SERVER_DIR="$DIR/../../authorizer"
+# Override to run a specific checkout, e.g. a release worktree:
+# SERVER_DIR=/path/to/authorizer@2.4.0-rc.18 ./run-server.sh
+SERVER_DIR="${SERVER_DIR:-$DIR/../../authorizer}"
# Override when :8080 is taken, e.g. PORT=8098 ./run-server.sh
# (then run the demos with AUTHORIZER_URL=http://localhost:8098)
diff --git a/with-agents-python/README.md b/with-agents-python/README.md
index 8337419..6723b24 100644
--- a/with-agents-python/README.md
+++ b/with-agents-python/README.md
@@ -21,17 +21,12 @@ upstream hop dropped (`invalid_scope`), and delegated tokens live 5 minutes.
## Quickstart
Requires a server built from main (`make dev` in the server repo → :8080)
-and the **unreleased** Python SDK from local main, checked out next to this
-repo. `authorizer-py` 0.3.0rc3 is on PyPI and does have token exchange and
-`skip_mfa_setup`, but not the loopback cookie jar that the MFA offer needs:
-the server marks the `mfa_session` cookie `Secure` even over plain http, so
-against a local server the released SDK drops it and `skip_mfa_setup` fails
-with `invalid session`. Switch to `pip install --pre authorizer-py` once
-that fix ships:
+and the Authorizer Python SDK (token-exchange support ships in
+`authorizer-py>=0.3.0rc4`):
```bash
python3 -m venv .venv
-.venv/bin/pip install -e ../../authorizer-python
+.venv/bin/pip install -r requirements.txt
export AUTHORIZER_CLIENT_ID=kbyuFDidLLm280LIwVFiazOqjO3ty8KH # make-dev default
export AUTHORIZER_ADMIN_SECRET=admin
diff --git a/with-agents-python/demo.py b/with-agents-python/demo.py
index e004c0b..1712524 100644
--- a/with-agents-python/demo.py
+++ b/with-agents-python/demo.py
@@ -9,13 +9,10 @@
python demo.py --async # same flow on the async client
Requires an Authorizer server built from main (`make dev` in the server
-repo) and the UNRELEASED Python SDK from local main:
+repo) and the Authorizer Python SDK (token exchange ships in
+`authorizer-py>=0.3.0rc4`):
- pip install -e ../../authorizer-python
-
-(The released authorizer-py 0.3.0rc3 has token exchange and skip_mfa_setup,
-but not the loopback cookie jar the MFA offer needs against a local http
-server. Switch to `pip install --pre authorizer-py` once that ships.)
+ pip install -r requirements.txt
"""
from __future__ import annotations
@@ -85,6 +82,17 @@ def claims(jwt: str) -> dict:
"""
+def mfa_cookie(client) -> dict[str, str]:
+ """Header replaying the MFA session cookie signup set on this client.
+
+ skip_mfa_setup is identified by that cookie plus the email. The server
+ marks it Secure (--app-cookie-secure defaults to true), so httpx keeps it
+ in its jar but refuses to replay it over plain http and it has to be sent
+ by hand. A deployment on https needs none of this.
+ """
+ return {"Cookie": f"mfa_session={client._http.cookies.get('mfa_session')}"}
+
+
def print_act_chain(token: str, label: str) -> None:
c = claims(token)
print(f"\n== {label} ==")
@@ -115,7 +123,7 @@ def run_sync() -> None:
)
)
if user.access_token is None: # MFA setup offered — see MFA_OFFER_NOTE
- client.skip_mfa_setup(SkipMfaSetupRequest(email=email))
+ client.skip_mfa_setup(SkipMfaSetupRequest(email=email), mfa_cookie(client))
user = client.login(
LoginRequest(email=email, password=PASSWORD, scope=USER_SCOPE)
)
@@ -205,7 +213,9 @@ async def run_async() -> None:
)
)
if user.access_token is None: # MFA setup offered — see MFA_OFFER_NOTE
- await client.skip_mfa_setup(SkipMfaSetupRequest(email=email))
+ await client.skip_mfa_setup(
+ SkipMfaSetupRequest(email=email), mfa_cookie(client)
+ )
user = await client.login(
LoginRequest(email=email, password=PASSWORD, scope=scope)
)
diff --git a/with-agents-python/requirements.txt b/with-agents-python/requirements.txt
new file mode 100644
index 0000000..7e88285
--- /dev/null
+++ b/with-agents-python/requirements.txt
@@ -0,0 +1,3 @@
+# Official Authorizer Python SDK: https://pypi.org/project/authorizer-py/
+# Token-exchange (RFC 8693) support ships in >=0.3.0rc4.
+authorizer-py>=0.3.0rc4
diff --git a/with-auth-recipes/2-totp-mfa/totp-mfa.mjs b/with-auth-recipes/2-totp-mfa/totp-mfa.mjs
index 041cde1..041301d 100644
--- a/with-auth-recipes/2-totp-mfa/totp-mfa.mjs
+++ b/with-auth-recipes/2-totp-mfa/totp-mfa.mjs
@@ -29,6 +29,20 @@ const password = 'Obviously-Fake-Passw0rd!';
const totpFor = (secret) =>
new OTPAuth.TOTP({ secret, algorithm: 'SHA1', digits: 6, period: 30 });
+// RFC 6238 §5.2: a code the server has already accepted must not be accepted
+// a second time, and Authorizer enforces that. Enrollment and the login
+// challenge below happen seconds apart, well inside one 30s step, so the
+// second one has to wait for the counter to roll over — a real user typing
+// from their phone hits the same rule if they reuse a code.
+async function freshCode(secret, alreadyUsed) {
+ const totp = totpFor(secret);
+ for (;;) {
+ const code = totp.generate();
+ if (code !== alreadyUsed) return code;
+ await new Promise((r) => setTimeout(r, 1000));
+ }
+}
+
const AUTH_RESPONSE = `
message
access_token
@@ -65,11 +79,12 @@ console.log('recovery codes:', enroll.authenticator_recovery_codes.length);
// 3. Complete enrollment: generate the current code and verify it.
// verify_otp requires the mfa_session cookie set in the previous step.
+const enrollmentCode = totpFor(enroll.authenticator_secret).generate();
const { data: enrolled, setCookies: sessionCookies } = await gql(
`mutation ($params: VerifyOTPRequest!) {
verify_otp(params: $params) { ${AUTH_RESPONSE} }
}`,
- { params: { email, otp: totpFor(enroll.authenticator_secret).generate(), is_totp: true } },
+ { params: { email, otp: enrollmentCode, is_totp: true } },
{ Cookie: cookieHeader(mfaCookies1) }
);
console.log('verify_otp (enrollment):', enrolled.verify_otp.message);
@@ -88,7 +103,13 @@ const { data: mfaDone } = await gql(
`mutation ($params: VerifyOTPRequest!) {
verify_otp(params: $params) { ${AUTH_RESPONSE} }
}`,
- { params: { email, otp: totpFor(enroll.authenticator_secret).generate(), is_totp: true } },
+ {
+ params: {
+ email,
+ otp: await freshCode(enroll.authenticator_secret, enrollmentCode),
+ is_totp: true,
+ },
+ },
{ Cookie: cookieHeader(mfaCookies2) }
);
const session = mfaDone.verify_otp;
diff --git a/with-auth-recipes/run-server.sh b/with-auth-recipes/run-server.sh
index 9a8c3fb..0321403 100755
--- a/with-auth-recipes/run-server.sh
+++ b/with-auth-recipes/run-server.sh
@@ -8,7 +8,9 @@
set -euo pipefail
DIR="$(cd "$(dirname "$0")" && pwd)"
-SERVER_DIR="$DIR/../../authorizer"
+# Override to run a specific checkout, e.g. a release worktree:
+# SERVER_DIR=/path/to/authorizer@2.4.0-rc.18 ./run-server.sh
+SERVER_DIR="${SERVER_DIR:-$DIR/../../authorizer}"
# Override when :8080 is taken, e.g. PORT=8098 ./run-server.sh
# (recipe scripts then need AUTHORIZER_URL=http://localhost:8098)
diff --git a/with-express-js/package-lock.json b/with-express-js/package-lock.json
index aa193c0..262baa4 100644
--- a/with-express-js/package-lock.json
+++ b/with-express-js/package-lock.json
@@ -9,14 +9,14 @@
"version": "1.0.0",
"license": "ISC",
"dependencies": {
- "@authorizerdev/authorizer-js": "^3.3.0",
+ "@authorizerdev/authorizer-js": "^4.0.0-rc.0",
"express": "^4.18.2"
}
},
"node_modules/@authorizerdev/authorizer-js": {
- "version": "3.3.0",
- "resolved": "https://registry.npmjs.org/@authorizerdev/authorizer-js/-/authorizer-js-3.3.0.tgz",
- "integrity": "sha512-sxVroZPffB9IvmCSEE9ZFXplO6AyCfKsUjazUL/G7Cq4WN1diV4K376hY6UbFzSHcZ1K4UTvD1uzqZI2Pa1bwA==",
+ "version": "4.0.0-rc.0",
+ "resolved": "https://registry.npmjs.org/@authorizerdev/authorizer-js/-/authorizer-js-4.0.0-rc.0.tgz",
+ "integrity": "sha512-BVxzi9Dm4J5O6kDvvS18BrZwEaxkff2wKqW29cyMsj5s93T+OA+/bYaOlXOwLtPsabuoGUKONp+ZX05JksZ3UA==",
"license": "MIT",
"dependencies": {
"cross-fetch": "^4.1.0"
@@ -658,9 +658,9 @@
},
"dependencies": {
"@authorizerdev/authorizer-js": {
- "version": "3.3.0",
- "resolved": "https://registry.npmjs.org/@authorizerdev/authorizer-js/-/authorizer-js-3.3.0.tgz",
- "integrity": "sha512-sxVroZPffB9IvmCSEE9ZFXplO6AyCfKsUjazUL/G7Cq4WN1diV4K376hY6UbFzSHcZ1K4UTvD1uzqZI2Pa1bwA==",
+ "version": "4.0.0-rc.0",
+ "resolved": "https://registry.npmjs.org/@authorizerdev/authorizer-js/-/authorizer-js-4.0.0-rc.0.tgz",
+ "integrity": "sha512-BVxzi9Dm4J5O6kDvvS18BrZwEaxkff2wKqW29cyMsj5s93T+OA+/bYaOlXOwLtPsabuoGUKONp+ZX05JksZ3UA==",
"requires": {
"cross-fetch": "^4.1.0"
}
diff --git a/with-express-js/package.json b/with-express-js/package.json
index 5bf1446..bdd97ee 100644
--- a/with-express-js/package.json
+++ b/with-express-js/package.json
@@ -11,7 +11,7 @@
"author": "Lakhan Samani",
"license": "ISC",
"dependencies": {
- "@authorizerdev/authorizer-js": "^3.3.0",
+ "@authorizerdev/authorizer-js": "^4.0.0-rc.0",
"express": "^4.18.2"
}
}
diff --git a/with-fga-advanced/api.mjs b/with-fga-advanced/api.mjs
index 3bde13f..27b39e0 100644
--- a/with-fga-advanced/api.mjs
+++ b/with-fga-advanced/api.mjs
@@ -68,8 +68,14 @@ export async function loginOrSignup(name) {
try {
return await signup();
} catch {}
+ // _delete_user takes an id, not an email: a phone-only signup has no email,
+ // so email was never an identifier every account has. Look the id up first.
+ const { _user: stale } = await adminGql(
+ `query ($p: GetUserRequest!) { _user(params: $p) { id } }`,
+ { p: { email } }
+ );
await adminGql(`mutation ($p: DeleteUserRequest!) { _delete_user(params: $p) { message } }`, {
- p: { email },
+ p: { id: stale.id },
});
return signup();
}
diff --git a/with-gatsbyjs/package-lock.json b/with-gatsbyjs/package-lock.json
index 13c9334..fd2e265 100644
--- a/with-gatsbyjs/package-lock.json
+++ b/with-gatsbyjs/package-lock.json
@@ -8,7 +8,7 @@
"name": "authorizer-gatsby-demo",
"version": "1.0.0",
"dependencies": {
- "@authorizerdev/authorizer-react": "^2.0.7",
+ "@authorizerdev/authorizer-react": "^2.2.0-rc.7",
"@mdx-js/mdx": "^1.6.22",
"@mdx-js/react": "^1.6.22",
"babel-plugin-styled-components": "^2.0.2",
@@ -53,9 +53,9 @@
"integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ=="
},
"node_modules/@authorizerdev/authorizer-js": {
- "version": "3.0.4",
- "resolved": "https://registry.npmjs.org/@authorizerdev/authorizer-js/-/authorizer-js-3.0.4.tgz",
- "integrity": "sha512-vkXg1inxC6U2eLra/EQmhTVKzdlpCF4+a93tOfUgSyISYnE8v9np54OAOrs//4aTVOwFTIhahSTvpERKj2NZAQ==",
+ "version": "4.0.0-rc.0",
+ "resolved": "https://registry.npmjs.org/@authorizerdev/authorizer-js/-/authorizer-js-4.0.0-rc.0.tgz",
+ "integrity": "sha512-BVxzi9Dm4J5O6kDvvS18BrZwEaxkff2wKqW29cyMsj5s93T+OA+/bYaOlXOwLtPsabuoGUKONp+ZX05JksZ3UA==",
"license": "MIT",
"dependencies": {
"cross-fetch": "^4.1.0"
@@ -77,13 +77,12 @@
}
},
"node_modules/@authorizerdev/authorizer-react": {
- "version": "2.0.7",
- "resolved": "https://registry.npmjs.org/@authorizerdev/authorizer-react/-/authorizer-react-2.0.7.tgz",
- "integrity": "sha512-+qBrbdE6VyljOge1Ad2AmVIpoheymlLsMxCZHW0hnCeKf0R0wJz3MvoKBiaHAcRF/Bf8Wc6+NBCctAnzXjiwMg==",
+ "version": "2.2.0-rc.7",
+ "resolved": "https://registry.npmjs.org/@authorizerdev/authorizer-react/-/authorizer-react-2.2.0-rc.7.tgz",
+ "integrity": "sha512-45W/6vIyGCSSsGo847tc/RWr8ApuqLknuxWQW0IiupKNZWDMqsP8Vao2QR28qe8mRAXgzETfca5Hz6d3Yn4wEA==",
"license": "MIT",
"dependencies": {
- "@authorizerdev/authorizer-js": "3.0.4",
- "@storybook/preset-scss": "^1.0.3",
+ "@authorizerdev/authorizer-js": "^4.0.0-rc.0",
"validator": "^13.11.0"
},
"engines": {
@@ -2633,17 +2632,6 @@
"node": ">=8"
}
},
- "node_modules/@storybook/preset-scss": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/@storybook/preset-scss/-/preset-scss-1.0.3.tgz",
- "integrity": "sha512-o9Iz6wxPeNENrQa2mKlsDKynBfqU2uWaRP80HeWp4TkGgf7/x3DVF2O7yi9N0x/PI1qzzTTpxlQ90D62XmpiTw==",
- "license": "MIT",
- "peerDependencies": {
- "css-loader": "*",
- "sass-loader": "*",
- "style-loader": "*"
- }
- },
"node_modules/@szmarczak/http-timer": {
"version": "4.0.6",
"resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-4.0.6.tgz",
@@ -16115,40 +16103,6 @@
"node": ">=0.10.0"
}
},
- "node_modules/sass-loader": {
- "version": "17.0.0",
- "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-17.0.0.tgz",
- "integrity": "sha512-0Ybm8ohBQ9LcrycVrFQp/KQBNX5a3Wda9/smS0mE/xLffzEnwvV8nykOzrbiSWNzTE3IB/jiXx8O4QmDPG2+Gw==",
- "license": "MIT",
- "peer": true,
- "engines": {
- "node": ">= 22.11.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/webpack"
- },
- "peerDependencies": {
- "@rspack/core": "0.x || ^1.0.0 || ^2.0.0-0",
- "sass": "^1.3.0",
- "sass-embedded": "*",
- "webpack": "^5.0.0"
- },
- "peerDependenciesMeta": {
- "@rspack/core": {
- "optional": true
- },
- "sass": {
- "optional": true
- },
- "sass-embedded": {
- "optional": true
- },
- "webpack": {
- "optional": true
- }
- }
- },
"node_modules/sax": {
"version": "1.2.4",
"resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz",
@@ -19280,9 +19234,9 @@
}
},
"@authorizerdev/authorizer-js": {
- "version": "3.0.4",
- "resolved": "https://registry.npmjs.org/@authorizerdev/authorizer-js/-/authorizer-js-3.0.4.tgz",
- "integrity": "sha512-vkXg1inxC6U2eLra/EQmhTVKzdlpCF4+a93tOfUgSyISYnE8v9np54OAOrs//4aTVOwFTIhahSTvpERKj2NZAQ==",
+ "version": "4.0.0-rc.0",
+ "resolved": "https://registry.npmjs.org/@authorizerdev/authorizer-js/-/authorizer-js-4.0.0-rc.0.tgz",
+ "integrity": "sha512-BVxzi9Dm4J5O6kDvvS18BrZwEaxkff2wKqW29cyMsj5s93T+OA+/bYaOlXOwLtPsabuoGUKONp+ZX05JksZ3UA==",
"requires": {
"cross-fetch": "^4.1.0"
},
@@ -19298,12 +19252,11 @@
}
},
"@authorizerdev/authorizer-react": {
- "version": "2.0.7",
- "resolved": "https://registry.npmjs.org/@authorizerdev/authorizer-react/-/authorizer-react-2.0.7.tgz",
- "integrity": "sha512-+qBrbdE6VyljOge1Ad2AmVIpoheymlLsMxCZHW0hnCeKf0R0wJz3MvoKBiaHAcRF/Bf8Wc6+NBCctAnzXjiwMg==",
+ "version": "2.2.0-rc.7",
+ "resolved": "https://registry.npmjs.org/@authorizerdev/authorizer-react/-/authorizer-react-2.2.0-rc.7.tgz",
+ "integrity": "sha512-45W/6vIyGCSSsGo847tc/RWr8ApuqLknuxWQW0IiupKNZWDMqsP8Vao2QR28qe8mRAXgzETfca5Hz6d3Yn4wEA==",
"requires": {
- "@authorizerdev/authorizer-js": "3.0.4",
- "@storybook/preset-scss": "^1.0.3",
+ "@authorizerdev/authorizer-js": "^4.0.0-rc.0",
"validator": "^13.11.0"
}
},
@@ -21099,12 +21052,6 @@
}
}
},
- "@storybook/preset-scss": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/@storybook/preset-scss/-/preset-scss-1.0.3.tgz",
- "integrity": "sha512-o9Iz6wxPeNENrQa2mKlsDKynBfqU2uWaRP80HeWp4TkGgf7/x3DVF2O7yi9N0x/PI1qzzTTpxlQ90D62XmpiTw==",
- "requires": {}
- },
"@szmarczak/http-timer": {
"version": "4.0.6",
"resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-4.0.6.tgz",
@@ -31181,13 +31128,6 @@
}
}
},
- "sass-loader": {
- "version": "17.0.0",
- "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-17.0.0.tgz",
- "integrity": "sha512-0Ybm8ohBQ9LcrycVrFQp/KQBNX5a3Wda9/smS0mE/xLffzEnwvV8nykOzrbiSWNzTE3IB/jiXx8O4QmDPG2+Gw==",
- "peer": true,
- "requires": {}
- },
"sax": {
"version": "1.2.4",
"resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz",
diff --git a/with-gatsbyjs/package.json b/with-gatsbyjs/package.json
index be4b0b6..590f0ab 100644
--- a/with-gatsbyjs/package.json
+++ b/with-gatsbyjs/package.json
@@ -15,7 +15,7 @@
"clean": "gatsby clean"
},
"dependencies": {
- "@authorizerdev/authorizer-react": "^2.2.0-rc.6",
+ "@authorizerdev/authorizer-react": "^2.2.0-rc.7",
"@mdx-js/mdx": "^1.6.22",
"@mdx-js/react": "^1.6.22",
"babel-plugin-styled-components": "^2.0.2",
diff --git a/with-go/README.md b/with-go/README.md
index d2cd25c..5ce2a60 100644
--- a/with-go/README.md
+++ b/with-go/README.md
@@ -1,6 +1,6 @@
# Authorizer Example with Go
-Signup, login and profile with the [Go SDK](https://github.com/authorizerdev/authorizer-go) (release `2.1.0`) over the GraphQL protocol, plus the admin client listing users.
+Signup, login and profile with the [Go SDK](https://github.com/authorizerdev/authorizer-go) (release `v2.2.0-rc.5`) over the GraphQL protocol, plus the admin client listing users.
## Run an Authorizer instance
@@ -20,7 +20,7 @@ Defaults match `make dev`; override with `AUTHORIZER_URL`, `CLIENT_ID`, `ADMIN_S
## Notes
-- The SDK release is tagged `2.1.0` (no `v` prefix), so Go resolves it as the pseudo-version `v0.0.0-20260616165143-dc16e71b66f7` you see in `go.mod` — same code, exact commit of the release tag.
+- The SDK is v2+, so the module path carries the `/v2` suffix: import `github.com/authorizerdev/authorizer-go/v2` and require `github.com/authorizerdev/authorizer-go/v2 v2.2.0-rc.5` in `go.mod`.
- The client supports three wire protocols: `graphql` (default, used here), `rest`, and `grpc` (`authorizer.WithProtocol`).
- Admin operations (`admin.Users`, etc.) authenticate with the `x-authorizer-admin-secret` header, handled by `NewAuthorizerAdminClient`.
-- **Do not use `GetToken` in `2.1.0`** — it is a non-functional stub in that release (fixed on the SDK's unreleased `main`). Get tokens via `Login`, or call `POST /oauth/token` directly for machine flows (see the `with-m2m-client-credentials` example).
+- `GetToken` is functional in `v2.2.0-rc.5` (including `client_credentials`); you can also get tokens via `Login`, or call `POST /oauth/token` directly for machine flows (see the `with-m2m-client-credentials` example).
diff --git a/with-go/go.mod b/with-go/go.mod
index 45e3077..c1e6982 100644
--- a/with-go/go.mod
+++ b/with-go/go.mod
@@ -2,16 +2,16 @@ module github.com/authorizerdev/examples/with-go
go 1.25.5
-require github.com/authorizerdev/authorizer-go/v2 v2.2.0-rc.4
+require github.com/authorizerdev/authorizer-go/v2 v2.2.0-rc.5
require (
buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.11-20260415201107-50325440f8f2.1 // indirect
- github.com/authorizerdev/authorizer-proto-go v0.2.0-rc.0 // indirect
- golang.org/x/net v0.51.0 // indirect
- golang.org/x/sys v0.42.0 // indirect
- golang.org/x/text v0.34.0 // indirect
+ github.com/authorizerdev/authorizer-proto-go v0.2.0-rc.1 // indirect
+ golang.org/x/net v0.53.0 // indirect
+ golang.org/x/sys v0.43.0 // indirect
+ golang.org/x/text v0.36.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20260526163538-3dc84a4a5aaa // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20260523011958-0a33c5d7ca68 // indirect
- google.golang.org/grpc v1.81.1 // indirect
+ google.golang.org/grpc v1.82.1 // indirect
google.golang.org/protobuf v1.36.11 // indirect
)
diff --git a/with-go/go.sum b/with-go/go.sum
index f4de2a6..54610c8 100644
--- a/with-go/go.sum
+++ b/with-go/go.sum
@@ -1,9 +1,9 @@
buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.11-20260415201107-50325440f8f2.1 h1:s6hzCXtND/ICdGPTMGk7C+/BFlr2Jg5GyH0NKf4XGXg=
buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.11-20260415201107-50325440f8f2.1/go.mod h1:tvtbpgaVXZX4g6Pn+AnzFycuRK3MOz5HJfEGeEllXYM=
-github.com/authorizerdev/authorizer-go/v2 v2.2.0-rc.4 h1:w8qQmAdP9OFiejsPuSsQqCRdWT29f7gHHFf1UTc8KGU=
-github.com/authorizerdev/authorizer-go/v2 v2.2.0-rc.4/go.mod h1:1gnCE9aCctLn9TZRdyjkbyJIQnFJtK2nXkXoGvj40uQ=
-github.com/authorizerdev/authorizer-proto-go v0.2.0-rc.0 h1:PQGjo4yfxU4V4NXOJj1OjbLKNxRpf3ih2eCdTMmUEkY=
-github.com/authorizerdev/authorizer-proto-go v0.2.0-rc.0/go.mod h1:cVUPv4XVeH3YeoFjfnl+ug/KlUinrGOAUZu3E+sjjHs=
+github.com/authorizerdev/authorizer-go/v2 v2.2.0-rc.5 h1:1XK8wIULavh2yySN7e7PjkfYA4tmduu+/r0U0mp00jU=
+github.com/authorizerdev/authorizer-go/v2 v2.2.0-rc.5/go.mod h1:K+T7TOq5sLxRefpI0buBKOOdHeaLD7vhK0lmH0XLSE8=
+github.com/authorizerdev/authorizer-proto-go v0.2.0-rc.1 h1:te2ADwG6Xyi1VVB6z3+jz/n1I/gdhqEewZFYfeosfmI=
+github.com/authorizerdev/authorizer-proto-go v0.2.0-rc.1/go.mod h1:brXkT8HCo4XawfZ39ai2TQdgNRVFrYnRd5cSP899wHU=
github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI=
@@ -28,19 +28,19 @@ go.opentelemetry.io/otel/sdk/metric v1.43.0 h1:S88dyqXjJkuBNLeMcVPRFXpRw2fuwdvfC
go.opentelemetry.io/otel/sdk/metric v1.43.0/go.mod h1:C/RJtwSEJ5hzTiUz5pXF1kILHStzb9zFlIEe85bhj6A=
go.opentelemetry.io/otel/trace v1.43.0 h1:BkNrHpup+4k4w+ZZ86CZoHHEkohws8AY+WTX09nk+3A=
go.opentelemetry.io/otel/trace v1.43.0/go.mod h1:/QJhyVBUUswCphDVxq+8mld+AvhXZLhe+8WVFxiFff0=
-golang.org/x/net v0.51.0 h1:94R/GTO7mt3/4wIKpcR5gkGmRLOuE/2hNGeWq/GBIFo=
-golang.org/x/net v0.51.0/go.mod h1:aamm+2QF5ogm02fjy5Bb7CQ0WMt1/WVM7FtyaTLlA9Y=
-golang.org/x/sys v0.42.0 h1:omrd2nAlyT5ESRdCLYdm3+fMfNFE/+Rf4bDIQImRJeo=
-golang.org/x/sys v0.42.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw=
-golang.org/x/text v0.34.0 h1:oL/Qq0Kdaqxa1KbNeMKwQq0reLCCaFtqu2eNuSeNHbk=
-golang.org/x/text v0.34.0/go.mod h1:homfLqTYRFyVYemLBFl5GgL/DWEiH5wcsQ5gSh1yziA=
+golang.org/x/net v0.53.0 h1:d+qAbo5L0orcWAr0a9JweQpjXF19LMXJE8Ey7hwOdUA=
+golang.org/x/net v0.53.0/go.mod h1:JvMuJH7rrdiCfbeHoo3fCQU24Lf5JJwT9W3sJFulfgs=
+golang.org/x/sys v0.43.0 h1:Rlag2XtaFTxp19wS8MXlJwTvoh8ArU6ezoyFsMyCTNI=
+golang.org/x/sys v0.43.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw=
+golang.org/x/text v0.36.0 h1:JfKh3XmcRPqZPKevfXVpI1wXPTqbkE5f7JA92a55Yxg=
+golang.org/x/text v0.36.0/go.mod h1:NIdBknypM8iqVmPiuco0Dh6P5Jcdk8lJL0CUebqK164=
gonum.org/v1/gonum v0.17.0 h1:VbpOemQlsSMrYmn7T2OUvQ4dqxQXU+ouZFQsZOx50z4=
gonum.org/v1/gonum v0.17.0/go.mod h1:El3tOrEuMpv2UdMrbNlKEh9vd86bmQ6vqIcDwxEOc1E=
google.golang.org/genproto/googleapis/api v0.0.0-20260526163538-3dc84a4a5aaa h1:Kjn0N0tCrDgiAFW+lGO4JZ3ck44CehvJQMAwj9QF0G8=
google.golang.org/genproto/googleapis/api v0.0.0-20260526163538-3dc84a4a5aaa/go.mod h1:q4lMZS6kskjT5HvCPrnnypcDPVJqT/f4nfxmkE7gryY=
google.golang.org/genproto/googleapis/rpc v0.0.0-20260523011958-0a33c5d7ca68 h1:PvEgGJf9C/1u5CHkInMg7UFYYUoiaQmW2LbtH0pjB78=
google.golang.org/genproto/googleapis/rpc v0.0.0-20260523011958-0a33c5d7ca68/go.mod h1:4Hqkh8ycfw05ld/3BWL7rJOSfebL2Q+DVDeRgYgxUU8=
-google.golang.org/grpc v1.81.1 h1:VnnIIZ88UzOOKLukQi+ImGz8O1Wdp8nAGGnvOfEIWQQ=
-google.golang.org/grpc v1.81.1/go.mod h1:xGH9GfzOyMTGIOXBJmXt+BX/V0kcdQbdcuwQ/zNw42I=
+google.golang.org/grpc v1.82.1 h1:NnAxzGRA0677vCa4BUkOAnO5+FfQqVl9iUXeD0IqcGE=
+google.golang.org/grpc v1.82.1/go.mod h1:yzTZ1TB1Z3SG+LIYaI+WiE8D5+PZ3ArnrSp8zF3+/ZA=
google.golang.org/protobuf v1.36.11 h1:fV6ZwhNocDyBLK0dj+fg8ektcVegBBuEolpbTQyBNVE=
google.golang.org/protobuf v1.36.11/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco=
diff --git a/with-go/main.go b/with-go/main.go
index dd76c6e..a8eedc4 100644
--- a/with-go/main.go
+++ b/with-go/main.go
@@ -10,8 +10,12 @@
package main
import (
+ "bytes"
+ "encoding/json"
"fmt"
+ "io"
"log"
+ "net/http"
"os"
"time"
@@ -67,17 +71,28 @@ func main() {
// away panics.
//
// This example declines, which is what SkipMfaSetup is for: it records the
- // refusal and releases the withheld token. Identification is by the MFA
- // session cookie set above plus the email, so it must run on the same
- // client. Fails if the instance runs with --enforce-mfa, where declining
- // is not permitted; a real app would drive the TOTP/OTP setup screen
- // instead.
+ // refusal and releases the withheld token. Fails if the instance runs with
+ // --enforce-mfa, where declining is not permitted; a real app would drive
+ // the TOTP/OTP setup screen instead.
+ //
+ // The call is identified by the `mfa_session` cookie the login response
+ // set, plus the email. authorizer-go builds a fresh http.Client per call
+ // with no cookie jar, so nothing captured that cookie — mfaSessionCookie
+ // below re-runs the login over net/http to read it off the response, and
+ // ExtraHeaders replays it on the SkipMfaSetup call. Drop both once the SDK
+ // ships a cookie jar.
if login.AccessToken == nil {
fmt.Println("mfa setup offered:", refString(login.Message))
+ cookie, err := mfaSessionCookie(url, clientID, email, password)
+ if err != nil {
+ log.Fatal("mfa session: ", err)
+ }
+ client.ExtraHeaders = map[string]string{"Cookie": cookie}
login, err = client.SkipMfaSetup(&authorizer.SkipMfaSetupRequest{Email: &email})
if err != nil {
log.Fatal("skip mfa setup: ", err)
}
+ client.ExtraHeaders = nil
fmt.Println("mfa setup declined, token issued")
}
fmt.Println("logged in, token expires in:", *login.ExpiresIn, "seconds")
@@ -113,3 +128,44 @@ func refString(s *string) string {
}
return *s
}
+
+// mfaSessionCookie logs in over plain net/http purely to read the
+// `mfa_session` cookie off the response, and returns it as a Cookie header
+// value. Two things make this necessary and neither is the example's doing:
+// authorizer-go keeps no cookie jar, and the server marks the cookie Secure
+// even over http (--app-cookie-secure defaults to true), so a jar would
+// refuse to replay it against a local server anyway. Sending the header by
+// hand sidesteps both.
+func mfaSessionCookie(authorizerURL, clientID, email, password string) (string, error) {
+ body, err := json.Marshal(map[string]any{
+ "query": `mutation ($p: LoginRequest!) { login(params: $p) { message } }`,
+ "variables": map[string]any{
+ "p": map[string]string{"email": email, "password": password},
+ },
+ })
+ if err != nil {
+ return "", err
+ }
+ req, err := http.NewRequest(http.MethodPost, authorizerURL+"/graphql", bytes.NewReader(body))
+ if err != nil {
+ return "", err
+ }
+ req.Header.Set("Content-Type", "application/json")
+ // Authorizer's CSRF guard rejects state-changing requests with no Origin.
+ req.Header.Set("Origin", authorizerURL)
+ req.Header.Set("x-authorizer-client-id", clientID)
+
+ res, err := http.DefaultClient.Do(req)
+ if err != nil {
+ return "", err
+ }
+ defer res.Body.Close()
+ io.Copy(io.Discard, res.Body)
+
+ for _, c := range res.Cookies() {
+ if c.Name == "mfa_session" {
+ return c.Name + "=" + c.Value, nil
+ }
+ }
+ return "", fmt.Errorf("no mfa_session cookie on the login response")
+}
diff --git a/with-grpc/README.md b/with-grpc/README.md
index cc20d08..432bc6e 100644
--- a/with-grpc/README.md
+++ b/with-grpc/README.md
@@ -70,12 +70,16 @@ no CSRF).
- `make dev` serves plaintext gRPC — fine locally. In production terminate TLS on the gRPC listener (`--grpc-tls-cert`/`--grpc-tls-key`) and dial with `credentials.NewTLS(&tls.Config{})` instead of `insecure.NewCredentials()`. Bearer tokens must never cross an unencrypted channel outside local dev.
- Server reflection is on by default (`--enable-grpc-reflection`), so `grpcurl -plaintext localhost:9091 list` works too.
-## Regenerating the stubs
+## Where the stubs come from
-`gen/authorizer/v1/` is vendored from the server repo's protos:
+The generated Go stubs are a real versioned dependency, not vendored source:
-```bash
-# from the authorizer repo's proto/ directory
-buf generate --template buf.gen.clients.yaml --include-imports
-# copy gen/go-client/authorizer/v1/*.go here (adjust go_package_prefix to this module)
```
+github.com/authorizerdev/authorizer-proto-go v0.2.0-rc.1
+```
+
+[authorizer-proto-go](https://github.com/authorizerdev/authorizer-proto-go) is
+regenerated from the server repo's `proto/authorizer/v1/*.proto` on each
+release, so `go get -u` is all it takes to follow a schema change. The
+official Go SDK depends on the same module — you can mix `authorizer-go` and
+raw gRPC in one program without two copies of the types.
diff --git a/with-grpc/gen/authorizer/v1/admin.pb.go b/with-grpc/gen/authorizer/v1/admin.pb.go
deleted file mode 100644
index 8b56ceb..0000000
--- a/with-grpc/gen/authorizer/v1/admin.pb.go
+++ /dev/null
@@ -1,6933 +0,0 @@
-// proto/authorizer/v1/admin.proto
-//
-// AuthorizerAdminService exposes Authorizer's super-admin-only operations
-// (the `_`-prefixed GraphQL queries/mutations). It is registered on the SAME
-// grpc.Server and gateway mux as AuthorizerService. Every RPC requires
-// super-admin auth (admin session cookie or x-authorizer-admin-secret header)
-// except AdminLogin, which establishes it. Admin operations are intentionally
-// NOT exposed over MCP.
-
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.35.2
-// protoc (unknown)
-// source: authorizer/v1/admin.proto
-
-package authorizerv1
-
-import (
- _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate"
- _ "google.golang.org/genproto/googleapis/api/annotations"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-type AdminLoginRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- AdminSecret string `protobuf:"bytes,1,opt,name=admin_secret,json=adminSecret,proto3" json:"admin_secret,omitempty"`
-}
-
-func (x *AdminLoginRequest) Reset() {
- *x = AdminLoginRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *AdminLoginRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*AdminLoginRequest) ProtoMessage() {}
-
-func (x *AdminLoginRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[0]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use AdminLoginRequest.ProtoReflect.Descriptor instead.
-func (*AdminLoginRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *AdminLoginRequest) GetAdminSecret() string {
- if x != nil {
- return x.AdminSecret
- }
- return ""
-}
-
-type AdminLoginResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
-}
-
-func (x *AdminLoginResponse) Reset() {
- *x = AdminLoginResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *AdminLoginResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*AdminLoginResponse) ProtoMessage() {}
-
-func (x *AdminLoginResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[1]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use AdminLoginResponse.ProtoReflect.Descriptor instead.
-func (*AdminLoginResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{1}
-}
-
-func (x *AdminLoginResponse) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
-}
-
-type AdminLogoutRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-}
-
-func (x *AdminLogoutRequest) Reset() {
- *x = AdminLogoutRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *AdminLogoutRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*AdminLogoutRequest) ProtoMessage() {}
-
-func (x *AdminLogoutRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[2]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use AdminLogoutRequest.ProtoReflect.Descriptor instead.
-func (*AdminLogoutRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{2}
-}
-
-type AdminLogoutResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
-}
-
-func (x *AdminLogoutResponse) Reset() {
- *x = AdminLogoutResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *AdminLogoutResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*AdminLogoutResponse) ProtoMessage() {}
-
-func (x *AdminLogoutResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[3]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use AdminLogoutResponse.ProtoReflect.Descriptor instead.
-func (*AdminLogoutResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{3}
-}
-
-func (x *AdminLogoutResponse) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
-}
-
-type AdminSessionRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-}
-
-func (x *AdminSessionRequest) Reset() {
- *x = AdminSessionRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *AdminSessionRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*AdminSessionRequest) ProtoMessage() {}
-
-func (x *AdminSessionRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[4]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use AdminSessionRequest.ProtoReflect.Descriptor instead.
-func (*AdminSessionRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{4}
-}
-
-type AdminSessionResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
-}
-
-func (x *AdminSessionResponse) Reset() {
- *x = AdminSessionResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *AdminSessionResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*AdminSessionResponse) ProtoMessage() {}
-
-func (x *AdminSessionResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[5]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use AdminSessionResponse.ProtoReflect.Descriptor instead.
-func (*AdminSessionResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{5}
-}
-
-func (x *AdminSessionResponse) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
-}
-
-type AdminMetaRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-}
-
-func (x *AdminMetaRequest) Reset() {
- *x = AdminMetaRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *AdminMetaRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*AdminMetaRequest) ProtoMessage() {}
-
-func (x *AdminMetaRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[6]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use AdminMetaRequest.ProtoReflect.Descriptor instead.
-func (*AdminMetaRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{6}
-}
-
-type AdminMetaResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- AdminMeta *AdminMeta `protobuf:"bytes,1,opt,name=admin_meta,json=adminMeta,proto3" json:"admin_meta,omitempty"`
-}
-
-func (x *AdminMetaResponse) Reset() {
- *x = AdminMetaResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *AdminMetaResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*AdminMetaResponse) ProtoMessage() {}
-
-func (x *AdminMetaResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[7]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use AdminMetaResponse.ProtoReflect.Descriptor instead.
-func (*AdminMetaResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{7}
-}
-
-func (x *AdminMetaResponse) GetAdminMeta() *AdminMeta {
- if x != nil {
- return x.AdminMeta
- }
- return nil
-}
-
-// AdminMeta mirrors model.AdminMeta exactly (no version field).
-type AdminMeta struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Roles []string `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"`
- DefaultRoles []string `protobuf:"bytes,2,rep,name=default_roles,json=defaultRoles,proto3" json:"default_roles,omitempty"`
- ProtectedRoles []string `protobuf:"bytes,3,rep,name=protected_roles,json=protectedRoles,proto3" json:"protected_roles,omitempty"`
-}
-
-func (x *AdminMeta) Reset() {
- *x = AdminMeta{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *AdminMeta) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*AdminMeta) ProtoMessage() {}
-
-func (x *AdminMeta) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[8]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use AdminMeta.ProtoReflect.Descriptor instead.
-func (*AdminMeta) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{8}
-}
-
-func (x *AdminMeta) GetRoles() []string {
- if x != nil {
- return x.Roles
- }
- return nil
-}
-
-func (x *AdminMeta) GetDefaultRoles() []string {
- if x != nil {
- return x.DefaultRoles
- }
- return nil
-}
-
-func (x *AdminMeta) GetProtectedRoles() []string {
- if x != nil {
- return x.ProtectedRoles
- }
- return nil
-}
-
-type UsersRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Pagination *PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
-}
-
-func (x *UsersRequest) Reset() {
- *x = UsersRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *UsersRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*UsersRequest) ProtoMessage() {}
-
-func (x *UsersRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[9]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use UsersRequest.ProtoReflect.Descriptor instead.
-func (*UsersRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{9}
-}
-
-func (x *UsersRequest) GetPagination() *PaginationRequest {
- if x != nil {
- return x.Pagination
- }
- return nil
-}
-
-type UsersResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
- Pagination *Pagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
-}
-
-func (x *UsersResponse) Reset() {
- *x = UsersResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *UsersResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*UsersResponse) ProtoMessage() {}
-
-func (x *UsersResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[10]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use UsersResponse.ProtoReflect.Descriptor instead.
-func (*UsersResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{10}
-}
-
-func (x *UsersResponse) GetUsers() []*User {
- if x != nil {
- return x.Users
- }
- return nil
-}
-
-func (x *UsersResponse) GetPagination() *Pagination {
- if x != nil {
- return x.Pagination
- }
- return nil
-}
-
-// UserRequest fetches a single user by id or email; at least one must be set.
-type UserRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
-}
-
-func (x *UserRequest) Reset() {
- *x = UserRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[11]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *UserRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*UserRequest) ProtoMessage() {}
-
-func (x *UserRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[11]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use UserRequest.ProtoReflect.Descriptor instead.
-func (*UserRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{11}
-}
-
-func (x *UserRequest) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
-}
-
-func (x *UserRequest) GetEmail() string {
- if x != nil {
- return x.Email
- }
- return ""
-}
-
-type UserResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
-}
-
-func (x *UserResponse) Reset() {
- *x = UserResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[12]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *UserResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*UserResponse) ProtoMessage() {}
-
-func (x *UserResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[12]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use UserResponse.ProtoReflect.Descriptor instead.
-func (*UserResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{12}
-}
-
-func (x *UserResponse) GetUser() *User {
- if x != nil {
- return x.User
- }
- return nil
-}
-
-// UpdateUserRequest mirrors model.UpdateUserRequest. Nullable GraphQL inputs use
-// proto3 `optional` so an unset field is distinguishable from an empty value
-// (e.g. clearing a name vs leaving it untouched, or email_verified=false).
-type UpdateUserRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- Email *string `protobuf:"bytes,2,opt,name=email,proto3,oneof" json:"email,omitempty"`
- EmailVerified *bool `protobuf:"varint,3,opt,name=email_verified,json=emailVerified,proto3,oneof" json:"email_verified,omitempty"`
- GivenName *string `protobuf:"bytes,4,opt,name=given_name,json=givenName,proto3,oneof" json:"given_name,omitempty"`
- FamilyName *string `protobuf:"bytes,5,opt,name=family_name,json=familyName,proto3,oneof" json:"family_name,omitempty"`
- MiddleName *string `protobuf:"bytes,6,opt,name=middle_name,json=middleName,proto3,oneof" json:"middle_name,omitempty"`
- Nickname *string `protobuf:"bytes,7,opt,name=nickname,proto3,oneof" json:"nickname,omitempty"`
- Gender *string `protobuf:"bytes,8,opt,name=gender,proto3,oneof" json:"gender,omitempty"`
- Birthdate *string `protobuf:"bytes,9,opt,name=birthdate,proto3,oneof" json:"birthdate,omitempty"`
- PhoneNumber *string `protobuf:"bytes,10,opt,name=phone_number,json=phoneNumber,proto3,oneof" json:"phone_number,omitempty"`
- PhoneNumberVerified *bool `protobuf:"varint,11,opt,name=phone_number_verified,json=phoneNumberVerified,proto3,oneof" json:"phone_number_verified,omitempty"`
- Picture *string `protobuf:"bytes,12,opt,name=picture,proto3,oneof" json:"picture,omitempty"`
- Roles []string `protobuf:"bytes,13,rep,name=roles,proto3" json:"roles,omitempty"`
- IsMultiFactorAuthEnabled *bool `protobuf:"varint,14,opt,name=is_multi_factor_auth_enabled,json=isMultiFactorAuthEnabled,proto3,oneof" json:"is_multi_factor_auth_enabled,omitempty"`
- AppData *AppData `protobuf:"bytes,15,opt,name=app_data,json=appData,proto3" json:"app_data,omitempty"`
-}
-
-func (x *UpdateUserRequest) Reset() {
- *x = UpdateUserRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[13]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *UpdateUserRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*UpdateUserRequest) ProtoMessage() {}
-
-func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[13]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
-func (*UpdateUserRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{13}
-}
-
-func (x *UpdateUserRequest) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
-}
-
-func (x *UpdateUserRequest) GetEmail() string {
- if x != nil && x.Email != nil {
- return *x.Email
- }
- return ""
-}
-
-func (x *UpdateUserRequest) GetEmailVerified() bool {
- if x != nil && x.EmailVerified != nil {
- return *x.EmailVerified
- }
- return false
-}
-
-func (x *UpdateUserRequest) GetGivenName() string {
- if x != nil && x.GivenName != nil {
- return *x.GivenName
- }
- return ""
-}
-
-func (x *UpdateUserRequest) GetFamilyName() string {
- if x != nil && x.FamilyName != nil {
- return *x.FamilyName
- }
- return ""
-}
-
-func (x *UpdateUserRequest) GetMiddleName() string {
- if x != nil && x.MiddleName != nil {
- return *x.MiddleName
- }
- return ""
-}
-
-func (x *UpdateUserRequest) GetNickname() string {
- if x != nil && x.Nickname != nil {
- return *x.Nickname
- }
- return ""
-}
-
-func (x *UpdateUserRequest) GetGender() string {
- if x != nil && x.Gender != nil {
- return *x.Gender
- }
- return ""
-}
-
-func (x *UpdateUserRequest) GetBirthdate() string {
- if x != nil && x.Birthdate != nil {
- return *x.Birthdate
- }
- return ""
-}
-
-func (x *UpdateUserRequest) GetPhoneNumber() string {
- if x != nil && x.PhoneNumber != nil {
- return *x.PhoneNumber
- }
- return ""
-}
-
-func (x *UpdateUserRequest) GetPhoneNumberVerified() bool {
- if x != nil && x.PhoneNumberVerified != nil {
- return *x.PhoneNumberVerified
- }
- return false
-}
-
-func (x *UpdateUserRequest) GetPicture() string {
- if x != nil && x.Picture != nil {
- return *x.Picture
- }
- return ""
-}
-
-func (x *UpdateUserRequest) GetRoles() []string {
- if x != nil {
- return x.Roles
- }
- return nil
-}
-
-func (x *UpdateUserRequest) GetIsMultiFactorAuthEnabled() bool {
- if x != nil && x.IsMultiFactorAuthEnabled != nil {
- return *x.IsMultiFactorAuthEnabled
- }
- return false
-}
-
-func (x *UpdateUserRequest) GetAppData() *AppData {
- if x != nil {
- return x.AppData
- }
- return nil
-}
-
-type UpdateUserResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
-}
-
-func (x *UpdateUserResponse) Reset() {
- *x = UpdateUserResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[14]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *UpdateUserResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*UpdateUserResponse) ProtoMessage() {}
-
-func (x *UpdateUserResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[14]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use UpdateUserResponse.ProtoReflect.Descriptor instead.
-func (*UpdateUserResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{14}
-}
-
-func (x *UpdateUserResponse) GetUser() *User {
- if x != nil {
- return x.User
- }
- return nil
-}
-
-// DeleteUserRequest mirrors model.DeleteUserRequest.
-type DeleteUserRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
-}
-
-func (x *DeleteUserRequest) Reset() {
- *x = DeleteUserRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[15]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *DeleteUserRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*DeleteUserRequest) ProtoMessage() {}
-
-func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[15]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
-func (*DeleteUserRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{15}
-}
-
-func (x *DeleteUserRequest) GetEmail() string {
- if x != nil {
- return x.Email
- }
- return ""
-}
-
-type DeleteUserResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
-}
-
-func (x *DeleteUserResponse) Reset() {
- *x = DeleteUserResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[16]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *DeleteUserResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*DeleteUserResponse) ProtoMessage() {}
-
-func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[16]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.
-func (*DeleteUserResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{16}
-}
-
-func (x *DeleteUserResponse) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
-}
-
-type VerificationRequestsRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Pagination *PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
-}
-
-func (x *VerificationRequestsRequest) Reset() {
- *x = VerificationRequestsRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[17]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *VerificationRequestsRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*VerificationRequestsRequest) ProtoMessage() {}
-
-func (x *VerificationRequestsRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[17]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use VerificationRequestsRequest.ProtoReflect.Descriptor instead.
-func (*VerificationRequestsRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{17}
-}
-
-func (x *VerificationRequestsRequest) GetPagination() *PaginationRequest {
- if x != nil {
- return x.Pagination
- }
- return nil
-}
-
-type VerificationRequestsResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- VerificationRequests []*VerificationRequest `protobuf:"bytes,1,rep,name=verification_requests,json=verificationRequests,proto3" json:"verification_requests,omitempty"`
- Pagination *Pagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
-}
-
-func (x *VerificationRequestsResponse) Reset() {
- *x = VerificationRequestsResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[18]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *VerificationRequestsResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*VerificationRequestsResponse) ProtoMessage() {}
-
-func (x *VerificationRequestsResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[18]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use VerificationRequestsResponse.ProtoReflect.Descriptor instead.
-func (*VerificationRequestsResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{18}
-}
-
-func (x *VerificationRequestsResponse) GetVerificationRequests() []*VerificationRequest {
- if x != nil {
- return x.VerificationRequests
- }
- return nil
-}
-
-func (x *VerificationRequestsResponse) GetPagination() *Pagination {
- if x != nil {
- return x.Pagination
- }
- return nil
-}
-
-// VerificationRequest mirrors model.VerificationRequest field-for-field.
-type VerificationRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- Identifier string `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"`
- Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
- Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
- Expires int64 `protobuf:"varint,5,opt,name=expires,proto3" json:"expires,omitempty"`
- CreatedAt int64 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
- UpdatedAt int64 `protobuf:"varint,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
- Nonce string `protobuf:"bytes,8,opt,name=nonce,proto3" json:"nonce,omitempty"`
- RedirectUri string `protobuf:"bytes,9,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"`
-}
-
-func (x *VerificationRequest) Reset() {
- *x = VerificationRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[19]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *VerificationRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*VerificationRequest) ProtoMessage() {}
-
-func (x *VerificationRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[19]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use VerificationRequest.ProtoReflect.Descriptor instead.
-func (*VerificationRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{19}
-}
-
-func (x *VerificationRequest) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
-}
-
-func (x *VerificationRequest) GetIdentifier() string {
- if x != nil {
- return x.Identifier
- }
- return ""
-}
-
-func (x *VerificationRequest) GetToken() string {
- if x != nil {
- return x.Token
- }
- return ""
-}
-
-func (x *VerificationRequest) GetEmail() string {
- if x != nil {
- return x.Email
- }
- return ""
-}
-
-func (x *VerificationRequest) GetExpires() int64 {
- if x != nil {
- return x.Expires
- }
- return 0
-}
-
-func (x *VerificationRequest) GetCreatedAt() int64 {
- if x != nil {
- return x.CreatedAt
- }
- return 0
-}
-
-func (x *VerificationRequest) GetUpdatedAt() int64 {
- if x != nil {
- return x.UpdatedAt
- }
- return 0
-}
-
-func (x *VerificationRequest) GetNonce() string {
- if x != nil {
- return x.Nonce
- }
- return ""
-}
-
-func (x *VerificationRequest) GetRedirectUri() string {
- if x != nil {
- return x.RedirectUri
- }
- return ""
-}
-
-// RevokeAccessRequest mirrors model.UpdateAccessRequest (a single user id). It
-// is kept distinct from EnableAccessRequest per buf's one-message-per-RPC rule.
-type RevokeAccessRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
-}
-
-func (x *RevokeAccessRequest) Reset() {
- *x = RevokeAccessRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[20]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *RevokeAccessRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*RevokeAccessRequest) ProtoMessage() {}
-
-func (x *RevokeAccessRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[20]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use RevokeAccessRequest.ProtoReflect.Descriptor instead.
-func (*RevokeAccessRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{20}
-}
-
-func (x *RevokeAccessRequest) GetUserId() string {
- if x != nil {
- return x.UserId
- }
- return ""
-}
-
-type RevokeAccessResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
-}
-
-func (x *RevokeAccessResponse) Reset() {
- *x = RevokeAccessResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[21]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *RevokeAccessResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*RevokeAccessResponse) ProtoMessage() {}
-
-func (x *RevokeAccessResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[21]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use RevokeAccessResponse.ProtoReflect.Descriptor instead.
-func (*RevokeAccessResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{21}
-}
-
-func (x *RevokeAccessResponse) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
-}
-
-// EnableAccessRequest mirrors model.UpdateAccessRequest (a single user id). It
-// is kept distinct from RevokeAccessRequest per buf's one-message-per-RPC rule.
-type EnableAccessRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
-}
-
-func (x *EnableAccessRequest) Reset() {
- *x = EnableAccessRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[22]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *EnableAccessRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*EnableAccessRequest) ProtoMessage() {}
-
-func (x *EnableAccessRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[22]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use EnableAccessRequest.ProtoReflect.Descriptor instead.
-func (*EnableAccessRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{22}
-}
-
-func (x *EnableAccessRequest) GetUserId() string {
- if x != nil {
- return x.UserId
- }
- return ""
-}
-
-type EnableAccessResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
-}
-
-func (x *EnableAccessResponse) Reset() {
- *x = EnableAccessResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[23]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *EnableAccessResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*EnableAccessResponse) ProtoMessage() {}
-
-func (x *EnableAccessResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[23]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use EnableAccessResponse.ProtoReflect.Descriptor instead.
-func (*EnableAccessResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{23}
-}
-
-func (x *EnableAccessResponse) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
-}
-
-// InviteMembersRequest mirrors model.InviteMemberRequest. redirect_uri is
-// optional; when unset the configured app URL is used.
-type InviteMembersRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Emails []string `protobuf:"bytes,1,rep,name=emails,proto3" json:"emails,omitempty"`
- RedirectUri *string `protobuf:"bytes,2,opt,name=redirect_uri,json=redirectUri,proto3,oneof" json:"redirect_uri,omitempty"`
-}
-
-func (x *InviteMembersRequest) Reset() {
- *x = InviteMembersRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[24]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *InviteMembersRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*InviteMembersRequest) ProtoMessage() {}
-
-func (x *InviteMembersRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[24]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use InviteMembersRequest.ProtoReflect.Descriptor instead.
-func (*InviteMembersRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{24}
-}
-
-func (x *InviteMembersRequest) GetEmails() []string {
- if x != nil {
- return x.Emails
- }
- return nil
-}
-
-func (x *InviteMembersRequest) GetRedirectUri() string {
- if x != nil && x.RedirectUri != nil {
- return *x.RedirectUri
- }
- return ""
-}
-
-// InviteMembersResponse mirrors model.InviteMembersResponse (a message plus the
-// list of newly invited users).
-type InviteMembersResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
- Users []*User `protobuf:"bytes,2,rep,name=users,proto3" json:"users,omitempty"`
-}
-
-func (x *InviteMembersResponse) Reset() {
- *x = InviteMembersResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[25]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *InviteMembersResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*InviteMembersResponse) ProtoMessage() {}
-
-func (x *InviteMembersResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[25]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use InviteMembersResponse.ProtoReflect.Descriptor instead.
-func (*InviteMembersResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{25}
-}
-
-func (x *InviteMembersResponse) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
-}
-
-func (x *InviteMembersResponse) GetUsers() []*User {
- if x != nil {
- return x.Users
- }
- return nil
-}
-
-// Webhook mirrors model.Webhook field-for-field. headers is a free-form JSON
-// object (reusing the shared AppData wrapper around google.protobuf.Struct).
-type Webhook struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- EventName string `protobuf:"bytes,2,opt,name=event_name,json=eventName,proto3" json:"event_name,omitempty"`
- EventDescription string `protobuf:"bytes,3,opt,name=event_description,json=eventDescription,proto3" json:"event_description,omitempty"`
- Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
- Enabled bool `protobuf:"varint,5,opt,name=enabled,proto3" json:"enabled,omitempty"`
- Headers *AppData `protobuf:"bytes,6,opt,name=headers,proto3" json:"headers,omitempty"`
- CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
- UpdatedAt int64 `protobuf:"varint,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
-}
-
-func (x *Webhook) Reset() {
- *x = Webhook{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[26]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *Webhook) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Webhook) ProtoMessage() {}
-
-func (x *Webhook) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[26]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Webhook.ProtoReflect.Descriptor instead.
-func (*Webhook) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{26}
-}
-
-func (x *Webhook) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
-}
-
-func (x *Webhook) GetEventName() string {
- if x != nil {
- return x.EventName
- }
- return ""
-}
-
-func (x *Webhook) GetEventDescription() string {
- if x != nil {
- return x.EventDescription
- }
- return ""
-}
-
-func (x *Webhook) GetEndpoint() string {
- if x != nil {
- return x.Endpoint
- }
- return ""
-}
-
-func (x *Webhook) GetEnabled() bool {
- if x != nil {
- return x.Enabled
- }
- return false
-}
-
-func (x *Webhook) GetHeaders() *AppData {
- if x != nil {
- return x.Headers
- }
- return nil
-}
-
-func (x *Webhook) GetCreatedAt() int64 {
- if x != nil {
- return x.CreatedAt
- }
- return 0
-}
-
-func (x *Webhook) GetUpdatedAt() int64 {
- if x != nil {
- return x.UpdatedAt
- }
- return 0
-}
-
-// WebhookLog mirrors model.WebhookLog field-for-field.
-type WebhookLog struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- HttpStatus int64 `protobuf:"varint,2,opt,name=http_status,json=httpStatus,proto3" json:"http_status,omitempty"`
- Response string `protobuf:"bytes,3,opt,name=response,proto3" json:"response,omitempty"`
- Request string `protobuf:"bytes,4,opt,name=request,proto3" json:"request,omitempty"`
- WebhookId string `protobuf:"bytes,5,opt,name=webhook_id,json=webhookId,proto3" json:"webhook_id,omitempty"`
- CreatedAt int64 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
- UpdatedAt int64 `protobuf:"varint,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
-}
-
-func (x *WebhookLog) Reset() {
- *x = WebhookLog{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[27]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *WebhookLog) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*WebhookLog) ProtoMessage() {}
-
-func (x *WebhookLog) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[27]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use WebhookLog.ProtoReflect.Descriptor instead.
-func (*WebhookLog) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{27}
-}
-
-func (x *WebhookLog) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
-}
-
-func (x *WebhookLog) GetHttpStatus() int64 {
- if x != nil {
- return x.HttpStatus
- }
- return 0
-}
-
-func (x *WebhookLog) GetResponse() string {
- if x != nil {
- return x.Response
- }
- return ""
-}
-
-func (x *WebhookLog) GetRequest() string {
- if x != nil {
- return x.Request
- }
- return ""
-}
-
-func (x *WebhookLog) GetWebhookId() string {
- if x != nil {
- return x.WebhookId
- }
- return ""
-}
-
-func (x *WebhookLog) GetCreatedAt() int64 {
- if x != nil {
- return x.CreatedAt
- }
- return 0
-}
-
-func (x *WebhookLog) GetUpdatedAt() int64 {
- if x != nil {
- return x.UpdatedAt
- }
- return 0
-}
-
-// AddWebhookRequest mirrors model.AddWebhookRequest. event_description is
-// optional; when unset it defaults to the event name with dots replaced by
-// spaces.
-type AddWebhookRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- EventName string `protobuf:"bytes,1,opt,name=event_name,json=eventName,proto3" json:"event_name,omitempty"`
- EventDescription *string `protobuf:"bytes,2,opt,name=event_description,json=eventDescription,proto3,oneof" json:"event_description,omitempty"`
- Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
- Enabled bool `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"`
- Headers *AppData `protobuf:"bytes,5,opt,name=headers,proto3" json:"headers,omitempty"`
-}
-
-func (x *AddWebhookRequest) Reset() {
- *x = AddWebhookRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[28]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *AddWebhookRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*AddWebhookRequest) ProtoMessage() {}
-
-func (x *AddWebhookRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[28]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use AddWebhookRequest.ProtoReflect.Descriptor instead.
-func (*AddWebhookRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{28}
-}
-
-func (x *AddWebhookRequest) GetEventName() string {
- if x != nil {
- return x.EventName
- }
- return ""
-}
-
-func (x *AddWebhookRequest) GetEventDescription() string {
- if x != nil && x.EventDescription != nil {
- return *x.EventDescription
- }
- return ""
-}
-
-func (x *AddWebhookRequest) GetEndpoint() string {
- if x != nil {
- return x.Endpoint
- }
- return ""
-}
-
-func (x *AddWebhookRequest) GetEnabled() bool {
- if x != nil {
- return x.Enabled
- }
- return false
-}
-
-func (x *AddWebhookRequest) GetHeaders() *AppData {
- if x != nil {
- return x.Headers
- }
- return nil
-}
-
-type AddWebhookResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
-}
-
-func (x *AddWebhookResponse) Reset() {
- *x = AddWebhookResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[29]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *AddWebhookResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*AddWebhookResponse) ProtoMessage() {}
-
-func (x *AddWebhookResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[29]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use AddWebhookResponse.ProtoReflect.Descriptor instead.
-func (*AddWebhookResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{29}
-}
-
-func (x *AddWebhookResponse) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
-}
-
-// UpdateWebhookRequest mirrors model.UpdateWebhookRequest. Nullable GraphQL
-// inputs use proto3 `optional` so an unset field is distinguishable from an
-// empty value.
-type UpdateWebhookRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- EventName *string `protobuf:"bytes,2,opt,name=event_name,json=eventName,proto3,oneof" json:"event_name,omitempty"`
- EventDescription *string `protobuf:"bytes,3,opt,name=event_description,json=eventDescription,proto3,oneof" json:"event_description,omitempty"`
- Endpoint *string `protobuf:"bytes,4,opt,name=endpoint,proto3,oneof" json:"endpoint,omitempty"`
- Enabled *bool `protobuf:"varint,5,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"`
- Headers *AppData `protobuf:"bytes,6,opt,name=headers,proto3" json:"headers,omitempty"`
-}
-
-func (x *UpdateWebhookRequest) Reset() {
- *x = UpdateWebhookRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[30]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *UpdateWebhookRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*UpdateWebhookRequest) ProtoMessage() {}
-
-func (x *UpdateWebhookRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[30]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use UpdateWebhookRequest.ProtoReflect.Descriptor instead.
-func (*UpdateWebhookRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{30}
-}
-
-func (x *UpdateWebhookRequest) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
-}
-
-func (x *UpdateWebhookRequest) GetEventName() string {
- if x != nil && x.EventName != nil {
- return *x.EventName
- }
- return ""
-}
-
-func (x *UpdateWebhookRequest) GetEventDescription() string {
- if x != nil && x.EventDescription != nil {
- return *x.EventDescription
- }
- return ""
-}
-
-func (x *UpdateWebhookRequest) GetEndpoint() string {
- if x != nil && x.Endpoint != nil {
- return *x.Endpoint
- }
- return ""
-}
-
-func (x *UpdateWebhookRequest) GetEnabled() bool {
- if x != nil && x.Enabled != nil {
- return *x.Enabled
- }
- return false
-}
-
-func (x *UpdateWebhookRequest) GetHeaders() *AppData {
- if x != nil {
- return x.Headers
- }
- return nil
-}
-
-type UpdateWebhookResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
-}
-
-func (x *UpdateWebhookResponse) Reset() {
- *x = UpdateWebhookResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[31]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *UpdateWebhookResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*UpdateWebhookResponse) ProtoMessage() {}
-
-func (x *UpdateWebhookResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[31]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use UpdateWebhookResponse.ProtoReflect.Descriptor instead.
-func (*UpdateWebhookResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{31}
-}
-
-func (x *UpdateWebhookResponse) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
-}
-
-// DeleteWebhookRequest mirrors model.WebhookRequest (a single webhook id). It is
-// kept distinct from GetWebhookRequest per buf's one-message-per-RPC rule.
-type DeleteWebhookRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
-}
-
-func (x *DeleteWebhookRequest) Reset() {
- *x = DeleteWebhookRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[32]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *DeleteWebhookRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*DeleteWebhookRequest) ProtoMessage() {}
-
-func (x *DeleteWebhookRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[32]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use DeleteWebhookRequest.ProtoReflect.Descriptor instead.
-func (*DeleteWebhookRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{32}
-}
-
-func (x *DeleteWebhookRequest) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
-}
-
-type DeleteWebhookResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
-}
-
-func (x *DeleteWebhookResponse) Reset() {
- *x = DeleteWebhookResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[33]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *DeleteWebhookResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*DeleteWebhookResponse) ProtoMessage() {}
-
-func (x *DeleteWebhookResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[33]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use DeleteWebhookResponse.ProtoReflect.Descriptor instead.
-func (*DeleteWebhookResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{33}
-}
-
-func (x *DeleteWebhookResponse) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
-}
-
-// GetWebhookRequest mirrors model.WebhookRequest (a single webhook id). It is
-// kept distinct from DeleteWebhookRequest per buf's one-message-per-RPC rule.
-type GetWebhookRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
-}
-
-func (x *GetWebhookRequest) Reset() {
- *x = GetWebhookRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[34]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *GetWebhookRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*GetWebhookRequest) ProtoMessage() {}
-
-func (x *GetWebhookRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[34]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use GetWebhookRequest.ProtoReflect.Descriptor instead.
-func (*GetWebhookRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{34}
-}
-
-func (x *GetWebhookRequest) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
-}
-
-type GetWebhookResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Webhook *Webhook `protobuf:"bytes,1,opt,name=webhook,proto3" json:"webhook,omitempty"`
-}
-
-func (x *GetWebhookResponse) Reset() {
- *x = GetWebhookResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[35]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *GetWebhookResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*GetWebhookResponse) ProtoMessage() {}
-
-func (x *GetWebhookResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[35]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use GetWebhookResponse.ProtoReflect.Descriptor instead.
-func (*GetWebhookResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{35}
-}
-
-func (x *GetWebhookResponse) GetWebhook() *Webhook {
- if x != nil {
- return x.Webhook
- }
- return nil
-}
-
-type WebhooksRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Pagination *PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
-}
-
-func (x *WebhooksRequest) Reset() {
- *x = WebhooksRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[36]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *WebhooksRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*WebhooksRequest) ProtoMessage() {}
-
-func (x *WebhooksRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[36]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use WebhooksRequest.ProtoReflect.Descriptor instead.
-func (*WebhooksRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{36}
-}
-
-func (x *WebhooksRequest) GetPagination() *PaginationRequest {
- if x != nil {
- return x.Pagination
- }
- return nil
-}
-
-type WebhooksResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Webhooks []*Webhook `protobuf:"bytes,1,rep,name=webhooks,proto3" json:"webhooks,omitempty"`
- Pagination *Pagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
-}
-
-func (x *WebhooksResponse) Reset() {
- *x = WebhooksResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[37]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *WebhooksResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*WebhooksResponse) ProtoMessage() {}
-
-func (x *WebhooksResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[37]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use WebhooksResponse.ProtoReflect.Descriptor instead.
-func (*WebhooksResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{37}
-}
-
-func (x *WebhooksResponse) GetWebhooks() []*Webhook {
- if x != nil {
- return x.Webhooks
- }
- return nil
-}
-
-func (x *WebhooksResponse) GetPagination() *Pagination {
- if x != nil {
- return x.Pagination
- }
- return nil
-}
-
-// WebhookLogsRequest mirrors model.ListWebhookLogRequest. webhook_id is
-// optional; when unset logs for all webhooks are returned.
-type WebhookLogsRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Pagination *PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
- WebhookId *string `protobuf:"bytes,2,opt,name=webhook_id,json=webhookId,proto3,oneof" json:"webhook_id,omitempty"`
-}
-
-func (x *WebhookLogsRequest) Reset() {
- *x = WebhookLogsRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[38]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *WebhookLogsRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*WebhookLogsRequest) ProtoMessage() {}
-
-func (x *WebhookLogsRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[38]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use WebhookLogsRequest.ProtoReflect.Descriptor instead.
-func (*WebhookLogsRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{38}
-}
-
-func (x *WebhookLogsRequest) GetPagination() *PaginationRequest {
- if x != nil {
- return x.Pagination
- }
- return nil
-}
-
-func (x *WebhookLogsRequest) GetWebhookId() string {
- if x != nil && x.WebhookId != nil {
- return *x.WebhookId
- }
- return ""
-}
-
-type WebhookLogsResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- WebhookLogs []*WebhookLog `protobuf:"bytes,1,rep,name=webhook_logs,json=webhookLogs,proto3" json:"webhook_logs,omitempty"`
- Pagination *Pagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
-}
-
-func (x *WebhookLogsResponse) Reset() {
- *x = WebhookLogsResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[39]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *WebhookLogsResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*WebhookLogsResponse) ProtoMessage() {}
-
-func (x *WebhookLogsResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[39]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use WebhookLogsResponse.ProtoReflect.Descriptor instead.
-func (*WebhookLogsResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{39}
-}
-
-func (x *WebhookLogsResponse) GetWebhookLogs() []*WebhookLog {
- if x != nil {
- return x.WebhookLogs
- }
- return nil
-}
-
-func (x *WebhookLogsResponse) GetPagination() *Pagination {
- if x != nil {
- return x.Pagination
- }
- return nil
-}
-
-// TestEndpointRequest mirrors model.TestEndpointRequest. event_description is
-// optional and unused by the test payload but accepted for parity.
-type TestEndpointRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
- EventName string `protobuf:"bytes,2,opt,name=event_name,json=eventName,proto3" json:"event_name,omitempty"`
- EventDescription *string `protobuf:"bytes,3,opt,name=event_description,json=eventDescription,proto3,oneof" json:"event_description,omitempty"`
- Headers *AppData `protobuf:"bytes,4,opt,name=headers,proto3" json:"headers,omitempty"`
-}
-
-func (x *TestEndpointRequest) Reset() {
- *x = TestEndpointRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[40]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *TestEndpointRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*TestEndpointRequest) ProtoMessage() {}
-
-func (x *TestEndpointRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[40]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use TestEndpointRequest.ProtoReflect.Descriptor instead.
-func (*TestEndpointRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{40}
-}
-
-func (x *TestEndpointRequest) GetEndpoint() string {
- if x != nil {
- return x.Endpoint
- }
- return ""
-}
-
-func (x *TestEndpointRequest) GetEventName() string {
- if x != nil {
- return x.EventName
- }
- return ""
-}
-
-func (x *TestEndpointRequest) GetEventDescription() string {
- if x != nil && x.EventDescription != nil {
- return *x.EventDescription
- }
- return ""
-}
-
-func (x *TestEndpointRequest) GetHeaders() *AppData {
- if x != nil {
- return x.Headers
- }
- return nil
-}
-
-// TestEndpointResponse mirrors model.TestEndpointResponse.
-type TestEndpointResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- HttpStatus int64 `protobuf:"varint,1,opt,name=http_status,json=httpStatus,proto3" json:"http_status,omitempty"`
- Response string `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"`
-}
-
-func (x *TestEndpointResponse) Reset() {
- *x = TestEndpointResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[41]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *TestEndpointResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*TestEndpointResponse) ProtoMessage() {}
-
-func (x *TestEndpointResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[41]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use TestEndpointResponse.ProtoReflect.Descriptor instead.
-func (*TestEndpointResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{41}
-}
-
-func (x *TestEndpointResponse) GetHttpStatus() int64 {
- if x != nil {
- return x.HttpStatus
- }
- return 0
-}
-
-func (x *TestEndpointResponse) GetResponse() string {
- if x != nil {
- return x.Response
- }
- return ""
-}
-
-// EmailTemplate mirrors model.EmailTemplate field-for-field.
-type EmailTemplate struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- EventName string `protobuf:"bytes,2,opt,name=event_name,json=eventName,proto3" json:"event_name,omitempty"`
- Template string `protobuf:"bytes,3,opt,name=template,proto3" json:"template,omitempty"`
- Design string `protobuf:"bytes,4,opt,name=design,proto3" json:"design,omitempty"`
- Subject string `protobuf:"bytes,5,opt,name=subject,proto3" json:"subject,omitempty"`
- CreatedAt int64 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
- UpdatedAt int64 `protobuf:"varint,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
-}
-
-func (x *EmailTemplate) Reset() {
- *x = EmailTemplate{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[42]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *EmailTemplate) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*EmailTemplate) ProtoMessage() {}
-
-func (x *EmailTemplate) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[42]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use EmailTemplate.ProtoReflect.Descriptor instead.
-func (*EmailTemplate) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{42}
-}
-
-func (x *EmailTemplate) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
-}
-
-func (x *EmailTemplate) GetEventName() string {
- if x != nil {
- return x.EventName
- }
- return ""
-}
-
-func (x *EmailTemplate) GetTemplate() string {
- if x != nil {
- return x.Template
- }
- return ""
-}
-
-func (x *EmailTemplate) GetDesign() string {
- if x != nil {
- return x.Design
- }
- return ""
-}
-
-func (x *EmailTemplate) GetSubject() string {
- if x != nil {
- return x.Subject
- }
- return ""
-}
-
-func (x *EmailTemplate) GetCreatedAt() int64 {
- if x != nil {
- return x.CreatedAt
- }
- return 0
-}
-
-func (x *EmailTemplate) GetUpdatedAt() int64 {
- if x != nil {
- return x.UpdatedAt
- }
- return 0
-}
-
-// AddEmailTemplateRequest mirrors model.AddEmailTemplateRequest. design is
-// optional.
-type AddEmailTemplateRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- EventName string `protobuf:"bytes,1,opt,name=event_name,json=eventName,proto3" json:"event_name,omitempty"`
- Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
- Template string `protobuf:"bytes,3,opt,name=template,proto3" json:"template,omitempty"`
- Design *string `protobuf:"bytes,4,opt,name=design,proto3,oneof" json:"design,omitempty"`
-}
-
-func (x *AddEmailTemplateRequest) Reset() {
- *x = AddEmailTemplateRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[43]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *AddEmailTemplateRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*AddEmailTemplateRequest) ProtoMessage() {}
-
-func (x *AddEmailTemplateRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[43]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use AddEmailTemplateRequest.ProtoReflect.Descriptor instead.
-func (*AddEmailTemplateRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{43}
-}
-
-func (x *AddEmailTemplateRequest) GetEventName() string {
- if x != nil {
- return x.EventName
- }
- return ""
-}
-
-func (x *AddEmailTemplateRequest) GetSubject() string {
- if x != nil {
- return x.Subject
- }
- return ""
-}
-
-func (x *AddEmailTemplateRequest) GetTemplate() string {
- if x != nil {
- return x.Template
- }
- return ""
-}
-
-func (x *AddEmailTemplateRequest) GetDesign() string {
- if x != nil && x.Design != nil {
- return *x.Design
- }
- return ""
-}
-
-type AddEmailTemplateResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
-}
-
-func (x *AddEmailTemplateResponse) Reset() {
- *x = AddEmailTemplateResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[44]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *AddEmailTemplateResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*AddEmailTemplateResponse) ProtoMessage() {}
-
-func (x *AddEmailTemplateResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[44]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use AddEmailTemplateResponse.ProtoReflect.Descriptor instead.
-func (*AddEmailTemplateResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{44}
-}
-
-func (x *AddEmailTemplateResponse) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
-}
-
-// UpdateEmailTemplateRequest mirrors model.UpdateEmailTemplateRequest. Nullable
-// GraphQL inputs use proto3 `optional` so an unset field is distinguishable from
-// an empty value.
-type UpdateEmailTemplateRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- EventName *string `protobuf:"bytes,2,opt,name=event_name,json=eventName,proto3,oneof" json:"event_name,omitempty"`
- Template *string `protobuf:"bytes,3,opt,name=template,proto3,oneof" json:"template,omitempty"`
- Subject *string `protobuf:"bytes,4,opt,name=subject,proto3,oneof" json:"subject,omitempty"`
- Design *string `protobuf:"bytes,5,opt,name=design,proto3,oneof" json:"design,omitempty"`
-}
-
-func (x *UpdateEmailTemplateRequest) Reset() {
- *x = UpdateEmailTemplateRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[45]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *UpdateEmailTemplateRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*UpdateEmailTemplateRequest) ProtoMessage() {}
-
-func (x *UpdateEmailTemplateRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[45]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use UpdateEmailTemplateRequest.ProtoReflect.Descriptor instead.
-func (*UpdateEmailTemplateRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{45}
-}
-
-func (x *UpdateEmailTemplateRequest) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
-}
-
-func (x *UpdateEmailTemplateRequest) GetEventName() string {
- if x != nil && x.EventName != nil {
- return *x.EventName
- }
- return ""
-}
-
-func (x *UpdateEmailTemplateRequest) GetTemplate() string {
- if x != nil && x.Template != nil {
- return *x.Template
- }
- return ""
-}
-
-func (x *UpdateEmailTemplateRequest) GetSubject() string {
- if x != nil && x.Subject != nil {
- return *x.Subject
- }
- return ""
-}
-
-func (x *UpdateEmailTemplateRequest) GetDesign() string {
- if x != nil && x.Design != nil {
- return *x.Design
- }
- return ""
-}
-
-type UpdateEmailTemplateResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
-}
-
-func (x *UpdateEmailTemplateResponse) Reset() {
- *x = UpdateEmailTemplateResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[46]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *UpdateEmailTemplateResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*UpdateEmailTemplateResponse) ProtoMessage() {}
-
-func (x *UpdateEmailTemplateResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[46]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use UpdateEmailTemplateResponse.ProtoReflect.Descriptor instead.
-func (*UpdateEmailTemplateResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{46}
-}
-
-func (x *UpdateEmailTemplateResponse) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
-}
-
-// DeleteEmailTemplateRequest mirrors model.DeleteEmailTemplateRequest (a single
-// email template id).
-type DeleteEmailTemplateRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
-}
-
-func (x *DeleteEmailTemplateRequest) Reset() {
- *x = DeleteEmailTemplateRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[47]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *DeleteEmailTemplateRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*DeleteEmailTemplateRequest) ProtoMessage() {}
-
-func (x *DeleteEmailTemplateRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[47]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use DeleteEmailTemplateRequest.ProtoReflect.Descriptor instead.
-func (*DeleteEmailTemplateRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{47}
-}
-
-func (x *DeleteEmailTemplateRequest) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
-}
-
-type DeleteEmailTemplateResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
-}
-
-func (x *DeleteEmailTemplateResponse) Reset() {
- *x = DeleteEmailTemplateResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[48]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *DeleteEmailTemplateResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*DeleteEmailTemplateResponse) ProtoMessage() {}
-
-func (x *DeleteEmailTemplateResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[48]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use DeleteEmailTemplateResponse.ProtoReflect.Descriptor instead.
-func (*DeleteEmailTemplateResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{48}
-}
-
-func (x *DeleteEmailTemplateResponse) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
-}
-
-type EmailTemplatesRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Pagination *PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
-}
-
-func (x *EmailTemplatesRequest) Reset() {
- *x = EmailTemplatesRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[49]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *EmailTemplatesRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*EmailTemplatesRequest) ProtoMessage() {}
-
-func (x *EmailTemplatesRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[49]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use EmailTemplatesRequest.ProtoReflect.Descriptor instead.
-func (*EmailTemplatesRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{49}
-}
-
-func (x *EmailTemplatesRequest) GetPagination() *PaginationRequest {
- if x != nil {
- return x.Pagination
- }
- return nil
-}
-
-type EmailTemplatesResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- EmailTemplates []*EmailTemplate `protobuf:"bytes,1,rep,name=email_templates,json=emailTemplates,proto3" json:"email_templates,omitempty"`
- Pagination *Pagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
-}
-
-func (x *EmailTemplatesResponse) Reset() {
- *x = EmailTemplatesResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[50]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *EmailTemplatesResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*EmailTemplatesResponse) ProtoMessage() {}
-
-func (x *EmailTemplatesResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[50]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use EmailTemplatesResponse.ProtoReflect.Descriptor instead.
-func (*EmailTemplatesResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{50}
-}
-
-func (x *EmailTemplatesResponse) GetEmailTemplates() []*EmailTemplate {
- if x != nil {
- return x.EmailTemplates
- }
- return nil
-}
-
-func (x *EmailTemplatesResponse) GetPagination() *Pagination {
- if x != nil {
- return x.Pagination
- }
- return nil
-}
-
-// AuditLog mirrors model.AuditLog field-for-field.
-type AuditLog struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- ActorId string `protobuf:"bytes,2,opt,name=actor_id,json=actorId,proto3" json:"actor_id,omitempty"`
- ActorType string `protobuf:"bytes,3,opt,name=actor_type,json=actorType,proto3" json:"actor_type,omitempty"`
- ActorEmail string `protobuf:"bytes,4,opt,name=actor_email,json=actorEmail,proto3" json:"actor_email,omitempty"`
- Action string `protobuf:"bytes,5,opt,name=action,proto3" json:"action,omitempty"`
- ResourceType string `protobuf:"bytes,6,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
- ResourceId string `protobuf:"bytes,7,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
- IpAddress string `protobuf:"bytes,8,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
- UserAgent string `protobuf:"bytes,9,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
- Metadata string `protobuf:"bytes,10,opt,name=metadata,proto3" json:"metadata,omitempty"`
- CreatedAt int64 `protobuf:"varint,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
-}
-
-func (x *AuditLog) Reset() {
- *x = AuditLog{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[51]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *AuditLog) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*AuditLog) ProtoMessage() {}
-
-func (x *AuditLog) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[51]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use AuditLog.ProtoReflect.Descriptor instead.
-func (*AuditLog) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{51}
-}
-
-func (x *AuditLog) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
-}
-
-func (x *AuditLog) GetActorId() string {
- if x != nil {
- return x.ActorId
- }
- return ""
-}
-
-func (x *AuditLog) GetActorType() string {
- if x != nil {
- return x.ActorType
- }
- return ""
-}
-
-func (x *AuditLog) GetActorEmail() string {
- if x != nil {
- return x.ActorEmail
- }
- return ""
-}
-
-func (x *AuditLog) GetAction() string {
- if x != nil {
- return x.Action
- }
- return ""
-}
-
-func (x *AuditLog) GetResourceType() string {
- if x != nil {
- return x.ResourceType
- }
- return ""
-}
-
-func (x *AuditLog) GetResourceId() string {
- if x != nil {
- return x.ResourceId
- }
- return ""
-}
-
-func (x *AuditLog) GetIpAddress() string {
- if x != nil {
- return x.IpAddress
- }
- return ""
-}
-
-func (x *AuditLog) GetUserAgent() string {
- if x != nil {
- return x.UserAgent
- }
- return ""
-}
-
-func (x *AuditLog) GetMetadata() string {
- if x != nil {
- return x.Metadata
- }
- return ""
-}
-
-func (x *AuditLog) GetCreatedAt() int64 {
- if x != nil {
- return x.CreatedAt
- }
- return 0
-}
-
-// AuditLogsRequest mirrors model.ListAuditLogRequest. All filter fields are
-// optional; when unset no filtering is applied for that field.
-type AuditLogsRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Pagination *PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
- Action *string `protobuf:"bytes,2,opt,name=action,proto3,oneof" json:"action,omitempty"`
- ActorId *string `protobuf:"bytes,3,opt,name=actor_id,json=actorId,proto3,oneof" json:"actor_id,omitempty"`
- ResourceType *string `protobuf:"bytes,4,opt,name=resource_type,json=resourceType,proto3,oneof" json:"resource_type,omitempty"`
- ResourceId *string `protobuf:"bytes,5,opt,name=resource_id,json=resourceId,proto3,oneof" json:"resource_id,omitempty"`
- FromTimestamp *int64 `protobuf:"varint,6,opt,name=from_timestamp,json=fromTimestamp,proto3,oneof" json:"from_timestamp,omitempty"`
- ToTimestamp *int64 `protobuf:"varint,7,opt,name=to_timestamp,json=toTimestamp,proto3,oneof" json:"to_timestamp,omitempty"`
-}
-
-func (x *AuditLogsRequest) Reset() {
- *x = AuditLogsRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[52]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *AuditLogsRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*AuditLogsRequest) ProtoMessage() {}
-
-func (x *AuditLogsRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[52]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use AuditLogsRequest.ProtoReflect.Descriptor instead.
-func (*AuditLogsRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{52}
-}
-
-func (x *AuditLogsRequest) GetPagination() *PaginationRequest {
- if x != nil {
- return x.Pagination
- }
- return nil
-}
-
-func (x *AuditLogsRequest) GetAction() string {
- if x != nil && x.Action != nil {
- return *x.Action
- }
- return ""
-}
-
-func (x *AuditLogsRequest) GetActorId() string {
- if x != nil && x.ActorId != nil {
- return *x.ActorId
- }
- return ""
-}
-
-func (x *AuditLogsRequest) GetResourceType() string {
- if x != nil && x.ResourceType != nil {
- return *x.ResourceType
- }
- return ""
-}
-
-func (x *AuditLogsRequest) GetResourceId() string {
- if x != nil && x.ResourceId != nil {
- return *x.ResourceId
- }
- return ""
-}
-
-func (x *AuditLogsRequest) GetFromTimestamp() int64 {
- if x != nil && x.FromTimestamp != nil {
- return *x.FromTimestamp
- }
- return 0
-}
-
-func (x *AuditLogsRequest) GetToTimestamp() int64 {
- if x != nil && x.ToTimestamp != nil {
- return *x.ToTimestamp
- }
- return 0
-}
-
-type AuditLogsResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- AuditLogs []*AuditLog `protobuf:"bytes,1,rep,name=audit_logs,json=auditLogs,proto3" json:"audit_logs,omitempty"`
- Pagination *Pagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
-}
-
-func (x *AuditLogsResponse) Reset() {
- *x = AuditLogsResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[53]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *AuditLogsResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*AuditLogsResponse) ProtoMessage() {}
-
-func (x *AuditLogsResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[53]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use AuditLogsResponse.ProtoReflect.Descriptor instead.
-func (*AuditLogsResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{53}
-}
-
-func (x *AuditLogsResponse) GetAuditLogs() []*AuditLog {
- if x != nil {
- return x.AuditLogs
- }
- return nil
-}
-
-func (x *AuditLogsResponse) GetPagination() *Pagination {
- if x != nil {
- return x.Pagination
- }
- return nil
-}
-
-// FgaModel is a fine-grained authorization model: its id and DSL form. Mirrors
-// model.FgaModel field-for-field. An empty model (both fields empty) is the
-// valid "no model written yet" state.
-type FgaModel struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- Dsl string `protobuf:"bytes,2,opt,name=dsl,proto3" json:"dsl,omitempty"`
-}
-
-func (x *FgaModel) Reset() {
- *x = FgaModel{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[54]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *FgaModel) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*FgaModel) ProtoMessage() {}
-
-func (x *FgaModel) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[54]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use FgaModel.ProtoReflect.Descriptor instead.
-func (*FgaModel) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{54}
-}
-
-func (x *FgaModel) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
-}
-
-func (x *FgaModel) GetDsl() string {
- if x != nil {
- return x.Dsl
- }
- return ""
-}
-
-// FgaTuple is one persisted relationship tuple returned by FgaReadTuples.
-// Mirrors model.FgaTuple field-for-field (the read shape; writes use the shared
-// FgaTupleInput).
-type FgaTuple struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
- Relation string `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"`
- Object string `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"`
-}
-
-func (x *FgaTuple) Reset() {
- *x = FgaTuple{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[55]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *FgaTuple) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*FgaTuple) ProtoMessage() {}
-
-func (x *FgaTuple) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[55]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use FgaTuple.ProtoReflect.Descriptor instead.
-func (*FgaTuple) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{55}
-}
-
-func (x *FgaTuple) GetUser() string {
- if x != nil {
- return x.User
- }
- return ""
-}
-
-func (x *FgaTuple) GetRelation() string {
- if x != nil {
- return x.Relation
- }
- return ""
-}
-
-func (x *FgaTuple) GetObject() string {
- if x != nil {
- return x.Object
- }
- return ""
-}
-
-// FgaGetModelRequest takes no parameters; the active model is implied.
-type FgaGetModelRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-}
-
-func (x *FgaGetModelRequest) Reset() {
- *x = FgaGetModelRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[56]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *FgaGetModelRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*FgaGetModelRequest) ProtoMessage() {}
-
-func (x *FgaGetModelRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[56]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use FgaGetModelRequest.ProtoReflect.Descriptor instead.
-func (*FgaGetModelRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{56}
-}
-
-type FgaGetModelResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Model *FgaModel `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
-}
-
-func (x *FgaGetModelResponse) Reset() {
- *x = FgaGetModelResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[57]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *FgaGetModelResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*FgaGetModelResponse) ProtoMessage() {}
-
-func (x *FgaGetModelResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[57]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use FgaGetModelResponse.ProtoReflect.Descriptor instead.
-func (*FgaGetModelResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{57}
-}
-
-func (x *FgaGetModelResponse) GetModel() *FgaModel {
- if x != nil {
- return x.Model
- }
- return nil
-}
-
-// FgaWriteModelRequest mirrors model.FgaWriteModelInput (the model DSL).
-type FgaWriteModelRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Dsl string `protobuf:"bytes,1,opt,name=dsl,proto3" json:"dsl,omitempty"`
-}
-
-func (x *FgaWriteModelRequest) Reset() {
- *x = FgaWriteModelRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[58]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *FgaWriteModelRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*FgaWriteModelRequest) ProtoMessage() {}
-
-func (x *FgaWriteModelRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[58]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use FgaWriteModelRequest.ProtoReflect.Descriptor instead.
-func (*FgaWriteModelRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{58}
-}
-
-func (x *FgaWriteModelRequest) GetDsl() string {
- if x != nil {
- return x.Dsl
- }
- return ""
-}
-
-type FgaWriteModelResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Model *FgaModel `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
-}
-
-func (x *FgaWriteModelResponse) Reset() {
- *x = FgaWriteModelResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[59]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *FgaWriteModelResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*FgaWriteModelResponse) ProtoMessage() {}
-
-func (x *FgaWriteModelResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[59]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use FgaWriteModelResponse.ProtoReflect.Descriptor instead.
-func (*FgaWriteModelResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{59}
-}
-
-func (x *FgaWriteModelResponse) GetModel() *FgaModel {
- if x != nil {
- return x.Model
- }
- return nil
-}
-
-// FgaWriteTuplesRequest mirrors model.FgaWriteTuplesInput, reusing the shared
-// FgaTupleInput message.
-type FgaWriteTuplesRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Tuples []*FgaTupleInput `protobuf:"bytes,1,rep,name=tuples,proto3" json:"tuples,omitempty"`
-}
-
-func (x *FgaWriteTuplesRequest) Reset() {
- *x = FgaWriteTuplesRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[60]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *FgaWriteTuplesRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*FgaWriteTuplesRequest) ProtoMessage() {}
-
-func (x *FgaWriteTuplesRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[60]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use FgaWriteTuplesRequest.ProtoReflect.Descriptor instead.
-func (*FgaWriteTuplesRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{60}
-}
-
-func (x *FgaWriteTuplesRequest) GetTuples() []*FgaTupleInput {
- if x != nil {
- return x.Tuples
- }
- return nil
-}
-
-type FgaWriteTuplesResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
-}
-
-func (x *FgaWriteTuplesResponse) Reset() {
- *x = FgaWriteTuplesResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[61]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *FgaWriteTuplesResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*FgaWriteTuplesResponse) ProtoMessage() {}
-
-func (x *FgaWriteTuplesResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[61]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use FgaWriteTuplesResponse.ProtoReflect.Descriptor instead.
-func (*FgaWriteTuplesResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{61}
-}
-
-func (x *FgaWriteTuplesResponse) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
-}
-
-// FgaDeleteTuplesRequest mirrors model.FgaWriteTuplesInput (same shape as a
-// write; the tuples to remove).
-type FgaDeleteTuplesRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Tuples []*FgaTupleInput `protobuf:"bytes,1,rep,name=tuples,proto3" json:"tuples,omitempty"`
-}
-
-func (x *FgaDeleteTuplesRequest) Reset() {
- *x = FgaDeleteTuplesRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[62]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *FgaDeleteTuplesRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*FgaDeleteTuplesRequest) ProtoMessage() {}
-
-func (x *FgaDeleteTuplesRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[62]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use FgaDeleteTuplesRequest.ProtoReflect.Descriptor instead.
-func (*FgaDeleteTuplesRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{62}
-}
-
-func (x *FgaDeleteTuplesRequest) GetTuples() []*FgaTupleInput {
- if x != nil {
- return x.Tuples
- }
- return nil
-}
-
-type FgaDeleteTuplesResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
-}
-
-func (x *FgaDeleteTuplesResponse) Reset() {
- *x = FgaDeleteTuplesResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[63]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *FgaDeleteTuplesResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*FgaDeleteTuplesResponse) ProtoMessage() {}
-
-func (x *FgaDeleteTuplesResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[63]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use FgaDeleteTuplesResponse.ProtoReflect.Descriptor instead.
-func (*FgaDeleteTuplesResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{63}
-}
-
-func (x *FgaDeleteTuplesResponse) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
-}
-
-// FgaReadTuplesRequest mirrors model.FgaReadTuplesInput. All filter fields are
-// optional; an empty filter reads all tuples (paginated).
-type FgaReadTuplesRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- User *string `protobuf:"bytes,1,opt,name=user,proto3,oneof" json:"user,omitempty"`
- Relation *string `protobuf:"bytes,2,opt,name=relation,proto3,oneof" json:"relation,omitempty"`
- Object *string `protobuf:"bytes,3,opt,name=object,proto3,oneof" json:"object,omitempty"`
- PageSize *int64 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3,oneof" json:"page_size,omitempty"`
- ContinuationToken *string `protobuf:"bytes,5,opt,name=continuation_token,json=continuationToken,proto3,oneof" json:"continuation_token,omitempty"`
-}
-
-func (x *FgaReadTuplesRequest) Reset() {
- *x = FgaReadTuplesRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[64]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *FgaReadTuplesRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*FgaReadTuplesRequest) ProtoMessage() {}
-
-func (x *FgaReadTuplesRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[64]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use FgaReadTuplesRequest.ProtoReflect.Descriptor instead.
-func (*FgaReadTuplesRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{64}
-}
-
-func (x *FgaReadTuplesRequest) GetUser() string {
- if x != nil && x.User != nil {
- return *x.User
- }
- return ""
-}
-
-func (x *FgaReadTuplesRequest) GetRelation() string {
- if x != nil && x.Relation != nil {
- return *x.Relation
- }
- return ""
-}
-
-func (x *FgaReadTuplesRequest) GetObject() string {
- if x != nil && x.Object != nil {
- return *x.Object
- }
- return ""
-}
-
-func (x *FgaReadTuplesRequest) GetPageSize() int64 {
- if x != nil && x.PageSize != nil {
- return *x.PageSize
- }
- return 0
-}
-
-func (x *FgaReadTuplesRequest) GetContinuationToken() string {
- if x != nil && x.ContinuationToken != nil {
- return *x.ContinuationToken
- }
- return ""
-}
-
-type FgaReadTuplesResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Tuples []*FgaTuple `protobuf:"bytes,1,rep,name=tuples,proto3" json:"tuples,omitempty"`
- ContinuationToken *string `protobuf:"bytes,2,opt,name=continuation_token,json=continuationToken,proto3,oneof" json:"continuation_token,omitempty"`
-}
-
-func (x *FgaReadTuplesResponse) Reset() {
- *x = FgaReadTuplesResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[65]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *FgaReadTuplesResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*FgaReadTuplesResponse) ProtoMessage() {}
-
-func (x *FgaReadTuplesResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[65]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use FgaReadTuplesResponse.ProtoReflect.Descriptor instead.
-func (*FgaReadTuplesResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{65}
-}
-
-func (x *FgaReadTuplesResponse) GetTuples() []*FgaTuple {
- if x != nil {
- return x.Tuples
- }
- return nil
-}
-
-func (x *FgaReadTuplesResponse) GetContinuationToken() string {
- if x != nil && x.ContinuationToken != nil {
- return *x.ContinuationToken
- }
- return ""
-}
-
-// FgaListUsersRequest mirrors model.FgaListUsersInput.
-type FgaListUsersRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Object string `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
- Relation string `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"`
- UserType string `protobuf:"bytes,3,opt,name=user_type,json=userType,proto3" json:"user_type,omitempty"`
-}
-
-func (x *FgaListUsersRequest) Reset() {
- *x = FgaListUsersRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[66]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *FgaListUsersRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*FgaListUsersRequest) ProtoMessage() {}
-
-func (x *FgaListUsersRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[66]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use FgaListUsersRequest.ProtoReflect.Descriptor instead.
-func (*FgaListUsersRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{66}
-}
-
-func (x *FgaListUsersRequest) GetObject() string {
- if x != nil {
- return x.Object
- }
- return ""
-}
-
-func (x *FgaListUsersRequest) GetRelation() string {
- if x != nil {
- return x.Relation
- }
- return ""
-}
-
-func (x *FgaListUsersRequest) GetUserType() string {
- if x != nil {
- return x.UserType
- }
- return ""
-}
-
-type FgaListUsersResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Users []string `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
-}
-
-func (x *FgaListUsersResponse) Reset() {
- *x = FgaListUsersResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[67]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *FgaListUsersResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*FgaListUsersResponse) ProtoMessage() {}
-
-func (x *FgaListUsersResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[67]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use FgaListUsersResponse.ProtoReflect.Descriptor instead.
-func (*FgaListUsersResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{67}
-}
-
-func (x *FgaListUsersResponse) GetUsers() []string {
- if x != nil {
- return x.Users
- }
- return nil
-}
-
-// FgaExpandRequest mirrors model.FgaExpandInput.
-type FgaExpandRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Relation string `protobuf:"bytes,1,opt,name=relation,proto3" json:"relation,omitempty"`
- Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
-}
-
-func (x *FgaExpandRequest) Reset() {
- *x = FgaExpandRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[68]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *FgaExpandRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*FgaExpandRequest) ProtoMessage() {}
-
-func (x *FgaExpandRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[68]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use FgaExpandRequest.ProtoReflect.Descriptor instead.
-func (*FgaExpandRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{68}
-}
-
-func (x *FgaExpandRequest) GetRelation() string {
- if x != nil {
- return x.Relation
- }
- return ""
-}
-
-func (x *FgaExpandRequest) GetObject() string {
- if x != nil {
- return x.Object
- }
- return ""
-}
-
-type FgaExpandResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Tree string `protobuf:"bytes,1,opt,name=tree,proto3" json:"tree,omitempty"`
-}
-
-func (x *FgaExpandResponse) Reset() {
- *x = FgaExpandResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[69]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *FgaExpandResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*FgaExpandResponse) ProtoMessage() {}
-
-func (x *FgaExpandResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[69]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use FgaExpandResponse.ProtoReflect.Descriptor instead.
-func (*FgaExpandResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{69}
-}
-
-func (x *FgaExpandResponse) GetTree() string {
- if x != nil {
- return x.Tree
- }
- return ""
-}
-
-// FgaResetRequest takes no parameters; the whole store is reset.
-type FgaResetRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-}
-
-func (x *FgaResetRequest) Reset() {
- *x = FgaResetRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[70]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *FgaResetRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*FgaResetRequest) ProtoMessage() {}
-
-func (x *FgaResetRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[70]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use FgaResetRequest.ProtoReflect.Descriptor instead.
-func (*FgaResetRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{70}
-}
-
-type FgaResetResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
-}
-
-func (x *FgaResetResponse) Reset() {
- *x = FgaResetResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[71]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *FgaResetResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*FgaResetResponse) ProtoMessage() {}
-
-func (x *FgaResetResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[71]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use FgaResetResponse.ProtoReflect.Descriptor instead.
-func (*FgaResetResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{71}
-}
-
-func (x *FgaResetResponse) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
-}
-
-// Client mirrors model.Client field-for-field. The client
-// secret is deliberately ABSENT (matching the GraphQL type): it is surfaced
-// exactly once, only via CreateClientResponse.client_secret, and is
-// never returned by any get/list/update path.
-type Client struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
- Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
- AllowedScopes []string `protobuf:"bytes,4,rep,name=allowed_scopes,json=allowedScopes,proto3" json:"allowed_scopes,omitempty"`
- IsActive bool `protobuf:"varint,5,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
- CreatedAt int64 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
- UpdatedAt int64 `protobuf:"varint,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
- // client_id is the public OAuth identifier presented at the authorize/token
- // endpoints, distinct from id (internal surrogate key).
- ClientId string `protobuf:"bytes,8,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
-}
-
-func (x *Client) Reset() {
- *x = Client{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[72]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *Client) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*Client) ProtoMessage() {}
-
-func (x *Client) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[72]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use Client.ProtoReflect.Descriptor instead.
-func (*Client) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{72}
-}
-
-func (x *Client) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
-}
-
-func (x *Client) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *Client) GetDescription() string {
- if x != nil {
- return x.Description
- }
- return ""
-}
-
-func (x *Client) GetAllowedScopes() []string {
- if x != nil {
- return x.AllowedScopes
- }
- return nil
-}
-
-func (x *Client) GetIsActive() bool {
- if x != nil {
- return x.IsActive
- }
- return false
-}
-
-func (x *Client) GetCreatedAt() int64 {
- if x != nil {
- return x.CreatedAt
- }
- return 0
-}
-
-func (x *Client) GetUpdatedAt() int64 {
- if x != nil {
- return x.UpdatedAt
- }
- return 0
-}
-
-func (x *Client) GetClientId() string {
- if x != nil {
- return x.ClientId
- }
- return ""
-}
-
-// CreateClientRequest mirrors model.CreateClientRequest.
-// description is optional; allowed_scopes must be non-empty (an empty scope set
-// is DENY-ALL and is rejected by the service layer).
-type CreateClientRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"`
- AllowedScopes []string `protobuf:"bytes,3,rep,name=allowed_scopes,json=allowedScopes,proto3" json:"allowed_scopes,omitempty"`
-}
-
-func (x *CreateClientRequest) Reset() {
- *x = CreateClientRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[73]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *CreateClientRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*CreateClientRequest) ProtoMessage() {}
-
-func (x *CreateClientRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[73]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use CreateClientRequest.ProtoReflect.Descriptor instead.
-func (*CreateClientRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{73}
-}
-
-func (x *CreateClientRequest) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *CreateClientRequest) GetDescription() string {
- if x != nil && x.Description != nil {
- return *x.Description
- }
- return ""
-}
-
-func (x *CreateClientRequest) GetAllowedScopes() []string {
- if x != nil {
- return x.AllowedScopes
- }
- return nil
-}
-
-// CreateClientResponse carries the created service account plus the
-// plaintext client_secret, returned exactly once. This is the ONLY admin
-// message with a secret field; RotateClientSecret reuses it.
-type CreateClientResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Client *Client `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"`
- ClientSecret string `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
-}
-
-func (x *CreateClientResponse) Reset() {
- *x = CreateClientResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[74]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *CreateClientResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*CreateClientResponse) ProtoMessage() {}
-
-func (x *CreateClientResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[74]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use CreateClientResponse.ProtoReflect.Descriptor instead.
-func (*CreateClientResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{74}
-}
-
-func (x *CreateClientResponse) GetClient() *Client {
- if x != nil {
- return x.Client
- }
- return nil
-}
-
-func (x *CreateClientResponse) GetClientSecret() string {
- if x != nil {
- return x.ClientSecret
- }
- return ""
-}
-
-// UpdateClientRequest mirrors model.UpdateClientRequest.
-// Nullable GraphQL inputs use proto3 `optional`. allowed_scopes, when non-empty,
-// replaces the scope set; the service rejects a set that normalizes to empty.
-type UpdateClientRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
- Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
- AllowedScopes []string `protobuf:"bytes,4,rep,name=allowed_scopes,json=allowedScopes,proto3" json:"allowed_scopes,omitempty"`
- IsActive *bool `protobuf:"varint,5,opt,name=is_active,json=isActive,proto3,oneof" json:"is_active,omitempty"`
-}
-
-func (x *UpdateClientRequest) Reset() {
- *x = UpdateClientRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[75]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *UpdateClientRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*UpdateClientRequest) ProtoMessage() {}
-
-func (x *UpdateClientRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[75]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use UpdateClientRequest.ProtoReflect.Descriptor instead.
-func (*UpdateClientRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{75}
-}
-
-func (x *UpdateClientRequest) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
-}
-
-func (x *UpdateClientRequest) GetName() string {
- if x != nil && x.Name != nil {
- return *x.Name
- }
- return ""
-}
-
-func (x *UpdateClientRequest) GetDescription() string {
- if x != nil && x.Description != nil {
- return *x.Description
- }
- return ""
-}
-
-func (x *UpdateClientRequest) GetAllowedScopes() []string {
- if x != nil {
- return x.AllowedScopes
- }
- return nil
-}
-
-func (x *UpdateClientRequest) GetIsActive() bool {
- if x != nil && x.IsActive != nil {
- return *x.IsActive
- }
- return false
-}
-
-type UpdateClientResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Client *Client `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"`
-}
-
-func (x *UpdateClientResponse) Reset() {
- *x = UpdateClientResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[76]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *UpdateClientResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*UpdateClientResponse) ProtoMessage() {}
-
-func (x *UpdateClientResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[76]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use UpdateClientResponse.ProtoReflect.Descriptor instead.
-func (*UpdateClientResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{76}
-}
-
-func (x *UpdateClientResponse) GetClient() *Client {
- if x != nil {
- return x.Client
- }
- return nil
-}
-
-// DeleteClientRequest mirrors model.ClientRequest (a single
-// service account id). Kept distinct from GetClientRequest and
-// RotateClientSecretRequest per buf's one-message-per-RPC rule.
-type DeleteClientRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
-}
-
-func (x *DeleteClientRequest) Reset() {
- *x = DeleteClientRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[77]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *DeleteClientRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*DeleteClientRequest) ProtoMessage() {}
-
-func (x *DeleteClientRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[77]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use DeleteClientRequest.ProtoReflect.Descriptor instead.
-func (*DeleteClientRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{77}
-}
-
-func (x *DeleteClientRequest) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
-}
-
-type DeleteClientResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
-}
-
-func (x *DeleteClientResponse) Reset() {
- *x = DeleteClientResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[78]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *DeleteClientResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*DeleteClientResponse) ProtoMessage() {}
-
-func (x *DeleteClientResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[78]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use DeleteClientResponse.ProtoReflect.Descriptor instead.
-func (*DeleteClientResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{78}
-}
-
-func (x *DeleteClientResponse) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
-}
-
-// RotateClientSecretRequest mirrors model.ClientRequest (a
-// single service account id). Kept distinct from DeleteClientRequest and
-// GetClientRequest per buf's one-message-per-RPC rule.
-type RotateClientSecretRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
-}
-
-func (x *RotateClientSecretRequest) Reset() {
- *x = RotateClientSecretRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[79]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *RotateClientSecretRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*RotateClientSecretRequest) ProtoMessage() {}
-
-func (x *RotateClientSecretRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[79]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use RotateClientSecretRequest.ProtoReflect.Descriptor instead.
-func (*RotateClientSecretRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{79}
-}
-
-func (x *RotateClientSecretRequest) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
-}
-
-// GetClientRequest mirrors model.ClientRequest (a single service
-// account id). Kept distinct from DeleteClientRequest and
-// RotateClientSecretRequest per buf's one-message-per-RPC rule.
-type GetClientRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
-}
-
-func (x *GetClientRequest) Reset() {
- *x = GetClientRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[80]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *GetClientRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*GetClientRequest) ProtoMessage() {}
-
-func (x *GetClientRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[80]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use GetClientRequest.ProtoReflect.Descriptor instead.
-func (*GetClientRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{80}
-}
-
-func (x *GetClientRequest) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
-}
-
-type GetClientResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Client *Client `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"`
-}
-
-func (x *GetClientResponse) Reset() {
- *x = GetClientResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[81]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *GetClientResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*GetClientResponse) ProtoMessage() {}
-
-func (x *GetClientResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[81]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use GetClientResponse.ProtoReflect.Descriptor instead.
-func (*GetClientResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{81}
-}
-
-func (x *GetClientResponse) GetClient() *Client {
- if x != nil {
- return x.Client
- }
- return nil
-}
-
-type ClientsRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Pagination *PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
-}
-
-func (x *ClientsRequest) Reset() {
- *x = ClientsRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[82]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *ClientsRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ClientsRequest) ProtoMessage() {}
-
-func (x *ClientsRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[82]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ClientsRequest.ProtoReflect.Descriptor instead.
-func (*ClientsRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{82}
-}
-
-func (x *ClientsRequest) GetPagination() *PaginationRequest {
- if x != nil {
- return x.Pagination
- }
- return nil
-}
-
-type ClientsResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Clients []*Client `protobuf:"bytes,1,rep,name=clients,proto3" json:"clients,omitempty"`
- Pagination *Pagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
-}
-
-func (x *ClientsResponse) Reset() {
- *x = ClientsResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[83]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *ClientsResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ClientsResponse) ProtoMessage() {}
-
-func (x *ClientsResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[83]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ClientsResponse.ProtoReflect.Descriptor instead.
-func (*ClientsResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{83}
-}
-
-func (x *ClientsResponse) GetClients() []*Client {
- if x != nil {
- return x.Clients
- }
- return nil
-}
-
-func (x *ClientsResponse) GetPagination() *Pagination {
- if x != nil {
- return x.Pagination
- }
- return nil
-}
-
-// TrustedIssuer mirrors model.TrustedIssuer field-for-field. It references its
-// parent via service_account_id (not app_id). Optional pointer fields collapse
-// to zero values on the wire.
-type TrustedIssuer struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- ServiceAccountId string `protobuf:"bytes,2,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
- Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
- IssuerUrl string `protobuf:"bytes,4,opt,name=issuer_url,json=issuerUrl,proto3" json:"issuer_url,omitempty"`
- KeySourceType string `protobuf:"bytes,5,opt,name=key_source_type,json=keySourceType,proto3" json:"key_source_type,omitempty"`
- JwksUrl string `protobuf:"bytes,6,opt,name=jwks_url,json=jwksUrl,proto3" json:"jwks_url,omitempty"`
- ExpectedAud string `protobuf:"bytes,7,opt,name=expected_aud,json=expectedAud,proto3" json:"expected_aud,omitempty"`
- SubjectClaim string `protobuf:"bytes,8,opt,name=subject_claim,json=subjectClaim,proto3" json:"subject_claim,omitempty"`
- IssuerType string `protobuf:"bytes,9,opt,name=issuer_type,json=issuerType,proto3" json:"issuer_type,omitempty"`
- IsActive bool `protobuf:"varint,10,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
- SpiffeRefreshHintSeconds int64 `protobuf:"varint,11,opt,name=spiffe_refresh_hint_seconds,json=spiffeRefreshHintSeconds,proto3" json:"spiffe_refresh_hint_seconds,omitempty"`
- CreatedAt int64 `protobuf:"varint,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
- UpdatedAt int64 `protobuf:"varint,13,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
- // allowed_subjects: comma-separated exact subject allow-list. Empty = deny-all.
- AllowedSubjects string `protobuf:"bytes,14,opt,name=allowed_subjects,json=allowedSubjects,proto3" json:"allowed_subjects,omitempty"`
-}
-
-func (x *TrustedIssuer) Reset() {
- *x = TrustedIssuer{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[84]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *TrustedIssuer) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*TrustedIssuer) ProtoMessage() {}
-
-func (x *TrustedIssuer) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[84]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use TrustedIssuer.ProtoReflect.Descriptor instead.
-func (*TrustedIssuer) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{84}
-}
-
-func (x *TrustedIssuer) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
-}
-
-func (x *TrustedIssuer) GetServiceAccountId() string {
- if x != nil {
- return x.ServiceAccountId
- }
- return ""
-}
-
-func (x *TrustedIssuer) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *TrustedIssuer) GetIssuerUrl() string {
- if x != nil {
- return x.IssuerUrl
- }
- return ""
-}
-
-func (x *TrustedIssuer) GetKeySourceType() string {
- if x != nil {
- return x.KeySourceType
- }
- return ""
-}
-
-func (x *TrustedIssuer) GetJwksUrl() string {
- if x != nil {
- return x.JwksUrl
- }
- return ""
-}
-
-func (x *TrustedIssuer) GetExpectedAud() string {
- if x != nil {
- return x.ExpectedAud
- }
- return ""
-}
-
-func (x *TrustedIssuer) GetSubjectClaim() string {
- if x != nil {
- return x.SubjectClaim
- }
- return ""
-}
-
-func (x *TrustedIssuer) GetIssuerType() string {
- if x != nil {
- return x.IssuerType
- }
- return ""
-}
-
-func (x *TrustedIssuer) GetIsActive() bool {
- if x != nil {
- return x.IsActive
- }
- return false
-}
-
-func (x *TrustedIssuer) GetSpiffeRefreshHintSeconds() int64 {
- if x != nil {
- return x.SpiffeRefreshHintSeconds
- }
- return 0
-}
-
-func (x *TrustedIssuer) GetCreatedAt() int64 {
- if x != nil {
- return x.CreatedAt
- }
- return 0
-}
-
-func (x *TrustedIssuer) GetUpdatedAt() int64 {
- if x != nil {
- return x.UpdatedAt
- }
- return 0
-}
-
-func (x *TrustedIssuer) GetAllowedSubjects() string {
- if x != nil {
- return x.AllowedSubjects
- }
- return ""
-}
-
-// AddTrustedIssuerRequest mirrors model.AddTrustedIssuerRequest. jwks_url,
-// subject_claim, and spiffe_refresh_hint_seconds are optional; subject_claim
-// defaults to "sub" when unset.
-type AddTrustedIssuerRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- ServiceAccountId string `protobuf:"bytes,1,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
- IssuerUrl string `protobuf:"bytes,3,opt,name=issuer_url,json=issuerUrl,proto3" json:"issuer_url,omitempty"`
- KeySourceType string `protobuf:"bytes,4,opt,name=key_source_type,json=keySourceType,proto3" json:"key_source_type,omitempty"`
- JwksUrl *string `protobuf:"bytes,5,opt,name=jwks_url,json=jwksUrl,proto3,oneof" json:"jwks_url,omitempty"`
- ExpectedAud string `protobuf:"bytes,6,opt,name=expected_aud,json=expectedAud,proto3" json:"expected_aud,omitempty"`
- SubjectClaim *string `protobuf:"bytes,7,opt,name=subject_claim,json=subjectClaim,proto3,oneof" json:"subject_claim,omitempty"`
- IssuerType string `protobuf:"bytes,8,opt,name=issuer_type,json=issuerType,proto3" json:"issuer_type,omitempty"`
- SpiffeRefreshHintSeconds *int64 `protobuf:"varint,9,opt,name=spiffe_refresh_hint_seconds,json=spiffeRefreshHintSeconds,proto3,oneof" json:"spiffe_refresh_hint_seconds,omitempty"`
- // allowed_subjects: comma-separated exact subject allow-list. Omitted = deny-all.
- AllowedSubjects *string `protobuf:"bytes,10,opt,name=allowed_subjects,json=allowedSubjects,proto3,oneof" json:"allowed_subjects,omitempty"`
-}
-
-func (x *AddTrustedIssuerRequest) Reset() {
- *x = AddTrustedIssuerRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[85]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *AddTrustedIssuerRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*AddTrustedIssuerRequest) ProtoMessage() {}
-
-func (x *AddTrustedIssuerRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[85]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use AddTrustedIssuerRequest.ProtoReflect.Descriptor instead.
-func (*AddTrustedIssuerRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{85}
-}
-
-func (x *AddTrustedIssuerRequest) GetServiceAccountId() string {
- if x != nil {
- return x.ServiceAccountId
- }
- return ""
-}
-
-func (x *AddTrustedIssuerRequest) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
-}
-
-func (x *AddTrustedIssuerRequest) GetIssuerUrl() string {
- if x != nil {
- return x.IssuerUrl
- }
- return ""
-}
-
-func (x *AddTrustedIssuerRequest) GetKeySourceType() string {
- if x != nil {
- return x.KeySourceType
- }
- return ""
-}
-
-func (x *AddTrustedIssuerRequest) GetJwksUrl() string {
- if x != nil && x.JwksUrl != nil {
- return *x.JwksUrl
- }
- return ""
-}
-
-func (x *AddTrustedIssuerRequest) GetExpectedAud() string {
- if x != nil {
- return x.ExpectedAud
- }
- return ""
-}
-
-func (x *AddTrustedIssuerRequest) GetSubjectClaim() string {
- if x != nil && x.SubjectClaim != nil {
- return *x.SubjectClaim
- }
- return ""
-}
-
-func (x *AddTrustedIssuerRequest) GetIssuerType() string {
- if x != nil {
- return x.IssuerType
- }
- return ""
-}
-
-func (x *AddTrustedIssuerRequest) GetSpiffeRefreshHintSeconds() int64 {
- if x != nil && x.SpiffeRefreshHintSeconds != nil {
- return *x.SpiffeRefreshHintSeconds
- }
- return 0
-}
-
-func (x *AddTrustedIssuerRequest) GetAllowedSubjects() string {
- if x != nil && x.AllowedSubjects != nil {
- return *x.AllowedSubjects
- }
- return ""
-}
-
-type AddTrustedIssuerResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- TrustedIssuer *TrustedIssuer `protobuf:"bytes,1,opt,name=trusted_issuer,json=trustedIssuer,proto3" json:"trusted_issuer,omitempty"`
-}
-
-func (x *AddTrustedIssuerResponse) Reset() {
- *x = AddTrustedIssuerResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[86]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *AddTrustedIssuerResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*AddTrustedIssuerResponse) ProtoMessage() {}
-
-func (x *AddTrustedIssuerResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[86]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use AddTrustedIssuerResponse.ProtoReflect.Descriptor instead.
-func (*AddTrustedIssuerResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{86}
-}
-
-func (x *AddTrustedIssuerResponse) GetTrustedIssuer() *TrustedIssuer {
- if x != nil {
- return x.TrustedIssuer
- }
- return nil
-}
-
-// UpdateTrustedIssuerRequest mirrors model.UpdateTrustedIssuerRequest. Nullable
-// GraphQL inputs use proto3 `optional` so an unset field is distinguishable from
-// an empty value.
-type UpdateTrustedIssuerRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
- JwksUrl *string `protobuf:"bytes,3,opt,name=jwks_url,json=jwksUrl,proto3,oneof" json:"jwks_url,omitempty"`
- ExpectedAud *string `protobuf:"bytes,4,opt,name=expected_aud,json=expectedAud,proto3,oneof" json:"expected_aud,omitempty"`
- IsActive *bool `protobuf:"varint,5,opt,name=is_active,json=isActive,proto3,oneof" json:"is_active,omitempty"`
- SpiffeRefreshHintSeconds *int64 `protobuf:"varint,6,opt,name=spiffe_refresh_hint_seconds,json=spiffeRefreshHintSeconds,proto3,oneof" json:"spiffe_refresh_hint_seconds,omitempty"`
- // allowed_subjects: comma-separated exact subject allow-list. Empty = deny-all.
- AllowedSubjects *string `protobuf:"bytes,7,opt,name=allowed_subjects,json=allowedSubjects,proto3,oneof" json:"allowed_subjects,omitempty"`
-}
-
-func (x *UpdateTrustedIssuerRequest) Reset() {
- *x = UpdateTrustedIssuerRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[87]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *UpdateTrustedIssuerRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*UpdateTrustedIssuerRequest) ProtoMessage() {}
-
-func (x *UpdateTrustedIssuerRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[87]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use UpdateTrustedIssuerRequest.ProtoReflect.Descriptor instead.
-func (*UpdateTrustedIssuerRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{87}
-}
-
-func (x *UpdateTrustedIssuerRequest) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
-}
-
-func (x *UpdateTrustedIssuerRequest) GetName() string {
- if x != nil && x.Name != nil {
- return *x.Name
- }
- return ""
-}
-
-func (x *UpdateTrustedIssuerRequest) GetJwksUrl() string {
- if x != nil && x.JwksUrl != nil {
- return *x.JwksUrl
- }
- return ""
-}
-
-func (x *UpdateTrustedIssuerRequest) GetExpectedAud() string {
- if x != nil && x.ExpectedAud != nil {
- return *x.ExpectedAud
- }
- return ""
-}
-
-func (x *UpdateTrustedIssuerRequest) GetIsActive() bool {
- if x != nil && x.IsActive != nil {
- return *x.IsActive
- }
- return false
-}
-
-func (x *UpdateTrustedIssuerRequest) GetSpiffeRefreshHintSeconds() int64 {
- if x != nil && x.SpiffeRefreshHintSeconds != nil {
- return *x.SpiffeRefreshHintSeconds
- }
- return 0
-}
-
-func (x *UpdateTrustedIssuerRequest) GetAllowedSubjects() string {
- if x != nil && x.AllowedSubjects != nil {
- return *x.AllowedSubjects
- }
- return ""
-}
-
-type UpdateTrustedIssuerResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- TrustedIssuer *TrustedIssuer `protobuf:"bytes,1,opt,name=trusted_issuer,json=trustedIssuer,proto3" json:"trusted_issuer,omitempty"`
-}
-
-func (x *UpdateTrustedIssuerResponse) Reset() {
- *x = UpdateTrustedIssuerResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[88]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *UpdateTrustedIssuerResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*UpdateTrustedIssuerResponse) ProtoMessage() {}
-
-func (x *UpdateTrustedIssuerResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[88]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use UpdateTrustedIssuerResponse.ProtoReflect.Descriptor instead.
-func (*UpdateTrustedIssuerResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{88}
-}
-
-func (x *UpdateTrustedIssuerResponse) GetTrustedIssuer() *TrustedIssuer {
- if x != nil {
- return x.TrustedIssuer
- }
- return nil
-}
-
-// DeleteTrustedIssuerRequest mirrors model.TrustedIssuerRequest (a single
-// trusted issuer id). Kept distinct from GetTrustedIssuerRequest per buf's
-// one-message-per-RPC rule.
-type DeleteTrustedIssuerRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
-}
-
-func (x *DeleteTrustedIssuerRequest) Reset() {
- *x = DeleteTrustedIssuerRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[89]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *DeleteTrustedIssuerRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*DeleteTrustedIssuerRequest) ProtoMessage() {}
-
-func (x *DeleteTrustedIssuerRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[89]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use DeleteTrustedIssuerRequest.ProtoReflect.Descriptor instead.
-func (*DeleteTrustedIssuerRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{89}
-}
-
-func (x *DeleteTrustedIssuerRequest) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
-}
-
-type DeleteTrustedIssuerResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
-}
-
-func (x *DeleteTrustedIssuerResponse) Reset() {
- *x = DeleteTrustedIssuerResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[90]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *DeleteTrustedIssuerResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*DeleteTrustedIssuerResponse) ProtoMessage() {}
-
-func (x *DeleteTrustedIssuerResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[90]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use DeleteTrustedIssuerResponse.ProtoReflect.Descriptor instead.
-func (*DeleteTrustedIssuerResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{90}
-}
-
-func (x *DeleteTrustedIssuerResponse) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
-}
-
-// GetTrustedIssuerRequest mirrors model.TrustedIssuerRequest (a single trusted
-// issuer id). Kept distinct from DeleteTrustedIssuerRequest per buf's
-// one-message-per-RPC rule.
-type GetTrustedIssuerRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
-}
-
-func (x *GetTrustedIssuerRequest) Reset() {
- *x = GetTrustedIssuerRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[91]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *GetTrustedIssuerRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*GetTrustedIssuerRequest) ProtoMessage() {}
-
-func (x *GetTrustedIssuerRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[91]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use GetTrustedIssuerRequest.ProtoReflect.Descriptor instead.
-func (*GetTrustedIssuerRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{91}
-}
-
-func (x *GetTrustedIssuerRequest) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
-}
-
-type GetTrustedIssuerResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- TrustedIssuer *TrustedIssuer `protobuf:"bytes,1,opt,name=trusted_issuer,json=trustedIssuer,proto3" json:"trusted_issuer,omitempty"`
-}
-
-func (x *GetTrustedIssuerResponse) Reset() {
- *x = GetTrustedIssuerResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[92]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *GetTrustedIssuerResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*GetTrustedIssuerResponse) ProtoMessage() {}
-
-func (x *GetTrustedIssuerResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[92]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use GetTrustedIssuerResponse.ProtoReflect.Descriptor instead.
-func (*GetTrustedIssuerResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{92}
-}
-
-func (x *GetTrustedIssuerResponse) GetTrustedIssuer() *TrustedIssuer {
- if x != nil {
- return x.TrustedIssuer
- }
- return nil
-}
-
-// TrustedIssuersRequest mirrors model.ListTrustedIssuersRequest.
-// service_account_id is optional; when unset issuers for all accounts are
-// returned.
-type TrustedIssuersRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Pagination *PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
- ServiceAccountId *string `protobuf:"bytes,2,opt,name=service_account_id,json=serviceAccountId,proto3,oneof" json:"service_account_id,omitempty"`
-}
-
-func (x *TrustedIssuersRequest) Reset() {
- *x = TrustedIssuersRequest{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[93]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *TrustedIssuersRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*TrustedIssuersRequest) ProtoMessage() {}
-
-func (x *TrustedIssuersRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[93]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use TrustedIssuersRequest.ProtoReflect.Descriptor instead.
-func (*TrustedIssuersRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{93}
-}
-
-func (x *TrustedIssuersRequest) GetPagination() *PaginationRequest {
- if x != nil {
- return x.Pagination
- }
- return nil
-}
-
-func (x *TrustedIssuersRequest) GetServiceAccountId() string {
- if x != nil && x.ServiceAccountId != nil {
- return *x.ServiceAccountId
- }
- return ""
-}
-
-type TrustedIssuersResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- TrustedIssuers []*TrustedIssuer `protobuf:"bytes,1,rep,name=trusted_issuers,json=trustedIssuers,proto3" json:"trusted_issuers,omitempty"`
- Pagination *Pagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
-}
-
-func (x *TrustedIssuersResponse) Reset() {
- *x = TrustedIssuersResponse{}
- mi := &file_authorizer_v1_admin_proto_msgTypes[94]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *TrustedIssuersResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*TrustedIssuersResponse) ProtoMessage() {}
-
-func (x *TrustedIssuersResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_admin_proto_msgTypes[94]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use TrustedIssuersResponse.ProtoReflect.Descriptor instead.
-func (*TrustedIssuersResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_admin_proto_rawDescGZIP(), []int{94}
-}
-
-func (x *TrustedIssuersResponse) GetTrustedIssuers() []*TrustedIssuer {
- if x != nil {
- return x.TrustedIssuers
- }
- return nil
-}
-
-func (x *TrustedIssuersResponse) GetPagination() *Pagination {
- if x != nil {
- return x.Pagination
- }
- return nil
-}
-
-var File_authorizer_v1_admin_proto protoreflect.FileDescriptor
-
-var file_authorizer_v1_admin_proto_rawDesc = []byte{
- 0x0a, 0x19, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f,
- 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x61, 0x75, 0x74,
- 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x61, 0x75, 0x74, 0x68,
- 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x61, 0x75, 0x74,
- 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
- 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69,
- 0x7a, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69,
- 0x7a, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x1a, 0x1b, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65,
- 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
- 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f,
- 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3f, 0x0a,
- 0x11, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x0c, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x73, 0x65, 0x63, 0x72,
- 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10,
- 0x01, 0x52, 0x0b, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x2e,
- 0x0a, 0x12, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70,
- 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x14,
- 0x0a, 0x12, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71,
- 0x75, 0x65, 0x73, 0x74, 0x22, 0x2f, 0x0a, 0x13, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4c, 0x6f, 0x67,
- 0x6f, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d,
- 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65,
- 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x15, 0x0a, 0x13, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x53, 0x65,
- 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x30, 0x0a, 0x14,
- 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70,
- 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x12,
- 0x0a, 0x10, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x22, 0x4c, 0x0a, 0x11, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x52,
- 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x0a, 0x61, 0x64, 0x6d, 0x69, 0x6e,
- 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x61, 0x75,
- 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x6d, 0x69,
- 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x09, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x4d, 0x65, 0x74, 0x61,
- 0x22, 0x6f, 0x0a, 0x09, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x14, 0x0a,
- 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x72, 0x6f,
- 0x6c, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x72,
- 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x65, 0x66, 0x61,
- 0x75, 0x6c, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x74,
- 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28,
- 0x09, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x6f, 0x6c, 0x65,
- 0x73, 0x22, 0x50, 0x0a, 0x0c, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x12, 0x40, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a,
- 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x22, 0x75, 0x0a, 0x0d, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70,
- 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20,
- 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72,
- 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x12,
- 0x39, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72,
- 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a,
- 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x33, 0x0a, 0x0b, 0x55, 0x73,
- 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61,
- 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x22,
- 0x37, 0x0a, 0x0c, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
- 0x27, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e,
- 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73,
- 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x9c, 0x06, 0x0a, 0x11, 0x55, 0x70, 0x64,
- 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17,
- 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72,
- 0x02, 0x10, 0x01, 0x52, 0x02, 0x69, 0x64, 0x12, 0x19, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x88,
- 0x01, 0x01, 0x12, 0x2a, 0x0a, 0x0e, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x69,
- 0x66, 0x69, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x48, 0x01, 0x52, 0x0d, 0x65, 0x6d,
- 0x61, 0x69, 0x6c, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x88, 0x01, 0x01, 0x12, 0x22,
- 0x0a, 0x0a, 0x67, 0x69, 0x76, 0x65, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01,
- 0x28, 0x09, 0x48, 0x02, 0x52, 0x09, 0x67, 0x69, 0x76, 0x65, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x88,
- 0x01, 0x01, 0x12, 0x24, 0x0a, 0x0b, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x5f, 0x6e, 0x61, 0x6d,
- 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x03, 0x52, 0x0a, 0x66, 0x61, 0x6d, 0x69, 0x6c,
- 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x24, 0x0a, 0x0b, 0x6d, 0x69, 0x64, 0x64,
- 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x04, 0x52,
- 0x0a, 0x6d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x1f,
- 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09,
- 0x48, 0x05, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12,
- 0x1b, 0x0a, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x48,
- 0x06, 0x52, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x88, 0x01, 0x01, 0x12, 0x21, 0x0a, 0x09,
- 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x48,
- 0x07, 0x52, 0x09, 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x74, 0x65, 0x88, 0x01, 0x01, 0x12,
- 0x26, 0x0a, 0x0c, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18,
- 0x0a, 0x20, 0x01, 0x28, 0x09, 0x48, 0x08, 0x52, 0x0b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75,
- 0x6d, 0x62, 0x65, 0x72, 0x88, 0x01, 0x01, 0x12, 0x37, 0x0a, 0x15, 0x70, 0x68, 0x6f, 0x6e, 0x65,
- 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64,
- 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x48, 0x09, 0x52, 0x13, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4e,
- 0x75, 0x6d, 0x62, 0x65, 0x72, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x88, 0x01, 0x01,
- 0x12, 0x1d, 0x0a, 0x07, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28,
- 0x09, 0x48, 0x0a, 0x52, 0x07, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x88, 0x01, 0x01, 0x12,
- 0x14, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05,
- 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x43, 0x0a, 0x1c, 0x69, 0x73, 0x5f, 0x6d, 0x75, 0x6c, 0x74,
- 0x69, 0x5f, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x65, 0x6e,
- 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x48, 0x0b, 0x52, 0x18, 0x69,
- 0x73, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x41, 0x75, 0x74, 0x68,
- 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x88, 0x01, 0x01, 0x12, 0x31, 0x0a, 0x08, 0x61, 0x70,
- 0x70, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x61,
- 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x70,
- 0x44, 0x61, 0x74, 0x61, 0x52, 0x07, 0x61, 0x70, 0x70, 0x44, 0x61, 0x74, 0x61, 0x42, 0x08, 0x0a,
- 0x06, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x65, 0x6d, 0x61, 0x69,
- 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x67,
- 0x69, 0x76, 0x65, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x66, 0x61,
- 0x6d, 0x69, 0x6c, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x6d, 0x69,
- 0x64, 0x64, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x6e, 0x69,
- 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x67, 0x65, 0x6e, 0x64, 0x65,
- 0x72, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x74, 0x65, 0x42,
- 0x0f, 0x0a, 0x0d, 0x5f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72,
- 0x42, 0x18, 0x0a, 0x16, 0x5f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65,
- 0x72, 0x5f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x70,
- 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x42, 0x1f, 0x0a, 0x1d, 0x5f, 0x69, 0x73, 0x5f, 0x6d, 0x75,
- 0x6c, 0x74, 0x69, 0x5f, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x5f,
- 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x22, 0x3d, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74,
- 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a,
- 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x61, 0x75,
- 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72,
- 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x32, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
- 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x05, 0x65,
- 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72,
- 0x02, 0x10, 0x01, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x22, 0x2e, 0x0a, 0x12, 0x44, 0x65,
- 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
- 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x5f, 0x0a, 0x1b, 0x56, 0x65,
- 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x0a, 0x70, 0x61, 0x67,
- 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e,
- 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61,
- 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52,
- 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xb2, 0x01, 0x0a, 0x1c,
- 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x15,
- 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x71,
- 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x61, 0x75,
- 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x69,
- 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52,
- 0x14, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71,
- 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x39, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x61, 0x75, 0x74, 0x68,
- 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x22, 0x82, 0x02, 0x0a, 0x13, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e,
- 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x64,
- 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65,
- 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x14,
- 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65,
- 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x18,
- 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x12, 0x1d,
- 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01,
- 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a,
- 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28,
- 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x14, 0x0a, 0x05,
- 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x6f, 0x6e,
- 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x5f, 0x75,
- 0x72, 0x69, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65,
- 0x63, 0x74, 0x55, 0x72, 0x69, 0x22, 0x37, 0x0a, 0x13, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x41,
- 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x07,
- 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba,
- 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x30,
- 0x0a, 0x14, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65,
- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
- 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
- 0x22, 0x37, 0x0a, 0x13, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73,
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f,
- 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10,
- 0x01, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x30, 0x0a, 0x14, 0x45, 0x6e, 0x61,
- 0x62, 0x6c, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
- 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x67, 0x0a, 0x14, 0x49,
- 0x6e, 0x76, 0x69, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x01, 0x20,
- 0x03, 0x28, 0x09, 0x52, 0x06, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x26, 0x0a, 0x0c, 0x72,
- 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x09, 0x48, 0x00, 0x52, 0x0b, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x55, 0x72, 0x69,
- 0x88, 0x01, 0x01, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74,
- 0x5f, 0x75, 0x72, 0x69, 0x22, 0x5c, 0x0a, 0x15, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x4d, 0x65,
- 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a,
- 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
- 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x29, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73,
- 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69,
- 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x05, 0x75, 0x73, 0x65,
- 0x72, 0x73, 0x22, 0x8b, 0x02, 0x0a, 0x07, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x0e,
- 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d,
- 0x0a, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x09, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2b, 0x0a,
- 0x11, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x44,
- 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e,
- 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e,
- 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65,
- 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
- 0x12, 0x30, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x16, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76,
- 0x31, 0x2e, 0x41, 0x70, 0x70, 0x44, 0x61, 0x74, 0x61, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65,
- 0x72, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74,
- 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41,
- 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18,
- 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74,
- 0x22, 0xd0, 0x01, 0x0a, 0x0a, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x4c, 0x6f, 0x67, 0x12,
- 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12,
- 0x1f, 0x0a, 0x0b, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x68, 0x74, 0x74, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
- 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07,
- 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f,
- 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x77, 0x65, 0x62, 0x68,
- 0x6f, 0x6f, 0x6b, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
- 0x5f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74,
- 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f,
- 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
- 0x64, 0x41, 0x74, 0x22, 0xf4, 0x01, 0x0a, 0x11, 0x41, 0x64, 0x64, 0x57, 0x65, 0x62, 0x68, 0x6f,
- 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0a, 0x65, 0x76, 0x65,
- 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba,
- 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x09, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d,
- 0x65, 0x12, 0x30, 0x0a, 0x11, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72,
- 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x10,
- 0x65, 0x76, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x88, 0x01, 0x01, 0x12, 0x23, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x08,
- 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62,
- 0x6c, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c,
- 0x65, 0x64, 0x12, 0x30, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x05, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72,
- 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x70, 0x44, 0x61, 0x74, 0x61, 0x52, 0x07, 0x68, 0x65, 0x61,
- 0x64, 0x65, 0x72, 0x73, 0x42, 0x14, 0x0a, 0x12, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x64,
- 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x2e, 0x0a, 0x12, 0x41, 0x64,
- 0x64, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
- 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xb5, 0x02, 0x0a, 0x14, 0x55,
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
- 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x02, 0x69, 0x64, 0x12, 0x22, 0x0a, 0x0a,
- 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
- 0x48, 0x00, 0x52, 0x09, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01,
- 0x12, 0x30, 0x0a, 0x11, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x10, 0x65,
- 0x76, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88,
- 0x01, 0x01, 0x12, 0x1f, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x04,
- 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74,
- 0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x05,
- 0x20, 0x01, 0x28, 0x08, 0x48, 0x03, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x88,
- 0x01, 0x01, 0x12, 0x30, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x06, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72,
- 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x70, 0x44, 0x61, 0x74, 0x61, 0x52, 0x07, 0x68, 0x65, 0x61,
- 0x64, 0x65, 0x72, 0x73, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x6e,
- 0x61, 0x6d, 0x65, 0x42, 0x14, 0x0a, 0x12, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x65,
- 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x65, 0x6e,
- 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c,
- 0x65, 0x64, 0x22, 0x31, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x65, 0x62, 0x68,
- 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d,
- 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65,
- 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x2f, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x57,
- 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a,
- 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02,
- 0x10, 0x01, 0x52, 0x02, 0x69, 0x64, 0x22, 0x31, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
- 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
- 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x2c, 0x0a, 0x11, 0x47, 0x65, 0x74,
- 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17,
- 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72,
- 0x02, 0x10, 0x01, 0x52, 0x02, 0x69, 0x64, 0x22, 0x46, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x57, 0x65,
- 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a,
- 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16,
- 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x57,
- 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x22,
- 0x53, 0x0a, 0x0f, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x12, 0x40, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69,
- 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x81, 0x01, 0x0a, 0x10, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b,
- 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a, 0x08, 0x77, 0x65, 0x62,
- 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x61, 0x75,
- 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68,
- 0x6f, 0x6f, 0x6b, 0x52, 0x08, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x12, 0x39, 0x0a,
- 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x19, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76,
- 0x31, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x61,
- 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x89, 0x01, 0x0a, 0x12, 0x57, 0x65, 0x62,
- 0x68, 0x6f, 0x6f, 0x6b, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
- 0x40, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72,
- 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65,
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x12, 0x22, 0x0a, 0x0a, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x5f, 0x69, 0x64, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b,
- 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f,
- 0x6b, 0x5f, 0x69, 0x64, 0x22, 0x8e, 0x01, 0x0a, 0x13, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b,
- 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x0c,
- 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x5f, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03,
- 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e,
- 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x4c, 0x6f, 0x67, 0x52, 0x0b, 0x77,
- 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x39, 0x0a, 0x0a, 0x70, 0x61,
- 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19,
- 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50,
- 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xdc, 0x01, 0x0a, 0x13, 0x54, 0x65, 0x73, 0x74, 0x45, 0x6e,
- 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a,
- 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
- 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69,
- 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52,
- 0x09, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x11, 0x65, 0x76,
- 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x10, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x44, 0x65,
- 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x30, 0x0a, 0x07,
- 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e,
- 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70,
- 0x70, 0x44, 0x61, 0x74, 0x61, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x42, 0x14,
- 0x0a, 0x12, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x53, 0x0a, 0x14, 0x54, 0x65, 0x73, 0x74, 0x45, 0x6e, 0x64, 0x70,
- 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b,
- 0x68, 0x74, 0x74, 0x70, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x03, 0x52, 0x0a, 0x68, 0x74, 0x74, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1a, 0x0a,
- 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xca, 0x01, 0x0a, 0x0d, 0x45, 0x6d,
- 0x61, 0x69, 0x6c, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69,
- 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x65,
- 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x09, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x65,
- 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x65,
- 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x73, 0x69, 0x67, 0x6e,
- 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x12, 0x18,
- 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61,
- 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72,
- 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74,
- 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64,
- 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0xb1, 0x01, 0x0a, 0x17, 0x41, 0x64, 0x64, 0x45, 0x6d,
- 0x61, 0x69, 0x6c, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52,
- 0x09, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x07, 0x73, 0x75,
- 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04,
- 0x72, 0x02, 0x10, 0x01, 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x23, 0x0a,
- 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42,
- 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61,
- 0x74, 0x65, 0x12, 0x1b, 0x0a, 0x06, 0x64, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x18, 0x04, 0x20, 0x01,
- 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x64, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x88, 0x01, 0x01, 0x42,
- 0x09, 0x0a, 0x07, 0x5f, 0x64, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x22, 0x34, 0x0a, 0x18, 0x41, 0x64,
- 0x64, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65,
- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
- 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
- 0x22, 0xe9, 0x01, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6d, 0x61, 0x69, 0x6c,
- 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
- 0x17, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04,
- 0x72, 0x02, 0x10, 0x01, 0x52, 0x02, 0x69, 0x64, 0x12, 0x22, 0x0a, 0x0a, 0x65, 0x76, 0x65, 0x6e,
- 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09,
- 0x65, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x1f, 0x0a, 0x08,
- 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01,
- 0x52, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a,
- 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02,
- 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06,
- 0x64, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x03, 0x52, 0x06,
- 0x64, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x65, 0x76,
- 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x74, 0x65, 0x6d,
- 0x70, 0x6c, 0x61, 0x74, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63,
- 0x74, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x64, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x22, 0x37, 0x0a, 0x1b,
- 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x54, 0x65, 0x6d, 0x70, 0x6c,
- 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d,
- 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65,
- 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x35, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x45,
- 0x6d, 0x61, 0x69, 0x6c, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
- 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x02, 0x69, 0x64, 0x22, 0x37, 0x0a, 0x1b,
- 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x54, 0x65, 0x6d, 0x70, 0x6c,
- 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d,
- 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65,
- 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x59, 0x0a, 0x15, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x54, 0x65,
- 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40,
- 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e,
- 0x76, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71,
- 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x22, 0x9a, 0x01, 0x0a, 0x16, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61,
- 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x0f, 0x65,
- 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x18, 0x01,
- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65,
- 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61,
- 0x74, 0x65, 0x52, 0x0e, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74,
- 0x65, 0x73, 0x12, 0x39, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69,
- 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xcc, 0x02,
- 0x0a, 0x08, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x63,
- 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x63,
- 0x74, 0x6f, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x74,
- 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x63, 0x74, 0x6f, 0x72,
- 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x65, 0x6d,
- 0x61, 0x69, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x6f, 0x72,
- 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18,
- 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a,
- 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79,
- 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69,
- 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
- 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x70, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73,
- 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65,
- 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74,
- 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e,
- 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0a, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1d, 0x0a,
- 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28,
- 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x93, 0x03, 0x0a,
- 0x10, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x12, 0x40, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a,
- 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01,
- 0x12, 0x1e, 0x0a, 0x08, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01,
- 0x28, 0x09, 0x48, 0x01, 0x52, 0x07, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x88, 0x01, 0x01,
- 0x12, 0x28, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70,
- 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75,
- 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x88, 0x01, 0x01, 0x12, 0x24, 0x0a, 0x0b, 0x72, 0x65,
- 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48,
- 0x03, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x88, 0x01, 0x01,
- 0x12, 0x2a, 0x0a, 0x0e, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
- 0x6d, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x48, 0x04, 0x52, 0x0d, 0x66, 0x72, 0x6f, 0x6d,
- 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x88, 0x01, 0x01, 0x12, 0x26, 0x0a, 0x0c,
- 0x74, 0x6f, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x07, 0x20, 0x01,
- 0x28, 0x03, 0x48, 0x05, 0x52, 0x0b, 0x74, 0x6f, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
- 0x70, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42,
- 0x0b, 0x0a, 0x09, 0x5f, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x42, 0x10, 0x0a, 0x0e,
- 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x42, 0x0e,
- 0x0a, 0x0c, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x42, 0x11,
- 0x0a, 0x0f, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
- 0x70, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x74, 0x6f, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
- 0x6d, 0x70, 0x22, 0x86, 0x01, 0x0a, 0x11, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x73,
- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x0a, 0x61, 0x75, 0x64, 0x69,
- 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61,
- 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x64,
- 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x52, 0x09, 0x61, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x73,
- 0x12, 0x39, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65,
- 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
- 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x2c, 0x0a, 0x08, 0x46,
- 0x67, 0x61, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x73, 0x6c, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x64, 0x73, 0x6c, 0x22, 0x52, 0x0a, 0x08, 0x46, 0x67, 0x61,
- 0x54, 0x75, 0x70, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x6c,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x6c,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x14, 0x0a,
- 0x12, 0x46, 0x67, 0x61, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x22, 0x44, 0x0a, 0x13, 0x46, 0x67, 0x61, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64,
- 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x05, 0x6d, 0x6f,
- 0x64, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x75, 0x74, 0x68,
- 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x67, 0x61, 0x4d, 0x6f, 0x64,
- 0x65, 0x6c, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x22, 0x31, 0x0a, 0x14, 0x46, 0x67, 0x61,
- 0x57, 0x72, 0x69, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x12, 0x19, 0x0a, 0x03, 0x64, 0x73, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07,
- 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x03, 0x64, 0x73, 0x6c, 0x22, 0x46, 0x0a, 0x15,
- 0x46, 0x67, 0x61, 0x57, 0x72, 0x69, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x73,
- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65,
- 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x67, 0x61, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x05, 0x6d,
- 0x6f, 0x64, 0x65, 0x6c, 0x22, 0x4d, 0x0a, 0x15, 0x46, 0x67, 0x61, 0x57, 0x72, 0x69, 0x74, 0x65,
- 0x54, 0x75, 0x70, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a,
- 0x06, 0x74, 0x75, 0x70, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e,
- 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x67,
- 0x61, 0x54, 0x75, 0x70, 0x6c, 0x65, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x52, 0x06, 0x74, 0x75, 0x70,
- 0x6c, 0x65, 0x73, 0x22, 0x32, 0x0a, 0x16, 0x46, 0x67, 0x61, 0x57, 0x72, 0x69, 0x74, 0x65, 0x54,
- 0x75, 0x70, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a,
- 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
- 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x4e, 0x0a, 0x16, 0x46, 0x67, 0x61, 0x44, 0x65,
- 0x6c, 0x65, 0x74, 0x65, 0x54, 0x75, 0x70, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x12, 0x34, 0x0a, 0x06, 0x74, 0x75, 0x70, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
- 0x0b, 0x32, 0x1c, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76,
- 0x31, 0x2e, 0x46, 0x67, 0x61, 0x54, 0x75, 0x70, 0x6c, 0x65, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x52,
- 0x06, 0x74, 0x75, 0x70, 0x6c, 0x65, 0x73, 0x22, 0x33, 0x0a, 0x17, 0x46, 0x67, 0x61, 0x44, 0x65,
- 0x6c, 0x65, 0x74, 0x65, 0x54, 0x75, 0x70, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
- 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x89, 0x02, 0x0a,
- 0x14, 0x46, 0x67, 0x61, 0x52, 0x65, 0x61, 0x64, 0x54, 0x75, 0x70, 0x6c, 0x65, 0x73, 0x52, 0x65,
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x88, 0x01, 0x01, 0x12, 0x1f,
- 0x0a, 0x08, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
- 0x48, 0x01, 0x52, 0x08, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12,
- 0x1b, 0x0a, 0x06, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48,
- 0x02, 0x52, 0x06, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x88, 0x01, 0x01, 0x12, 0x20, 0x0a, 0x09,
- 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x48,
- 0x03, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x88, 0x01, 0x01, 0x12, 0x32,
- 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74,
- 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x04, 0x52, 0x11, 0x63, 0x6f,
- 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x88,
- 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x42, 0x0b, 0x0a, 0x09, 0x5f,
- 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x6f, 0x62, 0x6a,
- 0x65, 0x63, 0x74, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a,
- 0x65, 0x42, 0x15, 0x0a, 0x13, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x93, 0x01, 0x0a, 0x15, 0x46, 0x67, 0x61,
- 0x52, 0x65, 0x61, 0x64, 0x54, 0x75, 0x70, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
- 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x74, 0x75, 0x70, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03,
- 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e,
- 0x76, 0x31, 0x2e, 0x46, 0x67, 0x61, 0x54, 0x75, 0x70, 0x6c, 0x65, 0x52, 0x06, 0x74, 0x75, 0x70,
- 0x6c, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48,
- 0x00, 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54,
- 0x6f, 0x6b, 0x65, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x15, 0x0a, 0x13, 0x5f, 0x63, 0x6f, 0x6e, 0x74,
- 0x69, 0x6e, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x81,
- 0x01, 0x0a, 0x13, 0x46, 0x67, 0x61, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x06, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52,
- 0x06, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x08, 0x72, 0x65, 0x6c, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02,
- 0x10, 0x01, 0x52, 0x08, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x09,
- 0x75, 0x73, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42,
- 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x54, 0x79,
- 0x70, 0x65, 0x22, 0x2c, 0x0a, 0x14, 0x46, 0x67, 0x61, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65,
- 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x75, 0x73,
- 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73,
- 0x22, 0x58, 0x0a, 0x10, 0x46, 0x67, 0x61, 0x45, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x52, 0x65, 0x71,
- 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x08, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52,
- 0x08, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x06, 0x6f, 0x62, 0x6a,
- 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02,
- 0x10, 0x01, 0x52, 0x06, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x27, 0x0a, 0x11, 0x46, 0x67,
- 0x61, 0x45, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
- 0x12, 0x0a, 0x04, 0x74, 0x72, 0x65, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74,
- 0x72, 0x65, 0x65, 0x22, 0x11, 0x0a, 0x0f, 0x46, 0x67, 0x61, 0x52, 0x65, 0x73, 0x65, 0x74, 0x52,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x2c, 0x0a, 0x10, 0x46, 0x67, 0x61, 0x52, 0x65, 0x73,
- 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65,
- 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73,
- 0x73, 0x61, 0x67, 0x65, 0x22, 0xed, 0x01, 0x0a, 0x06, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12,
- 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12,
- 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
- 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64,
- 0x5f, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x61,
- 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09,
- 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52,
- 0x08, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65,
- 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63,
- 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61,
- 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70,
- 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e,
- 0x74, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65,
- 0x6e, 0x74, 0x49, 0x64, 0x22, 0x9a, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43,
- 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x04,
- 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72,
- 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73,
- 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00,
- 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01,
- 0x12, 0x2f, 0x0a, 0x0e, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x73, 0x63, 0x6f, 0x70,
- 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x42, 0x08, 0xba, 0x48, 0x05, 0x92, 0x01, 0x02,
- 0x08, 0x01, 0x52, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x53, 0x63, 0x6f, 0x70, 0x65,
- 0x73, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x22, 0x6a, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x69, 0x65, 0x6e,
- 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x06, 0x63, 0x6c, 0x69,
- 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x61, 0x75, 0x74, 0x68,
- 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74,
- 0x52, 0x06, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65,
- 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x0c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0xde, 0x01,
- 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65,
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x02, 0x69, 0x64, 0x12, 0x17,
- 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04,
- 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72,
- 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x0b,
- 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x25,
- 0x0a, 0x0e, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73,
- 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x53,
- 0x63, 0x6f, 0x70, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69,
- 0x76, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x48, 0x02, 0x52, 0x08, 0x69, 0x73, 0x41, 0x63,
- 0x74, 0x69, 0x76, 0x65, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
- 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x22, 0x45,
- 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65,
- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x06, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69,
- 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x63,
- 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x22, 0x2e, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43,
- 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x02,
- 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10,
- 0x01, 0x52, 0x02, 0x69, 0x64, 0x22, 0x30, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43,
- 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a,
- 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
- 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x34, 0x0a, 0x19, 0x52, 0x6f, 0x74, 0x61, 0x74,
- 0x65, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71,
- 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
- 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x02, 0x69, 0x64, 0x22, 0x2b, 0x0a,
- 0x10, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x12, 0x17, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba,
- 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x02, 0x69, 0x64, 0x22, 0x42, 0x0a, 0x11, 0x47, 0x65,
- 0x74, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
- 0x2d, 0x0a, 0x06, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x15, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e,
- 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x22, 0x52,
- 0x0a, 0x0e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
- 0x12, 0x40, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65,
- 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x22, 0x7d, 0x0a, 0x0f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73,
- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x07, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73,
- 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69,
- 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x07, 0x63,
- 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x39, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x61, 0x75, 0x74,
- 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x22, 0xf1, 0x03, 0x0a, 0x0d, 0x54, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x49, 0x73, 0x73,
- 0x75, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x02, 0x69, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61,
- 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x10, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49,
- 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x5f,
- 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x73, 0x73, 0x75, 0x65,
- 0x72, 0x55, 0x72, 0x6c, 0x12, 0x26, 0x0a, 0x0f, 0x6b, 0x65, 0x79, 0x5f, 0x73, 0x6f, 0x75, 0x72,
- 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6b,
- 0x65, 0x79, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x08,
- 0x6a, 0x77, 0x6b, 0x73, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
- 0x6a, 0x77, 0x6b, 0x73, 0x55, 0x72, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x78, 0x70, 0x65, 0x63,
- 0x74, 0x65, 0x64, 0x5f, 0x61, 0x75, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x65,
- 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x41, 0x75, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75,
- 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x18, 0x08, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x12,
- 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x09,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65,
- 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x0a, 0x20,
- 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x3d, 0x0a,
- 0x1b, 0x73, 0x70, 0x69, 0x66, 0x66, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f,
- 0x68, 0x69, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x0b, 0x20, 0x01,
- 0x28, 0x03, 0x52, 0x18, 0x73, 0x70, 0x69, 0x66, 0x66, 0x65, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73,
- 0x68, 0x48, 0x69, 0x6e, 0x74, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x1d, 0x0a, 0x0a,
- 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03,
- 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75,
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52,
- 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x61, 0x6c,
- 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x18, 0x0e,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x53, 0x75, 0x62,
- 0x6a, 0x65, 0x63, 0x74, 0x73, 0x22, 0xae, 0x04, 0x0a, 0x17, 0x41, 0x64, 0x64, 0x54, 0x72, 0x75,
- 0x73, 0x74, 0x65, 0x64, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x12, 0x35, 0x0a, 0x12, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63,
- 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba,
- 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x10, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41,
- 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52,
- 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0a, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x5f,
- 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02,
- 0x10, 0x01, 0x52, 0x09, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x2f, 0x0a,
- 0x0f, 0x6b, 0x65, 0x79, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65,
- 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52,
- 0x0d, 0x6b, 0x65, 0x79, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e,
- 0x0a, 0x08, 0x6a, 0x77, 0x6b, 0x73, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
- 0x48, 0x00, 0x52, 0x07, 0x6a, 0x77, 0x6b, 0x73, 0x55, 0x72, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x2a,
- 0x0a, 0x0c, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x75, 0x64, 0x18, 0x06,
- 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x0b, 0x65,
- 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x41, 0x75, 0x64, 0x12, 0x28, 0x0a, 0x0d, 0x73, 0x75,
- 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28,
- 0x09, 0x48, 0x01, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x43, 0x6c, 0x61, 0x69,
- 0x6d, 0x88, 0x01, 0x01, 0x12, 0x28, 0x0a, 0x0b, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x5f, 0x74,
- 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02,
- 0x10, 0x01, 0x52, 0x0a, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x42,
- 0x0a, 0x1b, 0x73, 0x70, 0x69, 0x66, 0x66, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68,
- 0x5f, 0x68, 0x69, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x09, 0x20,
- 0x01, 0x28, 0x03, 0x48, 0x02, 0x52, 0x18, 0x73, 0x70, 0x69, 0x66, 0x66, 0x65, 0x52, 0x65, 0x66,
- 0x72, 0x65, 0x73, 0x68, 0x48, 0x69, 0x6e, 0x74, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x88,
- 0x01, 0x01, 0x12, 0x2e, 0x0a, 0x10, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x73, 0x75,
- 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x48, 0x03, 0x52, 0x0f,
- 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x88,
- 0x01, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x6a, 0x77, 0x6b, 0x73, 0x5f, 0x75, 0x72, 0x6c, 0x42,
- 0x10, 0x0a, 0x0e, 0x5f, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x63, 0x6c, 0x61, 0x69,
- 0x6d, 0x42, 0x1e, 0x0a, 0x1c, 0x5f, 0x73, 0x70, 0x69, 0x66, 0x66, 0x65, 0x5f, 0x72, 0x65, 0x66,
- 0x72, 0x65, 0x73, 0x68, 0x5f, 0x68, 0x69, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64,
- 0x73, 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x73, 0x75,
- 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x22, 0x5f, 0x0a, 0x18, 0x41, 0x64, 0x64, 0x54, 0x72, 0x75,
- 0x73, 0x74, 0x65, 0x64, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
- 0x73, 0x65, 0x12, 0x43, 0x0a, 0x0e, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x69, 0x73,
- 0x73, 0x75, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x61, 0x75, 0x74,
- 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x75, 0x73, 0x74,
- 0x65, 0x64, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x52, 0x0d, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65,
- 0x64, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x22, 0x96, 0x03, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61,
- 0x74, 0x65, 0x54, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x52,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x02, 0x69, 0x64, 0x12,
- 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52,
- 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x1e, 0x0a, 0x08, 0x6a, 0x77, 0x6b, 0x73,
- 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x07, 0x6a, 0x77,
- 0x6b, 0x73, 0x55, 0x72, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x26, 0x0a, 0x0c, 0x65, 0x78, 0x70, 0x65,
- 0x63, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x75, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02,
- 0x52, 0x0b, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x41, 0x75, 0x64, 0x88, 0x01, 0x01,
- 0x12, 0x20, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x05, 0x20,
- 0x01, 0x28, 0x08, 0x48, 0x03, 0x52, 0x08, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x88,
- 0x01, 0x01, 0x12, 0x42, 0x0a, 0x1b, 0x73, 0x70, 0x69, 0x66, 0x66, 0x65, 0x5f, 0x72, 0x65, 0x66,
- 0x72, 0x65, 0x73, 0x68, 0x5f, 0x68, 0x69, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64,
- 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x48, 0x04, 0x52, 0x18, 0x73, 0x70, 0x69, 0x66, 0x66,
- 0x65, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x48, 0x69, 0x6e, 0x74, 0x53, 0x65, 0x63, 0x6f,
- 0x6e, 0x64, 0x73, 0x88, 0x01, 0x01, 0x12, 0x2e, 0x0a, 0x10, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65,
- 0x64, 0x5f, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09,
- 0x48, 0x05, 0x52, 0x0f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x53, 0x75, 0x62, 0x6a, 0x65,
- 0x63, 0x74, 0x73, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42,
- 0x0b, 0x0a, 0x09, 0x5f, 0x6a, 0x77, 0x6b, 0x73, 0x5f, 0x75, 0x72, 0x6c, 0x42, 0x0f, 0x0a, 0x0d,
- 0x5f, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x75, 0x64, 0x42, 0x0c, 0x0a,
- 0x0a, 0x5f, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x42, 0x1e, 0x0a, 0x1c, 0x5f,
- 0x73, 0x70, 0x69, 0x66, 0x66, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x68,
- 0x69, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x42, 0x13, 0x0a, 0x11, 0x5f,
- 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73,
- 0x22, 0x62, 0x0a, 0x1b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x72, 0x75, 0x73, 0x74, 0x65,
- 0x64, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
- 0x43, 0x0a, 0x0e, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65,
- 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72,
- 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x49,
- 0x73, 0x73, 0x75, 0x65, 0x72, 0x52, 0x0d, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x49, 0x73,
- 0x73, 0x75, 0x65, 0x72, 0x22, 0x35, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x72,
- 0x75, 0x73, 0x74, 0x65, 0x64, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x12, 0x17, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07,
- 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x02, 0x69, 0x64, 0x22, 0x37, 0x0a, 0x1b, 0x44,
- 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x49, 0x73, 0x73, 0x75,
- 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65,
- 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73,
- 0x73, 0x61, 0x67, 0x65, 0x22, 0x32, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x54, 0x72, 0x75, 0x73, 0x74,
- 0x65, 0x64, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
- 0x17, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04,
- 0x72, 0x02, 0x10, 0x01, 0x52, 0x02, 0x69, 0x64, 0x22, 0x5f, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x54,
- 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70,
- 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x0e, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x5f,
- 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x61,
- 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x75,
- 0x73, 0x74, 0x65, 0x64, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x52, 0x0d, 0x74, 0x72, 0x75, 0x73,
- 0x74, 0x65, 0x64, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x22, 0xa3, 0x01, 0x0a, 0x15, 0x54, 0x72,
- 0x75, 0x73, 0x74, 0x65, 0x64, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72,
- 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x31, 0x0a, 0x12, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
- 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x09, 0x48, 0x00, 0x52, 0x10, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f,
- 0x75, 0x6e, 0x74, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x15, 0x0a, 0x13, 0x5f, 0x73, 0x65, 0x72,
- 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x22,
- 0x9a, 0x01, 0x0a, 0x16, 0x54, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x49, 0x73, 0x73, 0x75, 0x65,
- 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x0f, 0x74, 0x72,
- 0x75, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20,
- 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72,
- 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x49, 0x73, 0x73, 0x75, 0x65,
- 0x72, 0x52, 0x0e, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72,
- 0x73, 0x12, 0x39, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a,
- 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x32, 0xa8, 0x2a, 0x0a,
- 0x16, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x41, 0x64, 0x6d, 0x69, 0x6e,
- 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x71, 0x0a, 0x0a, 0x41, 0x64, 0x6d, 0x69, 0x6e,
- 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x20, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a,
- 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4c, 0x6f, 0x67, 0x69, 0x6e,
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72,
- 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4c, 0x6f, 0x67,
- 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1e, 0xa0, 0xb5, 0x18, 0x01,
- 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x14, 0x3a, 0x01, 0x2a, 0x22, 0x0f, 0x2f, 0x76, 0x31, 0x2f, 0x61,
- 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x6e, 0x0a, 0x0b, 0x41, 0x64,
- 0x6d, 0x69, 0x6e, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x12, 0x21, 0x2e, 0x61, 0x75, 0x74, 0x68,
- 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4c,
- 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x61,
- 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x6d,
- 0x69, 0x6e, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
- 0x22, 0x18, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x12, 0x22, 0x10, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x64,
- 0x6d, 0x69, 0x6e, 0x2f, 0x6c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x12, 0x72, 0x0a, 0x0c, 0x41, 0x64,
- 0x6d, 0x69, 0x6e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x61, 0x75, 0x74,
- 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e,
- 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23,
- 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x41,
- 0x64, 0x6d, 0x69, 0x6e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f,
- 0x6e, 0x73, 0x65, 0x22, 0x19, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x13, 0x12, 0x11, 0x2f, 0x76, 0x31,
- 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x66,
- 0x0a, 0x09, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x1f, 0x2e, 0x61, 0x75,
- 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x6d, 0x69,
- 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x61,
- 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x6d,
- 0x69, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x16,
- 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x10, 0x12, 0x0e, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x64, 0x6d, 0x69,
- 0x6e, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x12, 0x5e, 0x0a, 0x05, 0x55, 0x73, 0x65, 0x72, 0x73, 0x12,
- 0x1b, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e,
- 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x61,
- 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65,
- 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1a, 0x82, 0xd3, 0xe4, 0x93,
- 0x02, 0x14, 0x3a, 0x01, 0x2a, 0x22, 0x0f, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e,
- 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x12, 0x5a, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1a,
- 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x55,
- 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x61, 0x75, 0x74,
- 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52,
- 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x19, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x13, 0x3a,
- 0x01, 0x2a, 0x22, 0x0e, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x75, 0x73,
- 0x65, 0x72, 0x12, 0x73, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72,
- 0x12, 0x20, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31,
- 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e,
- 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73,
- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x3a, 0x01, 0x2a,
- 0x22, 0x15, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x75, 0x70, 0x64, 0x61,
- 0x74, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x12, 0x73, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74,
- 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x20, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a,
- 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72,
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72,
- 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73,
- 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93,
- 0x02, 0x1a, 0x3a, 0x01, 0x2a, 0x22, 0x15, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e,
- 0x2f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x12, 0x9b, 0x01, 0x0a,
- 0x14, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71,
- 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x2a, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a,
- 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x1a, 0x2b, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76,
- 0x31, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65,
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2a,
- 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x3a, 0x01, 0x2a, 0x22, 0x1f, 0x2f, 0x76, 0x31, 0x2f, 0x61,
- 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
- 0x6e, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x7b, 0x0a, 0x0c, 0x52, 0x65,
- 0x76, 0x6f, 0x6b, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x22, 0x2e, 0x61, 0x75, 0x74,
- 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x6f, 0x6b,
- 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23,
- 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52,
- 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
- 0x6e, 0x73, 0x65, 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x3a, 0x01, 0x2a, 0x22, 0x17,
- 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65,
- 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x7b, 0x0a, 0x0c, 0x45, 0x6e, 0x61, 0x62, 0x6c,
- 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x22, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72,
- 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x41, 0x63,
- 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x61, 0x75,
- 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x61, 0x62,
- 0x6c, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
- 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x3a, 0x01, 0x2a, 0x22, 0x17, 0x2f, 0x76, 0x31,
- 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x61, 0x63,
- 0x63, 0x65, 0x73, 0x73, 0x12, 0x7f, 0x0a, 0x0d, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x4d, 0x65,
- 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x23, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a,
- 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x62,
- 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x61, 0x75, 0x74,
- 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x76, 0x69, 0x74,
- 0x65, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
- 0x22, 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x3a, 0x01, 0x2a, 0x22, 0x18, 0x2f, 0x76, 0x31,
- 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x5f, 0x6d, 0x65,
- 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x73, 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x57, 0x65, 0x62, 0x68,
- 0x6f, 0x6f, 0x6b, 0x12, 0x20, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72,
- 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65,
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a,
- 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b,
- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a,
- 0x3a, 0x01, 0x2a, 0x22, 0x15, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x61,
- 0x64, 0x64, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x7f, 0x0a, 0x0d, 0x55, 0x70,
- 0x64, 0x61, 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x23, 0x2e, 0x61, 0x75,
- 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61,
- 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
- 0x1a, 0x24, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31,
- 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65,
- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x3a, 0x01,
- 0x2a, 0x22, 0x18, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x75, 0x70, 0x64,
- 0x61, 0x74, 0x65, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x7f, 0x0a, 0x0d, 0x44,
- 0x65, 0x6c, 0x65, 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x23, 0x2e, 0x61,
- 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c,
- 0x65, 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x1a, 0x24, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76,
- 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52,
- 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x3a,
- 0x01, 0x2a, 0x22, 0x18, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x64, 0x65,
- 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x6f, 0x0a, 0x0a,
- 0x47, 0x65, 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x20, 0x2e, 0x61, 0x75, 0x74,
- 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x65,
- 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x61,
- 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74,
- 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
- 0x1c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x3a, 0x01, 0x2a, 0x22, 0x11, 0x2f, 0x76, 0x31, 0x2f,
- 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x6a, 0x0a,
- 0x08, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x12, 0x1e, 0x2e, 0x61, 0x75, 0x74, 0x68,
- 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f,
- 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x61, 0x75, 0x74, 0x68,
- 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f,
- 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1d, 0x82, 0xd3, 0xe4, 0x93,
- 0x02, 0x17, 0x3a, 0x01, 0x2a, 0x22, 0x12, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e,
- 0x2f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x12, 0x77, 0x0a, 0x0b, 0x57, 0x65, 0x62,
- 0x68, 0x6f, 0x6f, 0x6b, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x21, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f,
- 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b,
- 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x61, 0x75,
- 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68,
- 0x6f, 0x6f, 0x6b, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
- 0x21, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x3a, 0x01, 0x2a, 0x22, 0x16, 0x2f, 0x76, 0x31, 0x2f,
- 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x5f, 0x6c, 0x6f,
- 0x67, 0x73, 0x12, 0x7b, 0x0a, 0x0c, 0x54, 0x65, 0x73, 0x74, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69,
- 0x6e, 0x74, 0x12, 0x22, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e,
- 0x76, 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69,
- 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x45, 0x6e, 0x64, 0x70, 0x6f,
- 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x22, 0x82, 0xd3, 0xe4,
- 0x93, 0x02, 0x1c, 0x3a, 0x01, 0x2a, 0x22, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x64, 0x6d, 0x69,
- 0x6e, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12,
- 0x8c, 0x01, 0x0a, 0x10, 0x41, 0x64, 0x64, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x54, 0x65, 0x6d, 0x70,
- 0x6c, 0x61, 0x74, 0x65, 0x12, 0x26, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65,
- 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x54, 0x65, 0x6d,
- 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x61,
- 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64,
- 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73,
- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x27, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x3a, 0x01, 0x2a,
- 0x22, 0x1c, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x61, 0x64, 0x64, 0x5f,
- 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x98,
- 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x54, 0x65,
- 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x29, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69,
- 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6d, 0x61,
- 0x69, 0x6c, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x1a, 0x2a, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76,
- 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x54, 0x65, 0x6d,
- 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2a, 0x82,
- 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x3a, 0x01, 0x2a, 0x22, 0x1f, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x64,
- 0x6d, 0x69, 0x6e, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c,
- 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x98, 0x01, 0x0a, 0x13, 0x44, 0x65,
- 0x6c, 0x65, 0x74, 0x65, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74,
- 0x65, 0x12, 0x29, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76,
- 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x54, 0x65, 0x6d,
- 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x61,
- 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c,
- 0x65, 0x74, 0x65, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65,
- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24,
- 0x3a, 0x01, 0x2a, 0x22, 0x1f, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x64,
- 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x74, 0x65, 0x6d, 0x70,
- 0x6c, 0x61, 0x74, 0x65, 0x12, 0x83, 0x01, 0x0a, 0x0e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x54, 0x65,
- 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x12, 0x24, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72,
- 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x54, 0x65, 0x6d,
- 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e,
- 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6d,
- 0x61, 0x69, 0x6c, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70,
- 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x24, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x3a, 0x01, 0x2a, 0x22,
- 0x19, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x65, 0x6d, 0x61, 0x69, 0x6c,
- 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x12, 0x6f, 0x0a, 0x09, 0x41, 0x75,
- 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x1f, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72,
- 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67,
- 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f,
- 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f,
- 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1f, 0x82, 0xd3, 0xe4, 0x93,
- 0x02, 0x19, 0x3a, 0x01, 0x2a, 0x22, 0x14, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e,
- 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x71, 0x0a, 0x0b, 0x46,
- 0x67, 0x61, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x21, 0x2e, 0x61, 0x75, 0x74,
- 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x67, 0x61, 0x47, 0x65,
- 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e,
- 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x67,
- 0x61, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
- 0x65, 0x22, 0x1b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x12, 0x13, 0x2f, 0x76, 0x31, 0x2f, 0x61,
- 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x66, 0x67, 0x61, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x7a,
- 0x0a, 0x0d, 0x46, 0x67, 0x61, 0x57, 0x72, 0x69, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12,
- 0x23, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e,
- 0x46, 0x67, 0x61, 0x57, 0x72, 0x69, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71,
- 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65,
- 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x67, 0x61, 0x57, 0x72, 0x69, 0x74, 0x65, 0x4d, 0x6f, 0x64,
- 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1e, 0x82, 0xd3, 0xe4, 0x93,
- 0x02, 0x18, 0x3a, 0x01, 0x2a, 0x22, 0x13, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e,
- 0x2f, 0x66, 0x67, 0x61, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x7e, 0x0a, 0x0e, 0x46, 0x67,
- 0x61, 0x57, 0x72, 0x69, 0x74, 0x65, 0x54, 0x75, 0x70, 0x6c, 0x65, 0x73, 0x12, 0x24, 0x2e, 0x61,
- 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x67, 0x61,
- 0x57, 0x72, 0x69, 0x74, 0x65, 0x54, 0x75, 0x70, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e,
- 0x76, 0x31, 0x2e, 0x46, 0x67, 0x61, 0x57, 0x72, 0x69, 0x74, 0x65, 0x54, 0x75, 0x70, 0x6c, 0x65,
- 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1f, 0x82, 0xd3, 0xe4, 0x93, 0x02,
- 0x19, 0x3a, 0x01, 0x2a, 0x22, 0x14, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f,
- 0x66, 0x67, 0x61, 0x2f, 0x74, 0x75, 0x70, 0x6c, 0x65, 0x73, 0x12, 0x88, 0x01, 0x0a, 0x0f, 0x46,
- 0x67, 0x61, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x75, 0x70, 0x6c, 0x65, 0x73, 0x12, 0x25,
- 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x46,
- 0x67, 0x61, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x75, 0x70, 0x6c, 0x65, 0x73, 0x52, 0x65,
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a,
- 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x67, 0x61, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54,
- 0x75, 0x70, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x82,
- 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x3a, 0x01, 0x2a, 0x22, 0x1b, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x64,
- 0x6d, 0x69, 0x6e, 0x2f, 0x66, 0x67, 0x61, 0x2f, 0x74, 0x75, 0x70, 0x6c, 0x65, 0x73, 0x2f, 0x64,
- 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x80, 0x01, 0x0a, 0x0d, 0x46, 0x67, 0x61, 0x52, 0x65, 0x61,
- 0x64, 0x54, 0x75, 0x70, 0x6c, 0x65, 0x73, 0x12, 0x23, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72,
- 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x67, 0x61, 0x52, 0x65, 0x61, 0x64, 0x54,
- 0x75, 0x70, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x61,
- 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x67, 0x61,
- 0x52, 0x65, 0x61, 0x64, 0x54, 0x75, 0x70, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
- 0x73, 0x65, 0x22, 0x24, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x3a, 0x01, 0x2a, 0x22, 0x19, 0x2f,
- 0x76, 0x31, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x66, 0x67, 0x61, 0x2f, 0x74, 0x75, 0x70,
- 0x6c, 0x65, 0x73, 0x2f, 0x72, 0x65, 0x61, 0x64, 0x12, 0x7c, 0x0a, 0x0c, 0x46, 0x67, 0x61, 0x4c,
- 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x12, 0x22, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f,
- 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x67, 0x61, 0x4c, 0x69, 0x73, 0x74,
- 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x61,
- 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x67, 0x61,
- 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
- 0x65, 0x22, 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x3a, 0x01, 0x2a, 0x22, 0x18, 0x2f, 0x76,
- 0x31, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x66, 0x67, 0x61, 0x2f, 0x6c, 0x69, 0x73, 0x74,
- 0x5f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x12, 0x6f, 0x0a, 0x09, 0x46, 0x67, 0x61, 0x45, 0x78, 0x70,
- 0x61, 0x6e, 0x64, 0x12, 0x1f, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72,
- 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x67, 0x61, 0x45, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x52, 0x65, 0x71,
- 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65,
- 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x67, 0x61, 0x45, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x52, 0x65,
- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x3a, 0x01,
- 0x2a, 0x22, 0x14, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x66, 0x67, 0x61,
- 0x2f, 0x65, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x12, 0x6b, 0x0a, 0x08, 0x46, 0x67, 0x61, 0x52, 0x65,
- 0x73, 0x65, 0x74, 0x12, 0x1e, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72,
- 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x67, 0x61, 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72,
- 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x67, 0x61, 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70,
- 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x18, 0x3a, 0x01, 0x2a, 0x22,
- 0x13, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x66, 0x67, 0x61, 0x2f, 0x72,
- 0x65, 0x73, 0x65, 0x74, 0x12, 0x7b, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6c,
- 0x69, 0x65, 0x6e, 0x74, 0x12, 0x22, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65,
- 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x69, 0x65, 0x6e,
- 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f,
- 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43,
- 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x22, 0x82,
- 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x3a, 0x01, 0x2a, 0x22, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x64,
- 0x6d, 0x69, 0x6e, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e,
- 0x74, 0x12, 0x7b, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x69, 0x65, 0x6e,
- 0x74, 0x12, 0x22, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76,
- 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65,
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a,
- 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x69, 0x65,
- 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93,
- 0x02, 0x1c, 0x3a, 0x01, 0x2a, 0x22, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e,
- 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x7b,
- 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x22,
- 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x44,
- 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e,
- 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52,
- 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x3a,
- 0x01, 0x2a, 0x22, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x64, 0x65,
- 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x8e, 0x01, 0x0a, 0x12,
- 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72,
- 0x65, 0x74, 0x12, 0x28, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e,
- 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53,
- 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x61,
- 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65,
- 0x61, 0x74, 0x65, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
- 0x65, 0x22, 0x29, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x3a, 0x01, 0x2a, 0x22, 0x1e, 0x2f, 0x76,
- 0x31, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x72, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x63,
- 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x6b, 0x0a, 0x09,
- 0x47, 0x65, 0x74, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x2e, 0x61, 0x75, 0x74, 0x68,
- 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x69,
- 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x61, 0x75, 0x74,
- 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6c,
- 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1b, 0x82, 0xd3,
- 0xe4, 0x93, 0x02, 0x15, 0x3a, 0x01, 0x2a, 0x22, 0x10, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x64, 0x6d,
- 0x69, 0x6e, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x66, 0x0a, 0x07, 0x43, 0x6c, 0x69,
- 0x65, 0x6e, 0x74, 0x73, 0x12, 0x1d, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65,
- 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72,
- 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
- 0x6e, 0x73, 0x65, 0x22, 0x1c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x3a, 0x01, 0x2a, 0x22, 0x11,
- 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74,
- 0x73, 0x12, 0x8c, 0x01, 0x0a, 0x10, 0x41, 0x64, 0x64, 0x54, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64,
- 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x12, 0x26, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69,
- 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x54, 0x72, 0x75, 0x73, 0x74, 0x65,
- 0x64, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27,
- 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x41,
- 0x64, 0x64, 0x54, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x52,
- 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x27, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x3a,
- 0x01, 0x2a, 0x22, 0x1c, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x61, 0x64,
- 0x64, 0x5f, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72,
- 0x12, 0x98, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x72, 0x75, 0x73, 0x74,
- 0x65, 0x64, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x12, 0x29, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f,
- 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54,
- 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72,
- 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x72, 0x75, 0x73, 0x74, 0x65,
- 0x64, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
- 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x3a, 0x01, 0x2a, 0x22, 0x1f, 0x2f, 0x76, 0x31, 0x2f,
- 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x72, 0x75,
- 0x73, 0x74, 0x65, 0x64, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x12, 0x98, 0x01, 0x0a, 0x13,
- 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x49, 0x73, 0x73,
- 0x75, 0x65, 0x72, 0x12, 0x29, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72,
- 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x72, 0x75, 0x73, 0x74, 0x65,
- 0x64, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a,
- 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x44,
- 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x49, 0x73, 0x73, 0x75,
- 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93,
- 0x02, 0x24, 0x3a, 0x01, 0x2a, 0x22, 0x1f, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e,
- 0x2f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x5f,
- 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x12, 0x88, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x54, 0x72,
- 0x75, 0x73, 0x74, 0x65, 0x64, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x12, 0x26, 0x2e, 0x61, 0x75,
- 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54,
- 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72,
- 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x49, 0x73,
- 0x73, 0x75, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, 0x82, 0xd3,
- 0xe4, 0x93, 0x02, 0x1d, 0x3a, 0x01, 0x2a, 0x22, 0x18, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x64, 0x6d,
- 0x69, 0x6e, 0x2f, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65,
- 0x72, 0x12, 0x83, 0x01, 0x0a, 0x0e, 0x54, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x49, 0x73, 0x73,
- 0x75, 0x65, 0x72, 0x73, 0x12, 0x24, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65,
- 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x49, 0x73, 0x73, 0x75,
- 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x61, 0x75, 0x74,
- 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x75, 0x73, 0x74,
- 0x65, 0x64, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
- 0x65, 0x22, 0x24, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x3a, 0x01, 0x2a, 0x22, 0x19, 0x2f, 0x76,
- 0x31, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x5f,
- 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x73, 0x42, 0xc0, 0x01, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x2e,
- 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x41,
- 0x64, 0x6d, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74,
- 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a,
- 0x65, 0x72, 0x64, 0x65, 0x76, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2f, 0x77,
- 0x69, 0x74, 0x68, 0x2d, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x61, 0x75, 0x74,
- 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x75, 0x74, 0x68, 0x6f,
- 0x72, 0x69, 0x7a, 0x65, 0x72, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x41, 0x58, 0x58, 0xaa, 0x02, 0x0d,
- 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0d,
- 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x19,
- 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50,
- 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e, 0x41, 0x75, 0x74, 0x68,
- 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x33,
-}
-
-var (
- file_authorizer_v1_admin_proto_rawDescOnce sync.Once
- file_authorizer_v1_admin_proto_rawDescData = file_authorizer_v1_admin_proto_rawDesc
-)
-
-func file_authorizer_v1_admin_proto_rawDescGZIP() []byte {
- file_authorizer_v1_admin_proto_rawDescOnce.Do(func() {
- file_authorizer_v1_admin_proto_rawDescData = protoimpl.X.CompressGZIP(file_authorizer_v1_admin_proto_rawDescData)
- })
- return file_authorizer_v1_admin_proto_rawDescData
-}
-
-var file_authorizer_v1_admin_proto_msgTypes = make([]protoimpl.MessageInfo, 95)
-var file_authorizer_v1_admin_proto_goTypes = []any{
- (*AdminLoginRequest)(nil), // 0: authorizer.v1.AdminLoginRequest
- (*AdminLoginResponse)(nil), // 1: authorizer.v1.AdminLoginResponse
- (*AdminLogoutRequest)(nil), // 2: authorizer.v1.AdminLogoutRequest
- (*AdminLogoutResponse)(nil), // 3: authorizer.v1.AdminLogoutResponse
- (*AdminSessionRequest)(nil), // 4: authorizer.v1.AdminSessionRequest
- (*AdminSessionResponse)(nil), // 5: authorizer.v1.AdminSessionResponse
- (*AdminMetaRequest)(nil), // 6: authorizer.v1.AdminMetaRequest
- (*AdminMetaResponse)(nil), // 7: authorizer.v1.AdminMetaResponse
- (*AdminMeta)(nil), // 8: authorizer.v1.AdminMeta
- (*UsersRequest)(nil), // 9: authorizer.v1.UsersRequest
- (*UsersResponse)(nil), // 10: authorizer.v1.UsersResponse
- (*UserRequest)(nil), // 11: authorizer.v1.UserRequest
- (*UserResponse)(nil), // 12: authorizer.v1.UserResponse
- (*UpdateUserRequest)(nil), // 13: authorizer.v1.UpdateUserRequest
- (*UpdateUserResponse)(nil), // 14: authorizer.v1.UpdateUserResponse
- (*DeleteUserRequest)(nil), // 15: authorizer.v1.DeleteUserRequest
- (*DeleteUserResponse)(nil), // 16: authorizer.v1.DeleteUserResponse
- (*VerificationRequestsRequest)(nil), // 17: authorizer.v1.VerificationRequestsRequest
- (*VerificationRequestsResponse)(nil), // 18: authorizer.v1.VerificationRequestsResponse
- (*VerificationRequest)(nil), // 19: authorizer.v1.VerificationRequest
- (*RevokeAccessRequest)(nil), // 20: authorizer.v1.RevokeAccessRequest
- (*RevokeAccessResponse)(nil), // 21: authorizer.v1.RevokeAccessResponse
- (*EnableAccessRequest)(nil), // 22: authorizer.v1.EnableAccessRequest
- (*EnableAccessResponse)(nil), // 23: authorizer.v1.EnableAccessResponse
- (*InviteMembersRequest)(nil), // 24: authorizer.v1.InviteMembersRequest
- (*InviteMembersResponse)(nil), // 25: authorizer.v1.InviteMembersResponse
- (*Webhook)(nil), // 26: authorizer.v1.Webhook
- (*WebhookLog)(nil), // 27: authorizer.v1.WebhookLog
- (*AddWebhookRequest)(nil), // 28: authorizer.v1.AddWebhookRequest
- (*AddWebhookResponse)(nil), // 29: authorizer.v1.AddWebhookResponse
- (*UpdateWebhookRequest)(nil), // 30: authorizer.v1.UpdateWebhookRequest
- (*UpdateWebhookResponse)(nil), // 31: authorizer.v1.UpdateWebhookResponse
- (*DeleteWebhookRequest)(nil), // 32: authorizer.v1.DeleteWebhookRequest
- (*DeleteWebhookResponse)(nil), // 33: authorizer.v1.DeleteWebhookResponse
- (*GetWebhookRequest)(nil), // 34: authorizer.v1.GetWebhookRequest
- (*GetWebhookResponse)(nil), // 35: authorizer.v1.GetWebhookResponse
- (*WebhooksRequest)(nil), // 36: authorizer.v1.WebhooksRequest
- (*WebhooksResponse)(nil), // 37: authorizer.v1.WebhooksResponse
- (*WebhookLogsRequest)(nil), // 38: authorizer.v1.WebhookLogsRequest
- (*WebhookLogsResponse)(nil), // 39: authorizer.v1.WebhookLogsResponse
- (*TestEndpointRequest)(nil), // 40: authorizer.v1.TestEndpointRequest
- (*TestEndpointResponse)(nil), // 41: authorizer.v1.TestEndpointResponse
- (*EmailTemplate)(nil), // 42: authorizer.v1.EmailTemplate
- (*AddEmailTemplateRequest)(nil), // 43: authorizer.v1.AddEmailTemplateRequest
- (*AddEmailTemplateResponse)(nil), // 44: authorizer.v1.AddEmailTemplateResponse
- (*UpdateEmailTemplateRequest)(nil), // 45: authorizer.v1.UpdateEmailTemplateRequest
- (*UpdateEmailTemplateResponse)(nil), // 46: authorizer.v1.UpdateEmailTemplateResponse
- (*DeleteEmailTemplateRequest)(nil), // 47: authorizer.v1.DeleteEmailTemplateRequest
- (*DeleteEmailTemplateResponse)(nil), // 48: authorizer.v1.DeleteEmailTemplateResponse
- (*EmailTemplatesRequest)(nil), // 49: authorizer.v1.EmailTemplatesRequest
- (*EmailTemplatesResponse)(nil), // 50: authorizer.v1.EmailTemplatesResponse
- (*AuditLog)(nil), // 51: authorizer.v1.AuditLog
- (*AuditLogsRequest)(nil), // 52: authorizer.v1.AuditLogsRequest
- (*AuditLogsResponse)(nil), // 53: authorizer.v1.AuditLogsResponse
- (*FgaModel)(nil), // 54: authorizer.v1.FgaModel
- (*FgaTuple)(nil), // 55: authorizer.v1.FgaTuple
- (*FgaGetModelRequest)(nil), // 56: authorizer.v1.FgaGetModelRequest
- (*FgaGetModelResponse)(nil), // 57: authorizer.v1.FgaGetModelResponse
- (*FgaWriteModelRequest)(nil), // 58: authorizer.v1.FgaWriteModelRequest
- (*FgaWriteModelResponse)(nil), // 59: authorizer.v1.FgaWriteModelResponse
- (*FgaWriteTuplesRequest)(nil), // 60: authorizer.v1.FgaWriteTuplesRequest
- (*FgaWriteTuplesResponse)(nil), // 61: authorizer.v1.FgaWriteTuplesResponse
- (*FgaDeleteTuplesRequest)(nil), // 62: authorizer.v1.FgaDeleteTuplesRequest
- (*FgaDeleteTuplesResponse)(nil), // 63: authorizer.v1.FgaDeleteTuplesResponse
- (*FgaReadTuplesRequest)(nil), // 64: authorizer.v1.FgaReadTuplesRequest
- (*FgaReadTuplesResponse)(nil), // 65: authorizer.v1.FgaReadTuplesResponse
- (*FgaListUsersRequest)(nil), // 66: authorizer.v1.FgaListUsersRequest
- (*FgaListUsersResponse)(nil), // 67: authorizer.v1.FgaListUsersResponse
- (*FgaExpandRequest)(nil), // 68: authorizer.v1.FgaExpandRequest
- (*FgaExpandResponse)(nil), // 69: authorizer.v1.FgaExpandResponse
- (*FgaResetRequest)(nil), // 70: authorizer.v1.FgaResetRequest
- (*FgaResetResponse)(nil), // 71: authorizer.v1.FgaResetResponse
- (*Client)(nil), // 72: authorizer.v1.Client
- (*CreateClientRequest)(nil), // 73: authorizer.v1.CreateClientRequest
- (*CreateClientResponse)(nil), // 74: authorizer.v1.CreateClientResponse
- (*UpdateClientRequest)(nil), // 75: authorizer.v1.UpdateClientRequest
- (*UpdateClientResponse)(nil), // 76: authorizer.v1.UpdateClientResponse
- (*DeleteClientRequest)(nil), // 77: authorizer.v1.DeleteClientRequest
- (*DeleteClientResponse)(nil), // 78: authorizer.v1.DeleteClientResponse
- (*RotateClientSecretRequest)(nil), // 79: authorizer.v1.RotateClientSecretRequest
- (*GetClientRequest)(nil), // 80: authorizer.v1.GetClientRequest
- (*GetClientResponse)(nil), // 81: authorizer.v1.GetClientResponse
- (*ClientsRequest)(nil), // 82: authorizer.v1.ClientsRequest
- (*ClientsResponse)(nil), // 83: authorizer.v1.ClientsResponse
- (*TrustedIssuer)(nil), // 84: authorizer.v1.TrustedIssuer
- (*AddTrustedIssuerRequest)(nil), // 85: authorizer.v1.AddTrustedIssuerRequest
- (*AddTrustedIssuerResponse)(nil), // 86: authorizer.v1.AddTrustedIssuerResponse
- (*UpdateTrustedIssuerRequest)(nil), // 87: authorizer.v1.UpdateTrustedIssuerRequest
- (*UpdateTrustedIssuerResponse)(nil), // 88: authorizer.v1.UpdateTrustedIssuerResponse
- (*DeleteTrustedIssuerRequest)(nil), // 89: authorizer.v1.DeleteTrustedIssuerRequest
- (*DeleteTrustedIssuerResponse)(nil), // 90: authorizer.v1.DeleteTrustedIssuerResponse
- (*GetTrustedIssuerRequest)(nil), // 91: authorizer.v1.GetTrustedIssuerRequest
- (*GetTrustedIssuerResponse)(nil), // 92: authorizer.v1.GetTrustedIssuerResponse
- (*TrustedIssuersRequest)(nil), // 93: authorizer.v1.TrustedIssuersRequest
- (*TrustedIssuersResponse)(nil), // 94: authorizer.v1.TrustedIssuersResponse
- (*PaginationRequest)(nil), // 95: authorizer.v1.PaginationRequest
- (*User)(nil), // 96: authorizer.v1.User
- (*Pagination)(nil), // 97: authorizer.v1.Pagination
- (*AppData)(nil), // 98: authorizer.v1.AppData
- (*FgaTupleInput)(nil), // 99: authorizer.v1.FgaTupleInput
-}
-var file_authorizer_v1_admin_proto_depIdxs = []int32{
- 8, // 0: authorizer.v1.AdminMetaResponse.admin_meta:type_name -> authorizer.v1.AdminMeta
- 95, // 1: authorizer.v1.UsersRequest.pagination:type_name -> authorizer.v1.PaginationRequest
- 96, // 2: authorizer.v1.UsersResponse.users:type_name -> authorizer.v1.User
- 97, // 3: authorizer.v1.UsersResponse.pagination:type_name -> authorizer.v1.Pagination
- 96, // 4: authorizer.v1.UserResponse.user:type_name -> authorizer.v1.User
- 98, // 5: authorizer.v1.UpdateUserRequest.app_data:type_name -> authorizer.v1.AppData
- 96, // 6: authorizer.v1.UpdateUserResponse.user:type_name -> authorizer.v1.User
- 95, // 7: authorizer.v1.VerificationRequestsRequest.pagination:type_name -> authorizer.v1.PaginationRequest
- 19, // 8: authorizer.v1.VerificationRequestsResponse.verification_requests:type_name -> authorizer.v1.VerificationRequest
- 97, // 9: authorizer.v1.VerificationRequestsResponse.pagination:type_name -> authorizer.v1.Pagination
- 96, // 10: authorizer.v1.InviteMembersResponse.users:type_name -> authorizer.v1.User
- 98, // 11: authorizer.v1.Webhook.headers:type_name -> authorizer.v1.AppData
- 98, // 12: authorizer.v1.AddWebhookRequest.headers:type_name -> authorizer.v1.AppData
- 98, // 13: authorizer.v1.UpdateWebhookRequest.headers:type_name -> authorizer.v1.AppData
- 26, // 14: authorizer.v1.GetWebhookResponse.webhook:type_name -> authorizer.v1.Webhook
- 95, // 15: authorizer.v1.WebhooksRequest.pagination:type_name -> authorizer.v1.PaginationRequest
- 26, // 16: authorizer.v1.WebhooksResponse.webhooks:type_name -> authorizer.v1.Webhook
- 97, // 17: authorizer.v1.WebhooksResponse.pagination:type_name -> authorizer.v1.Pagination
- 95, // 18: authorizer.v1.WebhookLogsRequest.pagination:type_name -> authorizer.v1.PaginationRequest
- 27, // 19: authorizer.v1.WebhookLogsResponse.webhook_logs:type_name -> authorizer.v1.WebhookLog
- 97, // 20: authorizer.v1.WebhookLogsResponse.pagination:type_name -> authorizer.v1.Pagination
- 98, // 21: authorizer.v1.TestEndpointRequest.headers:type_name -> authorizer.v1.AppData
- 95, // 22: authorizer.v1.EmailTemplatesRequest.pagination:type_name -> authorizer.v1.PaginationRequest
- 42, // 23: authorizer.v1.EmailTemplatesResponse.email_templates:type_name -> authorizer.v1.EmailTemplate
- 97, // 24: authorizer.v1.EmailTemplatesResponse.pagination:type_name -> authorizer.v1.Pagination
- 95, // 25: authorizer.v1.AuditLogsRequest.pagination:type_name -> authorizer.v1.PaginationRequest
- 51, // 26: authorizer.v1.AuditLogsResponse.audit_logs:type_name -> authorizer.v1.AuditLog
- 97, // 27: authorizer.v1.AuditLogsResponse.pagination:type_name -> authorizer.v1.Pagination
- 54, // 28: authorizer.v1.FgaGetModelResponse.model:type_name -> authorizer.v1.FgaModel
- 54, // 29: authorizer.v1.FgaWriteModelResponse.model:type_name -> authorizer.v1.FgaModel
- 99, // 30: authorizer.v1.FgaWriteTuplesRequest.tuples:type_name -> authorizer.v1.FgaTupleInput
- 99, // 31: authorizer.v1.FgaDeleteTuplesRequest.tuples:type_name -> authorizer.v1.FgaTupleInput
- 55, // 32: authorizer.v1.FgaReadTuplesResponse.tuples:type_name -> authorizer.v1.FgaTuple
- 72, // 33: authorizer.v1.CreateClientResponse.client:type_name -> authorizer.v1.Client
- 72, // 34: authorizer.v1.UpdateClientResponse.client:type_name -> authorizer.v1.Client
- 72, // 35: authorizer.v1.GetClientResponse.client:type_name -> authorizer.v1.Client
- 95, // 36: authorizer.v1.ClientsRequest.pagination:type_name -> authorizer.v1.PaginationRequest
- 72, // 37: authorizer.v1.ClientsResponse.clients:type_name -> authorizer.v1.Client
- 97, // 38: authorizer.v1.ClientsResponse.pagination:type_name -> authorizer.v1.Pagination
- 84, // 39: authorizer.v1.AddTrustedIssuerResponse.trusted_issuer:type_name -> authorizer.v1.TrustedIssuer
- 84, // 40: authorizer.v1.UpdateTrustedIssuerResponse.trusted_issuer:type_name -> authorizer.v1.TrustedIssuer
- 84, // 41: authorizer.v1.GetTrustedIssuerResponse.trusted_issuer:type_name -> authorizer.v1.TrustedIssuer
- 95, // 42: authorizer.v1.TrustedIssuersRequest.pagination:type_name -> authorizer.v1.PaginationRequest
- 84, // 43: authorizer.v1.TrustedIssuersResponse.trusted_issuers:type_name -> authorizer.v1.TrustedIssuer
- 97, // 44: authorizer.v1.TrustedIssuersResponse.pagination:type_name -> authorizer.v1.Pagination
- 0, // 45: authorizer.v1.AuthorizerAdminService.AdminLogin:input_type -> authorizer.v1.AdminLoginRequest
- 2, // 46: authorizer.v1.AuthorizerAdminService.AdminLogout:input_type -> authorizer.v1.AdminLogoutRequest
- 4, // 47: authorizer.v1.AuthorizerAdminService.AdminSession:input_type -> authorizer.v1.AdminSessionRequest
- 6, // 48: authorizer.v1.AuthorizerAdminService.AdminMeta:input_type -> authorizer.v1.AdminMetaRequest
- 9, // 49: authorizer.v1.AuthorizerAdminService.Users:input_type -> authorizer.v1.UsersRequest
- 11, // 50: authorizer.v1.AuthorizerAdminService.User:input_type -> authorizer.v1.UserRequest
- 13, // 51: authorizer.v1.AuthorizerAdminService.UpdateUser:input_type -> authorizer.v1.UpdateUserRequest
- 15, // 52: authorizer.v1.AuthorizerAdminService.DeleteUser:input_type -> authorizer.v1.DeleteUserRequest
- 17, // 53: authorizer.v1.AuthorizerAdminService.VerificationRequests:input_type -> authorizer.v1.VerificationRequestsRequest
- 20, // 54: authorizer.v1.AuthorizerAdminService.RevokeAccess:input_type -> authorizer.v1.RevokeAccessRequest
- 22, // 55: authorizer.v1.AuthorizerAdminService.EnableAccess:input_type -> authorizer.v1.EnableAccessRequest
- 24, // 56: authorizer.v1.AuthorizerAdminService.InviteMembers:input_type -> authorizer.v1.InviteMembersRequest
- 28, // 57: authorizer.v1.AuthorizerAdminService.AddWebhook:input_type -> authorizer.v1.AddWebhookRequest
- 30, // 58: authorizer.v1.AuthorizerAdminService.UpdateWebhook:input_type -> authorizer.v1.UpdateWebhookRequest
- 32, // 59: authorizer.v1.AuthorizerAdminService.DeleteWebhook:input_type -> authorizer.v1.DeleteWebhookRequest
- 34, // 60: authorizer.v1.AuthorizerAdminService.GetWebhook:input_type -> authorizer.v1.GetWebhookRequest
- 36, // 61: authorizer.v1.AuthorizerAdminService.Webhooks:input_type -> authorizer.v1.WebhooksRequest
- 38, // 62: authorizer.v1.AuthorizerAdminService.WebhookLogs:input_type -> authorizer.v1.WebhookLogsRequest
- 40, // 63: authorizer.v1.AuthorizerAdminService.TestEndpoint:input_type -> authorizer.v1.TestEndpointRequest
- 43, // 64: authorizer.v1.AuthorizerAdminService.AddEmailTemplate:input_type -> authorizer.v1.AddEmailTemplateRequest
- 45, // 65: authorizer.v1.AuthorizerAdminService.UpdateEmailTemplate:input_type -> authorizer.v1.UpdateEmailTemplateRequest
- 47, // 66: authorizer.v1.AuthorizerAdminService.DeleteEmailTemplate:input_type -> authorizer.v1.DeleteEmailTemplateRequest
- 49, // 67: authorizer.v1.AuthorizerAdminService.EmailTemplates:input_type -> authorizer.v1.EmailTemplatesRequest
- 52, // 68: authorizer.v1.AuthorizerAdminService.AuditLogs:input_type -> authorizer.v1.AuditLogsRequest
- 56, // 69: authorizer.v1.AuthorizerAdminService.FgaGetModel:input_type -> authorizer.v1.FgaGetModelRequest
- 58, // 70: authorizer.v1.AuthorizerAdminService.FgaWriteModel:input_type -> authorizer.v1.FgaWriteModelRequest
- 60, // 71: authorizer.v1.AuthorizerAdminService.FgaWriteTuples:input_type -> authorizer.v1.FgaWriteTuplesRequest
- 62, // 72: authorizer.v1.AuthorizerAdminService.FgaDeleteTuples:input_type -> authorizer.v1.FgaDeleteTuplesRequest
- 64, // 73: authorizer.v1.AuthorizerAdminService.FgaReadTuples:input_type -> authorizer.v1.FgaReadTuplesRequest
- 66, // 74: authorizer.v1.AuthorizerAdminService.FgaListUsers:input_type -> authorizer.v1.FgaListUsersRequest
- 68, // 75: authorizer.v1.AuthorizerAdminService.FgaExpand:input_type -> authorizer.v1.FgaExpandRequest
- 70, // 76: authorizer.v1.AuthorizerAdminService.FgaReset:input_type -> authorizer.v1.FgaResetRequest
- 73, // 77: authorizer.v1.AuthorizerAdminService.CreateClient:input_type -> authorizer.v1.CreateClientRequest
- 75, // 78: authorizer.v1.AuthorizerAdminService.UpdateClient:input_type -> authorizer.v1.UpdateClientRequest
- 77, // 79: authorizer.v1.AuthorizerAdminService.DeleteClient:input_type -> authorizer.v1.DeleteClientRequest
- 79, // 80: authorizer.v1.AuthorizerAdminService.RotateClientSecret:input_type -> authorizer.v1.RotateClientSecretRequest
- 80, // 81: authorizer.v1.AuthorizerAdminService.GetClient:input_type -> authorizer.v1.GetClientRequest
- 82, // 82: authorizer.v1.AuthorizerAdminService.Clients:input_type -> authorizer.v1.ClientsRequest
- 85, // 83: authorizer.v1.AuthorizerAdminService.AddTrustedIssuer:input_type -> authorizer.v1.AddTrustedIssuerRequest
- 87, // 84: authorizer.v1.AuthorizerAdminService.UpdateTrustedIssuer:input_type -> authorizer.v1.UpdateTrustedIssuerRequest
- 89, // 85: authorizer.v1.AuthorizerAdminService.DeleteTrustedIssuer:input_type -> authorizer.v1.DeleteTrustedIssuerRequest
- 91, // 86: authorizer.v1.AuthorizerAdminService.GetTrustedIssuer:input_type -> authorizer.v1.GetTrustedIssuerRequest
- 93, // 87: authorizer.v1.AuthorizerAdminService.TrustedIssuers:input_type -> authorizer.v1.TrustedIssuersRequest
- 1, // 88: authorizer.v1.AuthorizerAdminService.AdminLogin:output_type -> authorizer.v1.AdminLoginResponse
- 3, // 89: authorizer.v1.AuthorizerAdminService.AdminLogout:output_type -> authorizer.v1.AdminLogoutResponse
- 5, // 90: authorizer.v1.AuthorizerAdminService.AdminSession:output_type -> authorizer.v1.AdminSessionResponse
- 7, // 91: authorizer.v1.AuthorizerAdminService.AdminMeta:output_type -> authorizer.v1.AdminMetaResponse
- 10, // 92: authorizer.v1.AuthorizerAdminService.Users:output_type -> authorizer.v1.UsersResponse
- 12, // 93: authorizer.v1.AuthorizerAdminService.User:output_type -> authorizer.v1.UserResponse
- 14, // 94: authorizer.v1.AuthorizerAdminService.UpdateUser:output_type -> authorizer.v1.UpdateUserResponse
- 16, // 95: authorizer.v1.AuthorizerAdminService.DeleteUser:output_type -> authorizer.v1.DeleteUserResponse
- 18, // 96: authorizer.v1.AuthorizerAdminService.VerificationRequests:output_type -> authorizer.v1.VerificationRequestsResponse
- 21, // 97: authorizer.v1.AuthorizerAdminService.RevokeAccess:output_type -> authorizer.v1.RevokeAccessResponse
- 23, // 98: authorizer.v1.AuthorizerAdminService.EnableAccess:output_type -> authorizer.v1.EnableAccessResponse
- 25, // 99: authorizer.v1.AuthorizerAdminService.InviteMembers:output_type -> authorizer.v1.InviteMembersResponse
- 29, // 100: authorizer.v1.AuthorizerAdminService.AddWebhook:output_type -> authorizer.v1.AddWebhookResponse
- 31, // 101: authorizer.v1.AuthorizerAdminService.UpdateWebhook:output_type -> authorizer.v1.UpdateWebhookResponse
- 33, // 102: authorizer.v1.AuthorizerAdminService.DeleteWebhook:output_type -> authorizer.v1.DeleteWebhookResponse
- 35, // 103: authorizer.v1.AuthorizerAdminService.GetWebhook:output_type -> authorizer.v1.GetWebhookResponse
- 37, // 104: authorizer.v1.AuthorizerAdminService.Webhooks:output_type -> authorizer.v1.WebhooksResponse
- 39, // 105: authorizer.v1.AuthorizerAdminService.WebhookLogs:output_type -> authorizer.v1.WebhookLogsResponse
- 41, // 106: authorizer.v1.AuthorizerAdminService.TestEndpoint:output_type -> authorizer.v1.TestEndpointResponse
- 44, // 107: authorizer.v1.AuthorizerAdminService.AddEmailTemplate:output_type -> authorizer.v1.AddEmailTemplateResponse
- 46, // 108: authorizer.v1.AuthorizerAdminService.UpdateEmailTemplate:output_type -> authorizer.v1.UpdateEmailTemplateResponse
- 48, // 109: authorizer.v1.AuthorizerAdminService.DeleteEmailTemplate:output_type -> authorizer.v1.DeleteEmailTemplateResponse
- 50, // 110: authorizer.v1.AuthorizerAdminService.EmailTemplates:output_type -> authorizer.v1.EmailTemplatesResponse
- 53, // 111: authorizer.v1.AuthorizerAdminService.AuditLogs:output_type -> authorizer.v1.AuditLogsResponse
- 57, // 112: authorizer.v1.AuthorizerAdminService.FgaGetModel:output_type -> authorizer.v1.FgaGetModelResponse
- 59, // 113: authorizer.v1.AuthorizerAdminService.FgaWriteModel:output_type -> authorizer.v1.FgaWriteModelResponse
- 61, // 114: authorizer.v1.AuthorizerAdminService.FgaWriteTuples:output_type -> authorizer.v1.FgaWriteTuplesResponse
- 63, // 115: authorizer.v1.AuthorizerAdminService.FgaDeleteTuples:output_type -> authorizer.v1.FgaDeleteTuplesResponse
- 65, // 116: authorizer.v1.AuthorizerAdminService.FgaReadTuples:output_type -> authorizer.v1.FgaReadTuplesResponse
- 67, // 117: authorizer.v1.AuthorizerAdminService.FgaListUsers:output_type -> authorizer.v1.FgaListUsersResponse
- 69, // 118: authorizer.v1.AuthorizerAdminService.FgaExpand:output_type -> authorizer.v1.FgaExpandResponse
- 71, // 119: authorizer.v1.AuthorizerAdminService.FgaReset:output_type -> authorizer.v1.FgaResetResponse
- 74, // 120: authorizer.v1.AuthorizerAdminService.CreateClient:output_type -> authorizer.v1.CreateClientResponse
- 76, // 121: authorizer.v1.AuthorizerAdminService.UpdateClient:output_type -> authorizer.v1.UpdateClientResponse
- 78, // 122: authorizer.v1.AuthorizerAdminService.DeleteClient:output_type -> authorizer.v1.DeleteClientResponse
- 74, // 123: authorizer.v1.AuthorizerAdminService.RotateClientSecret:output_type -> authorizer.v1.CreateClientResponse
- 81, // 124: authorizer.v1.AuthorizerAdminService.GetClient:output_type -> authorizer.v1.GetClientResponse
- 83, // 125: authorizer.v1.AuthorizerAdminService.Clients:output_type -> authorizer.v1.ClientsResponse
- 86, // 126: authorizer.v1.AuthorizerAdminService.AddTrustedIssuer:output_type -> authorizer.v1.AddTrustedIssuerResponse
- 88, // 127: authorizer.v1.AuthorizerAdminService.UpdateTrustedIssuer:output_type -> authorizer.v1.UpdateTrustedIssuerResponse
- 90, // 128: authorizer.v1.AuthorizerAdminService.DeleteTrustedIssuer:output_type -> authorizer.v1.DeleteTrustedIssuerResponse
- 92, // 129: authorizer.v1.AuthorizerAdminService.GetTrustedIssuer:output_type -> authorizer.v1.GetTrustedIssuerResponse
- 94, // 130: authorizer.v1.AuthorizerAdminService.TrustedIssuers:output_type -> authorizer.v1.TrustedIssuersResponse
- 88, // [88:131] is the sub-list for method output_type
- 45, // [45:88] is the sub-list for method input_type
- 45, // [45:45] is the sub-list for extension type_name
- 45, // [45:45] is the sub-list for extension extendee
- 0, // [0:45] is the sub-list for field type_name
-}
-
-func init() { file_authorizer_v1_admin_proto_init() }
-func file_authorizer_v1_admin_proto_init() {
- if File_authorizer_v1_admin_proto != nil {
- return
- }
- file_authorizer_v1_annotations_proto_init()
- file_authorizer_v1_common_proto_init()
- file_authorizer_v1_pagination_proto_init()
- file_authorizer_v1_types_proto_init()
- file_authorizer_v1_admin_proto_msgTypes[13].OneofWrappers = []any{}
- file_authorizer_v1_admin_proto_msgTypes[24].OneofWrappers = []any{}
- file_authorizer_v1_admin_proto_msgTypes[28].OneofWrappers = []any{}
- file_authorizer_v1_admin_proto_msgTypes[30].OneofWrappers = []any{}
- file_authorizer_v1_admin_proto_msgTypes[38].OneofWrappers = []any{}
- file_authorizer_v1_admin_proto_msgTypes[40].OneofWrappers = []any{}
- file_authorizer_v1_admin_proto_msgTypes[43].OneofWrappers = []any{}
- file_authorizer_v1_admin_proto_msgTypes[45].OneofWrappers = []any{}
- file_authorizer_v1_admin_proto_msgTypes[52].OneofWrappers = []any{}
- file_authorizer_v1_admin_proto_msgTypes[64].OneofWrappers = []any{}
- file_authorizer_v1_admin_proto_msgTypes[65].OneofWrappers = []any{}
- file_authorizer_v1_admin_proto_msgTypes[73].OneofWrappers = []any{}
- file_authorizer_v1_admin_proto_msgTypes[75].OneofWrappers = []any{}
- file_authorizer_v1_admin_proto_msgTypes[85].OneofWrappers = []any{}
- file_authorizer_v1_admin_proto_msgTypes[87].OneofWrappers = []any{}
- file_authorizer_v1_admin_proto_msgTypes[93].OneofWrappers = []any{}
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_authorizer_v1_admin_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 95,
- NumExtensions: 0,
- NumServices: 1,
- },
- GoTypes: file_authorizer_v1_admin_proto_goTypes,
- DependencyIndexes: file_authorizer_v1_admin_proto_depIdxs,
- MessageInfos: file_authorizer_v1_admin_proto_msgTypes,
- }.Build()
- File_authorizer_v1_admin_proto = out.File
- file_authorizer_v1_admin_proto_rawDesc = nil
- file_authorizer_v1_admin_proto_goTypes = nil
- file_authorizer_v1_admin_proto_depIdxs = nil
-}
diff --git a/with-grpc/gen/authorizer/v1/admin_grpc.pb.go b/with-grpc/gen/authorizer/v1/admin_grpc.pb.go
deleted file mode 100644
index a657b6b..0000000
--- a/with-grpc/gen/authorizer/v1/admin_grpc.pb.go
+++ /dev/null
@@ -1,1910 +0,0 @@
-// proto/authorizer/v1/admin.proto
-//
-// AuthorizerAdminService exposes Authorizer's super-admin-only operations
-// (the `_`-prefixed GraphQL queries/mutations). It is registered on the SAME
-// grpc.Server and gateway mux as AuthorizerService. Every RPC requires
-// super-admin auth (admin session cookie or x-authorizer-admin-secret header)
-// except AdminLogin, which establishes it. Admin operations are intentionally
-// NOT exposed over MCP.
-
-// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
-// versions:
-// - protoc-gen-go-grpc v1.5.1
-// - protoc (unknown)
-// source: authorizer/v1/admin.proto
-
-package authorizerv1
-
-import (
- context "context"
- grpc "google.golang.org/grpc"
- codes "google.golang.org/grpc/codes"
- status "google.golang.org/grpc/status"
-)
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the grpc package it is being compiled against.
-// Requires gRPC-Go v1.64.0 or later.
-const _ = grpc.SupportPackageIsVersion9
-
-const (
- AuthorizerAdminService_AdminLogin_FullMethodName = "/authorizer.v1.AuthorizerAdminService/AdminLogin"
- AuthorizerAdminService_AdminLogout_FullMethodName = "/authorizer.v1.AuthorizerAdminService/AdminLogout"
- AuthorizerAdminService_AdminSession_FullMethodName = "/authorizer.v1.AuthorizerAdminService/AdminSession"
- AuthorizerAdminService_AdminMeta_FullMethodName = "/authorizer.v1.AuthorizerAdminService/AdminMeta"
- AuthorizerAdminService_Users_FullMethodName = "/authorizer.v1.AuthorizerAdminService/Users"
- AuthorizerAdminService_User_FullMethodName = "/authorizer.v1.AuthorizerAdminService/User"
- AuthorizerAdminService_UpdateUser_FullMethodName = "/authorizer.v1.AuthorizerAdminService/UpdateUser"
- AuthorizerAdminService_DeleteUser_FullMethodName = "/authorizer.v1.AuthorizerAdminService/DeleteUser"
- AuthorizerAdminService_VerificationRequests_FullMethodName = "/authorizer.v1.AuthorizerAdminService/VerificationRequests"
- AuthorizerAdminService_RevokeAccess_FullMethodName = "/authorizer.v1.AuthorizerAdminService/RevokeAccess"
- AuthorizerAdminService_EnableAccess_FullMethodName = "/authorizer.v1.AuthorizerAdminService/EnableAccess"
- AuthorizerAdminService_InviteMembers_FullMethodName = "/authorizer.v1.AuthorizerAdminService/InviteMembers"
- AuthorizerAdminService_AddWebhook_FullMethodName = "/authorizer.v1.AuthorizerAdminService/AddWebhook"
- AuthorizerAdminService_UpdateWebhook_FullMethodName = "/authorizer.v1.AuthorizerAdminService/UpdateWebhook"
- AuthorizerAdminService_DeleteWebhook_FullMethodName = "/authorizer.v1.AuthorizerAdminService/DeleteWebhook"
- AuthorizerAdminService_GetWebhook_FullMethodName = "/authorizer.v1.AuthorizerAdminService/GetWebhook"
- AuthorizerAdminService_Webhooks_FullMethodName = "/authorizer.v1.AuthorizerAdminService/Webhooks"
- AuthorizerAdminService_WebhookLogs_FullMethodName = "/authorizer.v1.AuthorizerAdminService/WebhookLogs"
- AuthorizerAdminService_TestEndpoint_FullMethodName = "/authorizer.v1.AuthorizerAdminService/TestEndpoint"
- AuthorizerAdminService_AddEmailTemplate_FullMethodName = "/authorizer.v1.AuthorizerAdminService/AddEmailTemplate"
- AuthorizerAdminService_UpdateEmailTemplate_FullMethodName = "/authorizer.v1.AuthorizerAdminService/UpdateEmailTemplate"
- AuthorizerAdminService_DeleteEmailTemplate_FullMethodName = "/authorizer.v1.AuthorizerAdminService/DeleteEmailTemplate"
- AuthorizerAdminService_EmailTemplates_FullMethodName = "/authorizer.v1.AuthorizerAdminService/EmailTemplates"
- AuthorizerAdminService_AuditLogs_FullMethodName = "/authorizer.v1.AuthorizerAdminService/AuditLogs"
- AuthorizerAdminService_FgaGetModel_FullMethodName = "/authorizer.v1.AuthorizerAdminService/FgaGetModel"
- AuthorizerAdminService_FgaWriteModel_FullMethodName = "/authorizer.v1.AuthorizerAdminService/FgaWriteModel"
- AuthorizerAdminService_FgaWriteTuples_FullMethodName = "/authorizer.v1.AuthorizerAdminService/FgaWriteTuples"
- AuthorizerAdminService_FgaDeleteTuples_FullMethodName = "/authorizer.v1.AuthorizerAdminService/FgaDeleteTuples"
- AuthorizerAdminService_FgaReadTuples_FullMethodName = "/authorizer.v1.AuthorizerAdminService/FgaReadTuples"
- AuthorizerAdminService_FgaListUsers_FullMethodName = "/authorizer.v1.AuthorizerAdminService/FgaListUsers"
- AuthorizerAdminService_FgaExpand_FullMethodName = "/authorizer.v1.AuthorizerAdminService/FgaExpand"
- AuthorizerAdminService_FgaReset_FullMethodName = "/authorizer.v1.AuthorizerAdminService/FgaReset"
- AuthorizerAdminService_CreateClient_FullMethodName = "/authorizer.v1.AuthorizerAdminService/CreateClient"
- AuthorizerAdminService_UpdateClient_FullMethodName = "/authorizer.v1.AuthorizerAdminService/UpdateClient"
- AuthorizerAdminService_DeleteClient_FullMethodName = "/authorizer.v1.AuthorizerAdminService/DeleteClient"
- AuthorizerAdminService_RotateClientSecret_FullMethodName = "/authorizer.v1.AuthorizerAdminService/RotateClientSecret"
- AuthorizerAdminService_GetClient_FullMethodName = "/authorizer.v1.AuthorizerAdminService/GetClient"
- AuthorizerAdminService_Clients_FullMethodName = "/authorizer.v1.AuthorizerAdminService/Clients"
- AuthorizerAdminService_AddTrustedIssuer_FullMethodName = "/authorizer.v1.AuthorizerAdminService/AddTrustedIssuer"
- AuthorizerAdminService_UpdateTrustedIssuer_FullMethodName = "/authorizer.v1.AuthorizerAdminService/UpdateTrustedIssuer"
- AuthorizerAdminService_DeleteTrustedIssuer_FullMethodName = "/authorizer.v1.AuthorizerAdminService/DeleteTrustedIssuer"
- AuthorizerAdminService_GetTrustedIssuer_FullMethodName = "/authorizer.v1.AuthorizerAdminService/GetTrustedIssuer"
- AuthorizerAdminService_TrustedIssuers_FullMethodName = "/authorizer.v1.AuthorizerAdminService/TrustedIssuers"
-)
-
-// AuthorizerAdminServiceClient is the client API for AuthorizerAdminService service.
-//
-// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
-//
-// AuthorizerAdminService is the single gRPC service for Authorizer's admin
-// (super-admin-only) API surface. RPCs are added one domain group at a time;
-// see specs/2026-06-15-authorizer-admin-service-plan.md.
-type AuthorizerAdminServiceClient interface {
- // AdminLogin validates the admin secret and establishes an admin session
- // (Set-Cookie for browser callers). Public entry point — the ONLY admin RPC
- // that does not require an existing super-admin session.
- AdminLogin(ctx context.Context, in *AdminLoginRequest, opts ...grpc.CallOption) (*AdminLoginResponse, error)
- // AdminLogout clears the admin session cookie. Requires super-admin auth.
- AdminLogout(ctx context.Context, in *AdminLogoutRequest, opts ...grpc.CallOption) (*AdminLogoutResponse, error)
- // AdminSession refreshes the admin session cookie. Requires super-admin auth.
- AdminSession(ctx context.Context, in *AdminSessionRequest, opts ...grpc.CallOption) (*AdminSessionResponse, error)
- // AdminMeta returns admin-only configuration metadata (configured roles,
- // default roles, protected roles). Requires super-admin auth.
- AdminMeta(ctx context.Context, in *AdminMetaRequest, opts ...grpc.CallOption) (*AdminMetaResponse, error)
- // Users returns a paginated list of all users. Requires super-admin auth.
- Users(ctx context.Context, in *UsersRequest, opts ...grpc.CallOption) (*UsersResponse, error)
- // User returns a single user by id or email. Requires super-admin auth.
- User(ctx context.Context, in *UserRequest, opts ...grpc.CallOption) (*UserResponse, error)
- // UpdateUser updates a user's profile, roles, MFA, or verification state and
- // returns the updated user. Requires super-admin auth.
- UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error)
- // DeleteUser deletes a user (and associated OTP/verification data) by email.
- // Requires super-admin auth.
- DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error)
- // VerificationRequests returns a paginated list of pending verification
- // requests. Requires super-admin auth.
- VerificationRequests(ctx context.Context, in *VerificationRequestsRequest, opts ...grpc.CallOption) (*VerificationRequestsResponse, error)
- // RevokeAccess revokes a user's access (sets the revoked timestamp), kills
- // their sessions, and fires the access-revoked webhook. Requires super-admin
- // auth.
- RevokeAccess(ctx context.Context, in *RevokeAccessRequest, opts ...grpc.CallOption) (*RevokeAccessResponse, error)
- // EnableAccess re-enables a previously revoked user (clears the revoked
- // timestamp) and fires the access-enabled webhook. Requires super-admin auth.
- EnableAccess(ctx context.Context, in *EnableAccessRequest, opts ...grpc.CallOption) (*EnableAccessResponse, error)
- // InviteMembers creates accounts for new emails and sends invite emails.
- // Requires super-admin auth and a configured email service.
- InviteMembers(ctx context.Context, in *InviteMembersRequest, opts ...grpc.CallOption) (*InviteMembersResponse, error)
- // AddWebhook registers a new webhook for an event. Requires super-admin auth.
- AddWebhook(ctx context.Context, in *AddWebhookRequest, opts ...grpc.CallOption) (*AddWebhookResponse, error)
- // UpdateWebhook updates an existing webhook's event, endpoint, headers, or
- // enabled state. Requires super-admin auth.
- UpdateWebhook(ctx context.Context, in *UpdateWebhookRequest, opts ...grpc.CallOption) (*UpdateWebhookResponse, error)
- // DeleteWebhook deletes a webhook by id. Requires super-admin auth.
- DeleteWebhook(ctx context.Context, in *DeleteWebhookRequest, opts ...grpc.CallOption) (*DeleteWebhookResponse, error)
- // GetWebhook returns a single webhook by id. Requires super-admin auth.
- GetWebhook(ctx context.Context, in *GetWebhookRequest, opts ...grpc.CallOption) (*GetWebhookResponse, error)
- // Webhooks returns a paginated list of webhooks. Requires super-admin auth.
- Webhooks(ctx context.Context, in *WebhooksRequest, opts ...grpc.CallOption) (*WebhooksResponse, error)
- // WebhookLogs returns a paginated list of webhook delivery logs, optionally
- // filtered by webhook id. Requires super-admin auth.
- WebhookLogs(ctx context.Context, in *WebhookLogsRequest, opts ...grpc.CallOption) (*WebhookLogsResponse, error)
- // TestEndpoint sends a synthetic event payload to a webhook endpoint and
- // returns the HTTP status and response body. Requires super-admin auth.
- TestEndpoint(ctx context.Context, in *TestEndpointRequest, opts ...grpc.CallOption) (*TestEndpointResponse, error)
- // AddEmailTemplate creates a new email template for an event. Requires
- // super-admin auth.
- AddEmailTemplate(ctx context.Context, in *AddEmailTemplateRequest, opts ...grpc.CallOption) (*AddEmailTemplateResponse, error)
- // UpdateEmailTemplate updates an existing email template's event, subject,
- // body, or design. Requires super-admin auth.
- UpdateEmailTemplate(ctx context.Context, in *UpdateEmailTemplateRequest, opts ...grpc.CallOption) (*UpdateEmailTemplateResponse, error)
- // DeleteEmailTemplate deletes an email template by id. Requires super-admin
- // auth.
- DeleteEmailTemplate(ctx context.Context, in *DeleteEmailTemplateRequest, opts ...grpc.CallOption) (*DeleteEmailTemplateResponse, error)
- // EmailTemplates returns a paginated list of email templates. Requires
- // super-admin auth.
- EmailTemplates(ctx context.Context, in *EmailTemplatesRequest, opts ...grpc.CallOption) (*EmailTemplatesResponse, error)
- // AuditLogs returns a paginated, optionally-filtered list of audit log
- // entries. Requires super-admin auth.
- AuditLogs(ctx context.Context, in *AuditLogsRequest, opts ...grpc.CallOption) (*AuditLogsResponse, error)
- // FgaGetModel returns the active fine-grained authorization model as DSL. A
- // store with no model yet returns an empty model (not an error). Requires
- // super-admin auth.
- FgaGetModel(ctx context.Context, in *FgaGetModelRequest, opts ...grpc.CallOption) (*FgaGetModelResponse, error)
- // FgaWriteModel installs a new fine-grained authorization model from its DSL
- // and returns the new model id. Requires super-admin auth. Audited.
- FgaWriteModel(ctx context.Context, in *FgaWriteModelRequest, opts ...grpc.CallOption) (*FgaWriteModelResponse, error)
- // FgaWriteTuples persists the given relationship tuples (additive). Requires
- // super-admin auth. Audited.
- FgaWriteTuples(ctx context.Context, in *FgaWriteTuplesRequest, opts ...grpc.CallOption) (*FgaWriteTuplesResponse, error)
- // FgaDeleteTuples removes the given relationship tuples. Requires super-admin
- // auth. Audited.
- FgaDeleteTuples(ctx context.Context, in *FgaDeleteTuplesRequest, opts ...grpc.CallOption) (*FgaDeleteTuplesResponse, error)
- // FgaReadTuples returns a page of persisted tuples matching the filter.
- // Requires super-admin auth.
- FgaReadTuples(ctx context.Context, in *FgaReadTuplesRequest, opts ...grpc.CallOption) (*FgaReadTuplesResponse, error)
- // FgaListUsers returns the fully-qualified user ids of user_type that have
- // relation on object ("who can access this object?"). Requires super-admin
- // auth.
- FgaListUsers(ctx context.Context, in *FgaListUsersRequest, opts ...grpc.CallOption) (*FgaListUsersResponse, error)
- // FgaExpand returns the OpenFGA relationship/userset tree for (relation,
- // object) as a JSON string (the explainability primitive). Requires
- // super-admin auth.
- FgaExpand(ctx context.Context, in *FgaExpandRequest, opts ...grpc.CallOption) (*FgaExpandResponse, error)
- // FgaReset deletes the entire fine-grained authorization store (the model,
- // all its versions, and all tuples) and starts a fresh, empty store. Refused
- // while any tuples still exist. Requires super-admin auth. Destructive and
- // audited.
- FgaReset(ctx context.Context, in *FgaResetRequest, opts ...grpc.CallOption) (*FgaResetResponse, error)
- // CreateClient provisions a new machine/workload identity and returns
- // the generated client secret exactly once (only the bcrypt hash is stored).
- // Requires super-admin auth.
- CreateClient(ctx context.Context, in *CreateClientRequest, opts ...grpc.CallOption) (*CreateClientResponse, error)
- // UpdateClient updates a service account's name, description, allowed
- // scopes, or active state. It never touches the client secret. Requires
- // super-admin auth.
- UpdateClient(ctx context.Context, in *UpdateClientRequest, opts ...grpc.CallOption) (*UpdateClientResponse, error)
- // DeleteClient deletes a service account by id, cascading to its
- // trusted issuers. Requires super-admin auth.
- DeleteClient(ctx context.Context, in *DeleteClientRequest, opts ...grpc.CallOption) (*DeleteClientResponse, error)
- // RotateClientSecret replaces the stored client secret with a fresh
- // one and returns the new plaintext exactly once (the old secret stops
- // validating immediately). Reuses CreateClientResponse — the only
- // admin message that carries a secret. Requires super-admin auth.
- RotateClientSecret(ctx context.Context, in *RotateClientSecretRequest, opts ...grpc.CallOption) (*CreateClientResponse, error)
- // GetClient returns a single service account by id. The client secret
- // is never surfaced. Requires super-admin auth.
- GetClient(ctx context.Context, in *GetClientRequest, opts ...grpc.CallOption) (*GetClientResponse, error)
- // Clients returns a paginated list of service accounts. Client secrets
- // are never surfaced. Requires super-admin auth.
- Clients(ctx context.Context, in *ClientsRequest, opts ...grpc.CallOption) (*ClientsResponse, error)
- // AddTrustedIssuer registers an external JWT issuer for a service account.
- // subject_claim defaults to "sub" when omitted. Requires super-admin auth.
- AddTrustedIssuer(ctx context.Context, in *AddTrustedIssuerRequest, opts ...grpc.CallOption) (*AddTrustedIssuerResponse, error)
- // UpdateTrustedIssuer updates a trusted issuer's name, JWKS URL, expected
- // audience, active state, or SPIFFE refresh hint. Requires super-admin auth.
- UpdateTrustedIssuer(ctx context.Context, in *UpdateTrustedIssuerRequest, opts ...grpc.CallOption) (*UpdateTrustedIssuerResponse, error)
- // DeleteTrustedIssuer deletes a trusted issuer by id. Requires super-admin
- // auth.
- DeleteTrustedIssuer(ctx context.Context, in *DeleteTrustedIssuerRequest, opts ...grpc.CallOption) (*DeleteTrustedIssuerResponse, error)
- // GetTrustedIssuer returns a single trusted issuer by id. Requires super-admin
- // auth.
- GetTrustedIssuer(ctx context.Context, in *GetTrustedIssuerRequest, opts ...grpc.CallOption) (*GetTrustedIssuerResponse, error)
- // TrustedIssuers returns a paginated list of trusted issuers, optionally
- // filtered by service_account_id. Requires super-admin auth.
- TrustedIssuers(ctx context.Context, in *TrustedIssuersRequest, opts ...grpc.CallOption) (*TrustedIssuersResponse, error)
-}
-
-type authorizerAdminServiceClient struct {
- cc grpc.ClientConnInterface
-}
-
-func NewAuthorizerAdminServiceClient(cc grpc.ClientConnInterface) AuthorizerAdminServiceClient {
- return &authorizerAdminServiceClient{cc}
-}
-
-func (c *authorizerAdminServiceClient) AdminLogin(ctx context.Context, in *AdminLoginRequest, opts ...grpc.CallOption) (*AdminLoginResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AdminLoginResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_AdminLogin_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) AdminLogout(ctx context.Context, in *AdminLogoutRequest, opts ...grpc.CallOption) (*AdminLogoutResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AdminLogoutResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_AdminLogout_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) AdminSession(ctx context.Context, in *AdminSessionRequest, opts ...grpc.CallOption) (*AdminSessionResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AdminSessionResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_AdminSession_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) AdminMeta(ctx context.Context, in *AdminMetaRequest, opts ...grpc.CallOption) (*AdminMetaResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AdminMetaResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_AdminMeta_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) Users(ctx context.Context, in *UsersRequest, opts ...grpc.CallOption) (*UsersResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UsersResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_Users_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) User(ctx context.Context, in *UserRequest, opts ...grpc.CallOption) (*UserResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UserResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_User_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UpdateUserResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_UpdateUser_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(DeleteUserResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_DeleteUser_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) VerificationRequests(ctx context.Context, in *VerificationRequestsRequest, opts ...grpc.CallOption) (*VerificationRequestsResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(VerificationRequestsResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_VerificationRequests_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) RevokeAccess(ctx context.Context, in *RevokeAccessRequest, opts ...grpc.CallOption) (*RevokeAccessResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(RevokeAccessResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_RevokeAccess_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) EnableAccess(ctx context.Context, in *EnableAccessRequest, opts ...grpc.CallOption) (*EnableAccessResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(EnableAccessResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_EnableAccess_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) InviteMembers(ctx context.Context, in *InviteMembersRequest, opts ...grpc.CallOption) (*InviteMembersResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(InviteMembersResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_InviteMembers_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) AddWebhook(ctx context.Context, in *AddWebhookRequest, opts ...grpc.CallOption) (*AddWebhookResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AddWebhookResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_AddWebhook_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) UpdateWebhook(ctx context.Context, in *UpdateWebhookRequest, opts ...grpc.CallOption) (*UpdateWebhookResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UpdateWebhookResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_UpdateWebhook_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) DeleteWebhook(ctx context.Context, in *DeleteWebhookRequest, opts ...grpc.CallOption) (*DeleteWebhookResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(DeleteWebhookResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_DeleteWebhook_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) GetWebhook(ctx context.Context, in *GetWebhookRequest, opts ...grpc.CallOption) (*GetWebhookResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(GetWebhookResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_GetWebhook_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) Webhooks(ctx context.Context, in *WebhooksRequest, opts ...grpc.CallOption) (*WebhooksResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(WebhooksResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_Webhooks_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) WebhookLogs(ctx context.Context, in *WebhookLogsRequest, opts ...grpc.CallOption) (*WebhookLogsResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(WebhookLogsResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_WebhookLogs_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) TestEndpoint(ctx context.Context, in *TestEndpointRequest, opts ...grpc.CallOption) (*TestEndpointResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(TestEndpointResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_TestEndpoint_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) AddEmailTemplate(ctx context.Context, in *AddEmailTemplateRequest, opts ...grpc.CallOption) (*AddEmailTemplateResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AddEmailTemplateResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_AddEmailTemplate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) UpdateEmailTemplate(ctx context.Context, in *UpdateEmailTemplateRequest, opts ...grpc.CallOption) (*UpdateEmailTemplateResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UpdateEmailTemplateResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_UpdateEmailTemplate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) DeleteEmailTemplate(ctx context.Context, in *DeleteEmailTemplateRequest, opts ...grpc.CallOption) (*DeleteEmailTemplateResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(DeleteEmailTemplateResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_DeleteEmailTemplate_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) EmailTemplates(ctx context.Context, in *EmailTemplatesRequest, opts ...grpc.CallOption) (*EmailTemplatesResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(EmailTemplatesResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_EmailTemplates_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) AuditLogs(ctx context.Context, in *AuditLogsRequest, opts ...grpc.CallOption) (*AuditLogsResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AuditLogsResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_AuditLogs_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) FgaGetModel(ctx context.Context, in *FgaGetModelRequest, opts ...grpc.CallOption) (*FgaGetModelResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(FgaGetModelResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_FgaGetModel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) FgaWriteModel(ctx context.Context, in *FgaWriteModelRequest, opts ...grpc.CallOption) (*FgaWriteModelResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(FgaWriteModelResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_FgaWriteModel_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) FgaWriteTuples(ctx context.Context, in *FgaWriteTuplesRequest, opts ...grpc.CallOption) (*FgaWriteTuplesResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(FgaWriteTuplesResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_FgaWriteTuples_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) FgaDeleteTuples(ctx context.Context, in *FgaDeleteTuplesRequest, opts ...grpc.CallOption) (*FgaDeleteTuplesResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(FgaDeleteTuplesResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_FgaDeleteTuples_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) FgaReadTuples(ctx context.Context, in *FgaReadTuplesRequest, opts ...grpc.CallOption) (*FgaReadTuplesResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(FgaReadTuplesResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_FgaReadTuples_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) FgaListUsers(ctx context.Context, in *FgaListUsersRequest, opts ...grpc.CallOption) (*FgaListUsersResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(FgaListUsersResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_FgaListUsers_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) FgaExpand(ctx context.Context, in *FgaExpandRequest, opts ...grpc.CallOption) (*FgaExpandResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(FgaExpandResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_FgaExpand_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) FgaReset(ctx context.Context, in *FgaResetRequest, opts ...grpc.CallOption) (*FgaResetResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(FgaResetResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_FgaReset_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) CreateClient(ctx context.Context, in *CreateClientRequest, opts ...grpc.CallOption) (*CreateClientResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(CreateClientResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_CreateClient_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) UpdateClient(ctx context.Context, in *UpdateClientRequest, opts ...grpc.CallOption) (*UpdateClientResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UpdateClientResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_UpdateClient_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) DeleteClient(ctx context.Context, in *DeleteClientRequest, opts ...grpc.CallOption) (*DeleteClientResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(DeleteClientResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_DeleteClient_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) RotateClientSecret(ctx context.Context, in *RotateClientSecretRequest, opts ...grpc.CallOption) (*CreateClientResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(CreateClientResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_RotateClientSecret_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) GetClient(ctx context.Context, in *GetClientRequest, opts ...grpc.CallOption) (*GetClientResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(GetClientResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_GetClient_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) Clients(ctx context.Context, in *ClientsRequest, opts ...grpc.CallOption) (*ClientsResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(ClientsResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_Clients_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) AddTrustedIssuer(ctx context.Context, in *AddTrustedIssuerRequest, opts ...grpc.CallOption) (*AddTrustedIssuerResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(AddTrustedIssuerResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_AddTrustedIssuer_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) UpdateTrustedIssuer(ctx context.Context, in *UpdateTrustedIssuerRequest, opts ...grpc.CallOption) (*UpdateTrustedIssuerResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(UpdateTrustedIssuerResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_UpdateTrustedIssuer_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) DeleteTrustedIssuer(ctx context.Context, in *DeleteTrustedIssuerRequest, opts ...grpc.CallOption) (*DeleteTrustedIssuerResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(DeleteTrustedIssuerResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_DeleteTrustedIssuer_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) GetTrustedIssuer(ctx context.Context, in *GetTrustedIssuerRequest, opts ...grpc.CallOption) (*GetTrustedIssuerResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(GetTrustedIssuerResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_GetTrustedIssuer_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *authorizerAdminServiceClient) TrustedIssuers(ctx context.Context, in *TrustedIssuersRequest, opts ...grpc.CallOption) (*TrustedIssuersResponse, error) {
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
- out := new(TrustedIssuersResponse)
- err := c.cc.Invoke(ctx, AuthorizerAdminService_TrustedIssuers_FullMethodName, in, out, cOpts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-// AuthorizerAdminServiceServer is the server API for AuthorizerAdminService service.
-// All implementations should embed UnimplementedAuthorizerAdminServiceServer
-// for forward compatibility.
-//
-// AuthorizerAdminService is the single gRPC service for Authorizer's admin
-// (super-admin-only) API surface. RPCs are added one domain group at a time;
-// see specs/2026-06-15-authorizer-admin-service-plan.md.
-type AuthorizerAdminServiceServer interface {
- // AdminLogin validates the admin secret and establishes an admin session
- // (Set-Cookie for browser callers). Public entry point — the ONLY admin RPC
- // that does not require an existing super-admin session.
- AdminLogin(context.Context, *AdminLoginRequest) (*AdminLoginResponse, error)
- // AdminLogout clears the admin session cookie. Requires super-admin auth.
- AdminLogout(context.Context, *AdminLogoutRequest) (*AdminLogoutResponse, error)
- // AdminSession refreshes the admin session cookie. Requires super-admin auth.
- AdminSession(context.Context, *AdminSessionRequest) (*AdminSessionResponse, error)
- // AdminMeta returns admin-only configuration metadata (configured roles,
- // default roles, protected roles). Requires super-admin auth.
- AdminMeta(context.Context, *AdminMetaRequest) (*AdminMetaResponse, error)
- // Users returns a paginated list of all users. Requires super-admin auth.
- Users(context.Context, *UsersRequest) (*UsersResponse, error)
- // User returns a single user by id or email. Requires super-admin auth.
- User(context.Context, *UserRequest) (*UserResponse, error)
- // UpdateUser updates a user's profile, roles, MFA, or verification state and
- // returns the updated user. Requires super-admin auth.
- UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
- // DeleteUser deletes a user (and associated OTP/verification data) by email.
- // Requires super-admin auth.
- DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
- // VerificationRequests returns a paginated list of pending verification
- // requests. Requires super-admin auth.
- VerificationRequests(context.Context, *VerificationRequestsRequest) (*VerificationRequestsResponse, error)
- // RevokeAccess revokes a user's access (sets the revoked timestamp), kills
- // their sessions, and fires the access-revoked webhook. Requires super-admin
- // auth.
- RevokeAccess(context.Context, *RevokeAccessRequest) (*RevokeAccessResponse, error)
- // EnableAccess re-enables a previously revoked user (clears the revoked
- // timestamp) and fires the access-enabled webhook. Requires super-admin auth.
- EnableAccess(context.Context, *EnableAccessRequest) (*EnableAccessResponse, error)
- // InviteMembers creates accounts for new emails and sends invite emails.
- // Requires super-admin auth and a configured email service.
- InviteMembers(context.Context, *InviteMembersRequest) (*InviteMembersResponse, error)
- // AddWebhook registers a new webhook for an event. Requires super-admin auth.
- AddWebhook(context.Context, *AddWebhookRequest) (*AddWebhookResponse, error)
- // UpdateWebhook updates an existing webhook's event, endpoint, headers, or
- // enabled state. Requires super-admin auth.
- UpdateWebhook(context.Context, *UpdateWebhookRequest) (*UpdateWebhookResponse, error)
- // DeleteWebhook deletes a webhook by id. Requires super-admin auth.
- DeleteWebhook(context.Context, *DeleteWebhookRequest) (*DeleteWebhookResponse, error)
- // GetWebhook returns a single webhook by id. Requires super-admin auth.
- GetWebhook(context.Context, *GetWebhookRequest) (*GetWebhookResponse, error)
- // Webhooks returns a paginated list of webhooks. Requires super-admin auth.
- Webhooks(context.Context, *WebhooksRequest) (*WebhooksResponse, error)
- // WebhookLogs returns a paginated list of webhook delivery logs, optionally
- // filtered by webhook id. Requires super-admin auth.
- WebhookLogs(context.Context, *WebhookLogsRequest) (*WebhookLogsResponse, error)
- // TestEndpoint sends a synthetic event payload to a webhook endpoint and
- // returns the HTTP status and response body. Requires super-admin auth.
- TestEndpoint(context.Context, *TestEndpointRequest) (*TestEndpointResponse, error)
- // AddEmailTemplate creates a new email template for an event. Requires
- // super-admin auth.
- AddEmailTemplate(context.Context, *AddEmailTemplateRequest) (*AddEmailTemplateResponse, error)
- // UpdateEmailTemplate updates an existing email template's event, subject,
- // body, or design. Requires super-admin auth.
- UpdateEmailTemplate(context.Context, *UpdateEmailTemplateRequest) (*UpdateEmailTemplateResponse, error)
- // DeleteEmailTemplate deletes an email template by id. Requires super-admin
- // auth.
- DeleteEmailTemplate(context.Context, *DeleteEmailTemplateRequest) (*DeleteEmailTemplateResponse, error)
- // EmailTemplates returns a paginated list of email templates. Requires
- // super-admin auth.
- EmailTemplates(context.Context, *EmailTemplatesRequest) (*EmailTemplatesResponse, error)
- // AuditLogs returns a paginated, optionally-filtered list of audit log
- // entries. Requires super-admin auth.
- AuditLogs(context.Context, *AuditLogsRequest) (*AuditLogsResponse, error)
- // FgaGetModel returns the active fine-grained authorization model as DSL. A
- // store with no model yet returns an empty model (not an error). Requires
- // super-admin auth.
- FgaGetModel(context.Context, *FgaGetModelRequest) (*FgaGetModelResponse, error)
- // FgaWriteModel installs a new fine-grained authorization model from its DSL
- // and returns the new model id. Requires super-admin auth. Audited.
- FgaWriteModel(context.Context, *FgaWriteModelRequest) (*FgaWriteModelResponse, error)
- // FgaWriteTuples persists the given relationship tuples (additive). Requires
- // super-admin auth. Audited.
- FgaWriteTuples(context.Context, *FgaWriteTuplesRequest) (*FgaWriteTuplesResponse, error)
- // FgaDeleteTuples removes the given relationship tuples. Requires super-admin
- // auth. Audited.
- FgaDeleteTuples(context.Context, *FgaDeleteTuplesRequest) (*FgaDeleteTuplesResponse, error)
- // FgaReadTuples returns a page of persisted tuples matching the filter.
- // Requires super-admin auth.
- FgaReadTuples(context.Context, *FgaReadTuplesRequest) (*FgaReadTuplesResponse, error)
- // FgaListUsers returns the fully-qualified user ids of user_type that have
- // relation on object ("who can access this object?"). Requires super-admin
- // auth.
- FgaListUsers(context.Context, *FgaListUsersRequest) (*FgaListUsersResponse, error)
- // FgaExpand returns the OpenFGA relationship/userset tree for (relation,
- // object) as a JSON string (the explainability primitive). Requires
- // super-admin auth.
- FgaExpand(context.Context, *FgaExpandRequest) (*FgaExpandResponse, error)
- // FgaReset deletes the entire fine-grained authorization store (the model,
- // all its versions, and all tuples) and starts a fresh, empty store. Refused
- // while any tuples still exist. Requires super-admin auth. Destructive and
- // audited.
- FgaReset(context.Context, *FgaResetRequest) (*FgaResetResponse, error)
- // CreateClient provisions a new machine/workload identity and returns
- // the generated client secret exactly once (only the bcrypt hash is stored).
- // Requires super-admin auth.
- CreateClient(context.Context, *CreateClientRequest) (*CreateClientResponse, error)
- // UpdateClient updates a service account's name, description, allowed
- // scopes, or active state. It never touches the client secret. Requires
- // super-admin auth.
- UpdateClient(context.Context, *UpdateClientRequest) (*UpdateClientResponse, error)
- // DeleteClient deletes a service account by id, cascading to its
- // trusted issuers. Requires super-admin auth.
- DeleteClient(context.Context, *DeleteClientRequest) (*DeleteClientResponse, error)
- // RotateClientSecret replaces the stored client secret with a fresh
- // one and returns the new plaintext exactly once (the old secret stops
- // validating immediately). Reuses CreateClientResponse — the only
- // admin message that carries a secret. Requires super-admin auth.
- RotateClientSecret(context.Context, *RotateClientSecretRequest) (*CreateClientResponse, error)
- // GetClient returns a single service account by id. The client secret
- // is never surfaced. Requires super-admin auth.
- GetClient(context.Context, *GetClientRequest) (*GetClientResponse, error)
- // Clients returns a paginated list of service accounts. Client secrets
- // are never surfaced. Requires super-admin auth.
- Clients(context.Context, *ClientsRequest) (*ClientsResponse, error)
- // AddTrustedIssuer registers an external JWT issuer for a service account.
- // subject_claim defaults to "sub" when omitted. Requires super-admin auth.
- AddTrustedIssuer(context.Context, *AddTrustedIssuerRequest) (*AddTrustedIssuerResponse, error)
- // UpdateTrustedIssuer updates a trusted issuer's name, JWKS URL, expected
- // audience, active state, or SPIFFE refresh hint. Requires super-admin auth.
- UpdateTrustedIssuer(context.Context, *UpdateTrustedIssuerRequest) (*UpdateTrustedIssuerResponse, error)
- // DeleteTrustedIssuer deletes a trusted issuer by id. Requires super-admin
- // auth.
- DeleteTrustedIssuer(context.Context, *DeleteTrustedIssuerRequest) (*DeleteTrustedIssuerResponse, error)
- // GetTrustedIssuer returns a single trusted issuer by id. Requires super-admin
- // auth.
- GetTrustedIssuer(context.Context, *GetTrustedIssuerRequest) (*GetTrustedIssuerResponse, error)
- // TrustedIssuers returns a paginated list of trusted issuers, optionally
- // filtered by service_account_id. Requires super-admin auth.
- TrustedIssuers(context.Context, *TrustedIssuersRequest) (*TrustedIssuersResponse, error)
-}
-
-// UnimplementedAuthorizerAdminServiceServer should be embedded to have
-// forward compatible implementations.
-//
-// NOTE: this should be embedded by value instead of pointer to avoid a nil
-// pointer dereference when methods are called.
-type UnimplementedAuthorizerAdminServiceServer struct{}
-
-func (UnimplementedAuthorizerAdminServiceServer) AdminLogin(context.Context, *AdminLoginRequest) (*AdminLoginResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AdminLogin not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) AdminLogout(context.Context, *AdminLogoutRequest) (*AdminLogoutResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AdminLogout not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) AdminSession(context.Context, *AdminSessionRequest) (*AdminSessionResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AdminSession not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) AdminMeta(context.Context, *AdminMetaRequest) (*AdminMetaResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AdminMeta not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) Users(context.Context, *UsersRequest) (*UsersResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method Users not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) User(context.Context, *UserRequest) (*UserResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method User not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpdateUser not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DeleteUser not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) VerificationRequests(context.Context, *VerificationRequestsRequest) (*VerificationRequestsResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VerificationRequests not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) RevokeAccess(context.Context, *RevokeAccessRequest) (*RevokeAccessResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method RevokeAccess not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) EnableAccess(context.Context, *EnableAccessRequest) (*EnableAccessResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method EnableAccess not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) InviteMembers(context.Context, *InviteMembersRequest) (*InviteMembersResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method InviteMembers not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) AddWebhook(context.Context, *AddWebhookRequest) (*AddWebhookResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AddWebhook not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) UpdateWebhook(context.Context, *UpdateWebhookRequest) (*UpdateWebhookResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpdateWebhook not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) DeleteWebhook(context.Context, *DeleteWebhookRequest) (*DeleteWebhookResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DeleteWebhook not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) GetWebhook(context.Context, *GetWebhookRequest) (*GetWebhookResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetWebhook not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) Webhooks(context.Context, *WebhooksRequest) (*WebhooksResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method Webhooks not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) WebhookLogs(context.Context, *WebhookLogsRequest) (*WebhookLogsResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method WebhookLogs not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) TestEndpoint(context.Context, *TestEndpointRequest) (*TestEndpointResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method TestEndpoint not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) AddEmailTemplate(context.Context, *AddEmailTemplateRequest) (*AddEmailTemplateResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AddEmailTemplate not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) UpdateEmailTemplate(context.Context, *UpdateEmailTemplateRequest) (*UpdateEmailTemplateResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpdateEmailTemplate not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) DeleteEmailTemplate(context.Context, *DeleteEmailTemplateRequest) (*DeleteEmailTemplateResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DeleteEmailTemplate not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) EmailTemplates(context.Context, *EmailTemplatesRequest) (*EmailTemplatesResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method EmailTemplates not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) AuditLogs(context.Context, *AuditLogsRequest) (*AuditLogsResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AuditLogs not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) FgaGetModel(context.Context, *FgaGetModelRequest) (*FgaGetModelResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FgaGetModel not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) FgaWriteModel(context.Context, *FgaWriteModelRequest) (*FgaWriteModelResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FgaWriteModel not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) FgaWriteTuples(context.Context, *FgaWriteTuplesRequest) (*FgaWriteTuplesResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FgaWriteTuples not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) FgaDeleteTuples(context.Context, *FgaDeleteTuplesRequest) (*FgaDeleteTuplesResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FgaDeleteTuples not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) FgaReadTuples(context.Context, *FgaReadTuplesRequest) (*FgaReadTuplesResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FgaReadTuples not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) FgaListUsers(context.Context, *FgaListUsersRequest) (*FgaListUsersResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FgaListUsers not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) FgaExpand(context.Context, *FgaExpandRequest) (*FgaExpandResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FgaExpand not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) FgaReset(context.Context, *FgaResetRequest) (*FgaResetResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FgaReset not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) CreateClient(context.Context, *CreateClientRequest) (*CreateClientResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method CreateClient not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) UpdateClient(context.Context, *UpdateClientRequest) (*UpdateClientResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpdateClient not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) DeleteClient(context.Context, *DeleteClientRequest) (*DeleteClientResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DeleteClient not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) RotateClientSecret(context.Context, *RotateClientSecretRequest) (*CreateClientResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method RotateClientSecret not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) GetClient(context.Context, *GetClientRequest) (*GetClientResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetClient not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) Clients(context.Context, *ClientsRequest) (*ClientsResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method Clients not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) AddTrustedIssuer(context.Context, *AddTrustedIssuerRequest) (*AddTrustedIssuerResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AddTrustedIssuer not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) UpdateTrustedIssuer(context.Context, *UpdateTrustedIssuerRequest) (*UpdateTrustedIssuerResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpdateTrustedIssuer not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) DeleteTrustedIssuer(context.Context, *DeleteTrustedIssuerRequest) (*DeleteTrustedIssuerResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DeleteTrustedIssuer not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) GetTrustedIssuer(context.Context, *GetTrustedIssuerRequest) (*GetTrustedIssuerResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method GetTrustedIssuer not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) TrustedIssuers(context.Context, *TrustedIssuersRequest) (*TrustedIssuersResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method TrustedIssuers not implemented")
-}
-func (UnimplementedAuthorizerAdminServiceServer) testEmbeddedByValue() {}
-
-// UnsafeAuthorizerAdminServiceServer may be embedded to opt out of forward compatibility for this service.
-// Use of this interface is not recommended, as added methods to AuthorizerAdminServiceServer will
-// result in compilation errors.
-type UnsafeAuthorizerAdminServiceServer interface {
- mustEmbedUnimplementedAuthorizerAdminServiceServer()
-}
-
-func RegisterAuthorizerAdminServiceServer(s grpc.ServiceRegistrar, srv AuthorizerAdminServiceServer) {
- // If the following call pancis, it indicates UnimplementedAuthorizerAdminServiceServer was
- // embedded by pointer and is nil. This will cause panics if an
- // unimplemented method is ever invoked, so we test this at initialization
- // time to prevent it from happening at runtime later due to I/O.
- if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
- t.testEmbeddedByValue()
- }
- s.RegisterService(&AuthorizerAdminService_ServiceDesc, srv)
-}
-
-func _AuthorizerAdminService_AdminLogin_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AdminLoginRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).AdminLogin(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_AdminLogin_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).AdminLogin(ctx, req.(*AdminLoginRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_AdminLogout_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AdminLogoutRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).AdminLogout(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_AdminLogout_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).AdminLogout(ctx, req.(*AdminLogoutRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_AdminSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AdminSessionRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).AdminSession(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_AdminSession_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).AdminSession(ctx, req.(*AdminSessionRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_AdminMeta_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AdminMetaRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).AdminMeta(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_AdminMeta_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).AdminMeta(ctx, req.(*AdminMetaRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_Users_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UsersRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).Users(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_Users_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).Users(ctx, req.(*UsersRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_User_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UserRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).User(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_User_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).User(ctx, req.(*UserRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_UpdateUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpdateUserRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).UpdateUser(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_UpdateUser_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).UpdateUser(ctx, req.(*UpdateUserRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_DeleteUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(DeleteUserRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).DeleteUser(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_DeleteUser_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).DeleteUser(ctx, req.(*DeleteUserRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_VerificationRequests_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(VerificationRequestsRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).VerificationRequests(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_VerificationRequests_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).VerificationRequests(ctx, req.(*VerificationRequestsRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_RevokeAccess_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(RevokeAccessRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).RevokeAccess(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_RevokeAccess_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).RevokeAccess(ctx, req.(*RevokeAccessRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_EnableAccess_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(EnableAccessRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).EnableAccess(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_EnableAccess_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).EnableAccess(ctx, req.(*EnableAccessRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_InviteMembers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(InviteMembersRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).InviteMembers(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_InviteMembers_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).InviteMembers(ctx, req.(*InviteMembersRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_AddWebhook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AddWebhookRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).AddWebhook(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_AddWebhook_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).AddWebhook(ctx, req.(*AddWebhookRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_UpdateWebhook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpdateWebhookRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).UpdateWebhook(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_UpdateWebhook_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).UpdateWebhook(ctx, req.(*UpdateWebhookRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_DeleteWebhook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(DeleteWebhookRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).DeleteWebhook(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_DeleteWebhook_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).DeleteWebhook(ctx, req.(*DeleteWebhookRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_GetWebhook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetWebhookRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).GetWebhook(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_GetWebhook_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).GetWebhook(ctx, req.(*GetWebhookRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_Webhooks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(WebhooksRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).Webhooks(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_Webhooks_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).Webhooks(ctx, req.(*WebhooksRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_WebhookLogs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(WebhookLogsRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).WebhookLogs(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_WebhookLogs_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).WebhookLogs(ctx, req.(*WebhookLogsRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_TestEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(TestEndpointRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).TestEndpoint(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_TestEndpoint_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).TestEndpoint(ctx, req.(*TestEndpointRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_AddEmailTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AddEmailTemplateRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).AddEmailTemplate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_AddEmailTemplate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).AddEmailTemplate(ctx, req.(*AddEmailTemplateRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_UpdateEmailTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpdateEmailTemplateRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).UpdateEmailTemplate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_UpdateEmailTemplate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).UpdateEmailTemplate(ctx, req.(*UpdateEmailTemplateRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_DeleteEmailTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(DeleteEmailTemplateRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).DeleteEmailTemplate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_DeleteEmailTemplate_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).DeleteEmailTemplate(ctx, req.(*DeleteEmailTemplateRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_EmailTemplates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(EmailTemplatesRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).EmailTemplates(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_EmailTemplates_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).EmailTemplates(ctx, req.(*EmailTemplatesRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_AuditLogs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AuditLogsRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).AuditLogs(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_AuditLogs_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).AuditLogs(ctx, req.(*AuditLogsRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_FgaGetModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(FgaGetModelRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).FgaGetModel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_FgaGetModel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).FgaGetModel(ctx, req.(*FgaGetModelRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_FgaWriteModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(FgaWriteModelRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).FgaWriteModel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_FgaWriteModel_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).FgaWriteModel(ctx, req.(*FgaWriteModelRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_FgaWriteTuples_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(FgaWriteTuplesRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).FgaWriteTuples(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_FgaWriteTuples_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).FgaWriteTuples(ctx, req.(*FgaWriteTuplesRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_FgaDeleteTuples_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(FgaDeleteTuplesRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).FgaDeleteTuples(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_FgaDeleteTuples_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).FgaDeleteTuples(ctx, req.(*FgaDeleteTuplesRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_FgaReadTuples_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(FgaReadTuplesRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).FgaReadTuples(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_FgaReadTuples_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).FgaReadTuples(ctx, req.(*FgaReadTuplesRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_FgaListUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(FgaListUsersRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).FgaListUsers(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_FgaListUsers_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).FgaListUsers(ctx, req.(*FgaListUsersRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_FgaExpand_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(FgaExpandRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).FgaExpand(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_FgaExpand_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).FgaExpand(ctx, req.(*FgaExpandRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_FgaReset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(FgaResetRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).FgaReset(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_FgaReset_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).FgaReset(ctx, req.(*FgaResetRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_CreateClient_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(CreateClientRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).CreateClient(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_CreateClient_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).CreateClient(ctx, req.(*CreateClientRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_UpdateClient_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpdateClientRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).UpdateClient(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_UpdateClient_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).UpdateClient(ctx, req.(*UpdateClientRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_DeleteClient_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(DeleteClientRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).DeleteClient(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_DeleteClient_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).DeleteClient(ctx, req.(*DeleteClientRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_RotateClientSecret_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(RotateClientSecretRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).RotateClientSecret(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_RotateClientSecret_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).RotateClientSecret(ctx, req.(*RotateClientSecretRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_GetClient_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetClientRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).GetClient(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_GetClient_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).GetClient(ctx, req.(*GetClientRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_Clients_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(ClientsRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).Clients(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_Clients_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).Clients(ctx, req.(*ClientsRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_AddTrustedIssuer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(AddTrustedIssuerRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).AddTrustedIssuer(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_AddTrustedIssuer_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).AddTrustedIssuer(ctx, req.(*AddTrustedIssuerRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_UpdateTrustedIssuer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(UpdateTrustedIssuerRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).UpdateTrustedIssuer(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_UpdateTrustedIssuer_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).UpdateTrustedIssuer(ctx, req.(*UpdateTrustedIssuerRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_DeleteTrustedIssuer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(DeleteTrustedIssuerRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).DeleteTrustedIssuer(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_DeleteTrustedIssuer_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).DeleteTrustedIssuer(ctx, req.(*DeleteTrustedIssuerRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_GetTrustedIssuer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(GetTrustedIssuerRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).GetTrustedIssuer(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_GetTrustedIssuer_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).GetTrustedIssuer(ctx, req.(*GetTrustedIssuerRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _AuthorizerAdminService_TrustedIssuers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(TrustedIssuersRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(AuthorizerAdminServiceServer).TrustedIssuers(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: AuthorizerAdminService_TrustedIssuers_FullMethodName,
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(AuthorizerAdminServiceServer).TrustedIssuers(ctx, req.(*TrustedIssuersRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-// AuthorizerAdminService_ServiceDesc is the grpc.ServiceDesc for AuthorizerAdminService service.
-// It's only intended for direct use with grpc.RegisterService,
-// and not to be introspected or modified (even as a copy)
-var AuthorizerAdminService_ServiceDesc = grpc.ServiceDesc{
- ServiceName: "authorizer.v1.AuthorizerAdminService",
- HandlerType: (*AuthorizerAdminServiceServer)(nil),
- Methods: []grpc.MethodDesc{
- {
- MethodName: "AdminLogin",
- Handler: _AuthorizerAdminService_AdminLogin_Handler,
- },
- {
- MethodName: "AdminLogout",
- Handler: _AuthorizerAdminService_AdminLogout_Handler,
- },
- {
- MethodName: "AdminSession",
- Handler: _AuthorizerAdminService_AdminSession_Handler,
- },
- {
- MethodName: "AdminMeta",
- Handler: _AuthorizerAdminService_AdminMeta_Handler,
- },
- {
- MethodName: "Users",
- Handler: _AuthorizerAdminService_Users_Handler,
- },
- {
- MethodName: "User",
- Handler: _AuthorizerAdminService_User_Handler,
- },
- {
- MethodName: "UpdateUser",
- Handler: _AuthorizerAdminService_UpdateUser_Handler,
- },
- {
- MethodName: "DeleteUser",
- Handler: _AuthorizerAdminService_DeleteUser_Handler,
- },
- {
- MethodName: "VerificationRequests",
- Handler: _AuthorizerAdminService_VerificationRequests_Handler,
- },
- {
- MethodName: "RevokeAccess",
- Handler: _AuthorizerAdminService_RevokeAccess_Handler,
- },
- {
- MethodName: "EnableAccess",
- Handler: _AuthorizerAdminService_EnableAccess_Handler,
- },
- {
- MethodName: "InviteMembers",
- Handler: _AuthorizerAdminService_InviteMembers_Handler,
- },
- {
- MethodName: "AddWebhook",
- Handler: _AuthorizerAdminService_AddWebhook_Handler,
- },
- {
- MethodName: "UpdateWebhook",
- Handler: _AuthorizerAdminService_UpdateWebhook_Handler,
- },
- {
- MethodName: "DeleteWebhook",
- Handler: _AuthorizerAdminService_DeleteWebhook_Handler,
- },
- {
- MethodName: "GetWebhook",
- Handler: _AuthorizerAdminService_GetWebhook_Handler,
- },
- {
- MethodName: "Webhooks",
- Handler: _AuthorizerAdminService_Webhooks_Handler,
- },
- {
- MethodName: "WebhookLogs",
- Handler: _AuthorizerAdminService_WebhookLogs_Handler,
- },
- {
- MethodName: "TestEndpoint",
- Handler: _AuthorizerAdminService_TestEndpoint_Handler,
- },
- {
- MethodName: "AddEmailTemplate",
- Handler: _AuthorizerAdminService_AddEmailTemplate_Handler,
- },
- {
- MethodName: "UpdateEmailTemplate",
- Handler: _AuthorizerAdminService_UpdateEmailTemplate_Handler,
- },
- {
- MethodName: "DeleteEmailTemplate",
- Handler: _AuthorizerAdminService_DeleteEmailTemplate_Handler,
- },
- {
- MethodName: "EmailTemplates",
- Handler: _AuthorizerAdminService_EmailTemplates_Handler,
- },
- {
- MethodName: "AuditLogs",
- Handler: _AuthorizerAdminService_AuditLogs_Handler,
- },
- {
- MethodName: "FgaGetModel",
- Handler: _AuthorizerAdminService_FgaGetModel_Handler,
- },
- {
- MethodName: "FgaWriteModel",
- Handler: _AuthorizerAdminService_FgaWriteModel_Handler,
- },
- {
- MethodName: "FgaWriteTuples",
- Handler: _AuthorizerAdminService_FgaWriteTuples_Handler,
- },
- {
- MethodName: "FgaDeleteTuples",
- Handler: _AuthorizerAdminService_FgaDeleteTuples_Handler,
- },
- {
- MethodName: "FgaReadTuples",
- Handler: _AuthorizerAdminService_FgaReadTuples_Handler,
- },
- {
- MethodName: "FgaListUsers",
- Handler: _AuthorizerAdminService_FgaListUsers_Handler,
- },
- {
- MethodName: "FgaExpand",
- Handler: _AuthorizerAdminService_FgaExpand_Handler,
- },
- {
- MethodName: "FgaReset",
- Handler: _AuthorizerAdminService_FgaReset_Handler,
- },
- {
- MethodName: "CreateClient",
- Handler: _AuthorizerAdminService_CreateClient_Handler,
- },
- {
- MethodName: "UpdateClient",
- Handler: _AuthorizerAdminService_UpdateClient_Handler,
- },
- {
- MethodName: "DeleteClient",
- Handler: _AuthorizerAdminService_DeleteClient_Handler,
- },
- {
- MethodName: "RotateClientSecret",
- Handler: _AuthorizerAdminService_RotateClientSecret_Handler,
- },
- {
- MethodName: "GetClient",
- Handler: _AuthorizerAdminService_GetClient_Handler,
- },
- {
- MethodName: "Clients",
- Handler: _AuthorizerAdminService_Clients_Handler,
- },
- {
- MethodName: "AddTrustedIssuer",
- Handler: _AuthorizerAdminService_AddTrustedIssuer_Handler,
- },
- {
- MethodName: "UpdateTrustedIssuer",
- Handler: _AuthorizerAdminService_UpdateTrustedIssuer_Handler,
- },
- {
- MethodName: "DeleteTrustedIssuer",
- Handler: _AuthorizerAdminService_DeleteTrustedIssuer_Handler,
- },
- {
- MethodName: "GetTrustedIssuer",
- Handler: _AuthorizerAdminService_GetTrustedIssuer_Handler,
- },
- {
- MethodName: "TrustedIssuers",
- Handler: _AuthorizerAdminService_TrustedIssuers_Handler,
- },
- },
- Streams: []grpc.StreamDesc{},
- Metadata: "authorizer/v1/admin.proto",
-}
diff --git a/with-grpc/gen/authorizer/v1/annotations.pb.go b/with-grpc/gen/authorizer/v1/annotations.pb.go
deleted file mode 100644
index 5ed4a95..0000000
--- a/with-grpc/gen/authorizer/v1/annotations.pb.go
+++ /dev/null
@@ -1,330 +0,0 @@
-// proto/authorizer/v1/annotations.proto
-//
-// Custom proto options that decorate Authorizer service methods with
-// authorization, audit, MCP-exposure, and visibility metadata.
-//
-// All options live on MethodOptions and are read at runtime by the gRPC
-// server (auth/permission/audit interceptors) and by the MCP server, and
-// at codegen time by the OpenAPI generator.
-
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.35.2
-// protoc (unknown)
-// source: authorizer/v1/annotations.proto
-
-package authorizerv1
-
-import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- descriptorpb "google.golang.org/protobuf/types/descriptorpb"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-// PermissionRequirement names one (resource, scope) pair the caller must hold
-// to invoke the RPC. Multiple values on a method are AND-combined (the caller
-// must hold *all* of them); to express OR semantics, list the alternatives in
-// a single PermissionRequirement with a wildcard scope and let the policy
-// engine evaluate.
-type PermissionRequirement struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Resource name as registered in the authz subsystem (e.g. "user",
- // "webhook"). Required.
- Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
- // Scope name (e.g. "read", "write", "delete"). Required.
- Scope string `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"`
-}
-
-func (x *PermissionRequirement) Reset() {
- *x = PermissionRequirement{}
- mi := &file_authorizer_v1_annotations_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *PermissionRequirement) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*PermissionRequirement) ProtoMessage() {}
-
-func (x *PermissionRequirement) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_annotations_proto_msgTypes[0]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use PermissionRequirement.ProtoReflect.Descriptor instead.
-func (*PermissionRequirement) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_annotations_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *PermissionRequirement) GetResource() string {
- if x != nil {
- return x.Resource
- }
- return ""
-}
-
-func (x *PermissionRequirement) GetScope() string {
- if x != nil {
- return x.Scope
- }
- return ""
-}
-
-// McpTool marks an RPC as exposed via the Authorizer MCP server.
-// Defaults to "not exposed" when the option is absent.
-type McpTool struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Whether the RPC is reachable as an MCP tool. Default false.
- Exposed bool `protobuf:"varint,1,opt,name=exposed,proto3" json:"exposed,omitempty"`
- // Optional override for the tool name surfaced to MCP clients. When unset,
- // the snake_case form of the RPC method name is used.
- ToolName string `protobuf:"bytes,2,opt,name=tool_name,json=toolName,proto3" json:"tool_name,omitempty"`
- // Hint to the MCP host that the tool mutates state in a way that warrants
- // explicit user confirmation (e.g. delete operations).
- Destructive bool `protobuf:"varint,3,opt,name=destructive,proto3" json:"destructive,omitempty"`
-}
-
-func (x *McpTool) Reset() {
- *x = McpTool{}
- mi := &file_authorizer_v1_annotations_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *McpTool) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*McpTool) ProtoMessage() {}
-
-func (x *McpTool) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_annotations_proto_msgTypes[1]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use McpTool.ProtoReflect.Descriptor instead.
-func (*McpTool) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_annotations_proto_rawDescGZIP(), []int{1}
-}
-
-func (x *McpTool) GetExposed() bool {
- if x != nil {
- return x.Exposed
- }
- return false
-}
-
-func (x *McpTool) GetToolName() string {
- if x != nil {
- return x.ToolName
- }
- return ""
-}
-
-func (x *McpTool) GetDestructive() bool {
- if x != nil {
- return x.Destructive
- }
- return false
-}
-
-var file_authorizer_v1_annotations_proto_extTypes = []protoimpl.ExtensionInfo{
- {
- ExtendedType: (*descriptorpb.MethodOptions)(nil),
- ExtensionType: ([]*PermissionRequirement)(nil),
- Field: 50001,
- Name: "authorizer.v1.required_permissions",
- Tag: "bytes,50001,rep,name=required_permissions",
- Filename: "authorizer/v1/annotations.proto",
- },
- {
- ExtendedType: (*descriptorpb.MethodOptions)(nil),
- ExtensionType: (*McpTool)(nil),
- Field: 50002,
- Name: "authorizer.v1.mcp_tool",
- Tag: "bytes,50002,opt,name=mcp_tool",
- Filename: "authorizer/v1/annotations.proto",
- },
- {
- ExtendedType: (*descriptorpb.MethodOptions)(nil),
- ExtensionType: (*bool)(nil),
- Field: 50003,
- Name: "authorizer.v1.audit_log",
- Tag: "varint,50003,opt,name=audit_log",
- Filename: "authorizer/v1/annotations.proto",
- },
- {
- ExtendedType: (*descriptorpb.MethodOptions)(nil),
- ExtensionType: (*bool)(nil),
- Field: 50004,
- Name: "authorizer.v1.public",
- Tag: "varint,50004,opt,name=public",
- Filename: "authorizer/v1/annotations.proto",
- },
-}
-
-// Extension fields to descriptorpb.MethodOptions.
-var (
- // All permissions the caller must hold (AND). Empty means "no authz check
- // beyond the auth interceptor".
- //
- // repeated authorizer.v1.PermissionRequirement required_permissions = 50001;
- E_RequiredPermissions = &file_authorizer_v1_annotations_proto_extTypes[0]
- // MCP-tool exposure metadata; absent means "not exposed".
- //
- // optional authorizer.v1.McpTool mcp_tool = 50002;
- E_McpTool = &file_authorizer_v1_annotations_proto_extTypes[1]
- // When true, the audit interceptor records an entry for the invocation.
- //
- // optional bool audit_log = 50003;
- E_AuditLog = &file_authorizer_v1_annotations_proto_extTypes[2]
- // When true, the auth interceptor allows unauthenticated callers. Use for
- // login, signup, magic-link request, password-reset request, etc.
- //
- // optional bool public = 50004;
- E_Public = &file_authorizer_v1_annotations_proto_extTypes[3]
-)
-
-var File_authorizer_v1_annotations_proto protoreflect.FileDescriptor
-
-var file_authorizer_v1_annotations_proto_rawDesc = []byte{
- 0x0a, 0x1f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f,
- 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x12, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31,
- 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
- 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x22, 0x49, 0x0a, 0x15, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e,
- 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x72,
- 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72,
- 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x22, 0x62, 0x0a,
- 0x07, 0x4d, 0x63, 0x70, 0x54, 0x6f, 0x6f, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x78, 0x70, 0x6f,
- 0x73, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x78, 0x70, 0x6f, 0x73,
- 0x65, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x6f, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x6f, 0x6f, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12,
- 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x69, 0x76,
- 0x65, 0x3a, 0x79, 0x0a, 0x14, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x70, 0x65,
- 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
- 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x74, 0x68,
- 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xd1, 0x86, 0x03, 0x20, 0x03, 0x28,
- 0x0b, 0x32, 0x24, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76,
- 0x31, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75,
- 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x13, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65,
- 0x64, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x53, 0x0a, 0x08,
- 0x6d, 0x63, 0x70, 0x5f, 0x74, 0x6f, 0x6f, 0x6c, 0x12, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f,
- 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xd2, 0x86, 0x03, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x16, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31,
- 0x2e, 0x4d, 0x63, 0x70, 0x54, 0x6f, 0x6f, 0x6c, 0x52, 0x07, 0x6d, 0x63, 0x70, 0x54, 0x6f, 0x6f,
- 0x6c, 0x3a, 0x3d, 0x0a, 0x09, 0x61, 0x75, 0x64, 0x69, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x12, 0x1e,
- 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
- 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xd3,
- 0x86, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x61, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67,
- 0x3a, 0x38, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x12, 0x1e, 0x2e, 0x67, 0x6f, 0x6f,
- 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x74,
- 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xd4, 0x86, 0x03, 0x20, 0x01,
- 0x28, 0x08, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x42, 0xc6, 0x01, 0x0a, 0x11, 0x63,
- 0x6f, 0x6d, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x76, 0x31,
- 0x42, 0x10, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x72, 0x6f,
- 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
- 0x2f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x64, 0x65, 0x76, 0x2f, 0x65,
- 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2f, 0x77, 0x69, 0x74, 0x68, 0x2d, 0x67, 0x72, 0x70,
- 0x63, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72,
- 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x76, 0x31,
- 0xa2, 0x02, 0x03, 0x41, 0x58, 0x58, 0xaa, 0x02, 0x0d, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69,
- 0x7a, 0x65, 0x72, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0d, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69,
- 0x7a, 0x65, 0x72, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x19, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69,
- 0x7a, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
- 0x74, 0x61, 0xea, 0x02, 0x0e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x72, 0x3a,
- 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
-}
-
-var (
- file_authorizer_v1_annotations_proto_rawDescOnce sync.Once
- file_authorizer_v1_annotations_proto_rawDescData = file_authorizer_v1_annotations_proto_rawDesc
-)
-
-func file_authorizer_v1_annotations_proto_rawDescGZIP() []byte {
- file_authorizer_v1_annotations_proto_rawDescOnce.Do(func() {
- file_authorizer_v1_annotations_proto_rawDescData = protoimpl.X.CompressGZIP(file_authorizer_v1_annotations_proto_rawDescData)
- })
- return file_authorizer_v1_annotations_proto_rawDescData
-}
-
-var file_authorizer_v1_annotations_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
-var file_authorizer_v1_annotations_proto_goTypes = []any{
- (*PermissionRequirement)(nil), // 0: authorizer.v1.PermissionRequirement
- (*McpTool)(nil), // 1: authorizer.v1.McpTool
- (*descriptorpb.MethodOptions)(nil), // 2: google.protobuf.MethodOptions
-}
-var file_authorizer_v1_annotations_proto_depIdxs = []int32{
- 2, // 0: authorizer.v1.required_permissions:extendee -> google.protobuf.MethodOptions
- 2, // 1: authorizer.v1.mcp_tool:extendee -> google.protobuf.MethodOptions
- 2, // 2: authorizer.v1.audit_log:extendee -> google.protobuf.MethodOptions
- 2, // 3: authorizer.v1.public:extendee -> google.protobuf.MethodOptions
- 0, // 4: authorizer.v1.required_permissions:type_name -> authorizer.v1.PermissionRequirement
- 1, // 5: authorizer.v1.mcp_tool:type_name -> authorizer.v1.McpTool
- 6, // [6:6] is the sub-list for method output_type
- 6, // [6:6] is the sub-list for method input_type
- 4, // [4:6] is the sub-list for extension type_name
- 0, // [0:4] is the sub-list for extension extendee
- 0, // [0:0] is the sub-list for field type_name
-}
-
-func init() { file_authorizer_v1_annotations_proto_init() }
-func file_authorizer_v1_annotations_proto_init() {
- if File_authorizer_v1_annotations_proto != nil {
- return
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_authorizer_v1_annotations_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 2,
- NumExtensions: 4,
- NumServices: 0,
- },
- GoTypes: file_authorizer_v1_annotations_proto_goTypes,
- DependencyIndexes: file_authorizer_v1_annotations_proto_depIdxs,
- MessageInfos: file_authorizer_v1_annotations_proto_msgTypes,
- ExtensionInfos: file_authorizer_v1_annotations_proto_extTypes,
- }.Build()
- File_authorizer_v1_annotations_proto = out.File
- file_authorizer_v1_annotations_proto_rawDesc = nil
- file_authorizer_v1_annotations_proto_goTypes = nil
- file_authorizer_v1_annotations_proto_depIdxs = nil
-}
diff --git a/with-grpc/gen/authorizer/v1/authorizer.pb.go b/with-grpc/gen/authorizer/v1/authorizer.pb.go
deleted file mode 100644
index 3250712..0000000
--- a/with-grpc/gen/authorizer/v1/authorizer.pb.go
+++ /dev/null
@@ -1,2667 +0,0 @@
-// AuthorizerService is the single gRPC service that exposes Authorizer's
-// public API. Method names match the GraphQL operation names 1:1
-// (snake_case in GraphQL → PascalCase in proto): Signup, Login,
-// MagicLinkLogin, VerifyEmail, ResendVerifyEmail, ForgotPassword,
-// ResetPassword, VerifyOtp, ResendOtp, UpdateProfile, DeactivateAccount,
-// Revoke, Meta, Session, Profile, ValidateJwtToken, ValidateSession,
-// CheckPermissions, ListPermissions, Logout.
-//
-// Why one service: clients consume a single typed client per language,
-// discovery is trivial, and the surface mirrors the GraphQL one users
-// already know. The trade-off is that we lose resource-oriented evolution
-// (no `List/Get/Create` symmetry per resource) — acceptable for an auth
-// surface where most operations are stateless verbs anyway.
-//
-// REST mapping follows a simple rule:
-// - GET /v1/{method} when the request body is empty (Meta, Profile,
-// Logout)
-// - POST /v1/{method} otherwise
-
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// versions:
-// protoc-gen-go v1.35.2
-// protoc (unknown)
-// source: authorizer/v1/authorizer.proto
-
-package authorizerv1
-
-import (
- _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate"
- _ "google.golang.org/genproto/googleapis/api/annotations"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
-)
-
-const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
-)
-
-type SignupRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
- PhoneNumber string `protobuf:"bytes,2,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
- Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
- ConfirmPassword string `protobuf:"bytes,4,opt,name=confirm_password,json=confirmPassword,proto3" json:"confirm_password,omitempty"`
- GivenName string `protobuf:"bytes,5,opt,name=given_name,json=givenName,proto3" json:"given_name,omitempty"`
- FamilyName string `protobuf:"bytes,6,opt,name=family_name,json=familyName,proto3" json:"family_name,omitempty"`
- MiddleName string `protobuf:"bytes,7,opt,name=middle_name,json=middleName,proto3" json:"middle_name,omitempty"`
- Nickname string `protobuf:"bytes,8,opt,name=nickname,proto3" json:"nickname,omitempty"`
- Gender string `protobuf:"bytes,9,opt,name=gender,proto3" json:"gender,omitempty"`
- Birthdate string `protobuf:"bytes,10,opt,name=birthdate,proto3" json:"birthdate,omitempty"`
- Picture string `protobuf:"bytes,11,opt,name=picture,proto3" json:"picture,omitempty"`
- Roles []string `protobuf:"bytes,12,rep,name=roles,proto3" json:"roles,omitempty"`
- Scope []string `protobuf:"bytes,13,rep,name=scope,proto3" json:"scope,omitempty"`
- RedirectUri string `protobuf:"bytes,14,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"`
- IsMultiFactorAuthEnabled bool `protobuf:"varint,15,opt,name=is_multi_factor_auth_enabled,json=isMultiFactorAuthEnabled,proto3" json:"is_multi_factor_auth_enabled,omitempty"`
- State string `protobuf:"bytes,16,opt,name=state,proto3" json:"state,omitempty"`
- AppData *AppData `protobuf:"bytes,17,opt,name=app_data,json=appData,proto3" json:"app_data,omitempty"`
-}
-
-func (x *SignupRequest) Reset() {
- *x = SignupRequest{}
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *SignupRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*SignupRequest) ProtoMessage() {}
-
-func (x *SignupRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[0]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use SignupRequest.ProtoReflect.Descriptor instead.
-func (*SignupRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_authorizer_proto_rawDescGZIP(), []int{0}
-}
-
-func (x *SignupRequest) GetEmail() string {
- if x != nil {
- return x.Email
- }
- return ""
-}
-
-func (x *SignupRequest) GetPhoneNumber() string {
- if x != nil {
- return x.PhoneNumber
- }
- return ""
-}
-
-func (x *SignupRequest) GetPassword() string {
- if x != nil {
- return x.Password
- }
- return ""
-}
-
-func (x *SignupRequest) GetConfirmPassword() string {
- if x != nil {
- return x.ConfirmPassword
- }
- return ""
-}
-
-func (x *SignupRequest) GetGivenName() string {
- if x != nil {
- return x.GivenName
- }
- return ""
-}
-
-func (x *SignupRequest) GetFamilyName() string {
- if x != nil {
- return x.FamilyName
- }
- return ""
-}
-
-func (x *SignupRequest) GetMiddleName() string {
- if x != nil {
- return x.MiddleName
- }
- return ""
-}
-
-func (x *SignupRequest) GetNickname() string {
- if x != nil {
- return x.Nickname
- }
- return ""
-}
-
-func (x *SignupRequest) GetGender() string {
- if x != nil {
- return x.Gender
- }
- return ""
-}
-
-func (x *SignupRequest) GetBirthdate() string {
- if x != nil {
- return x.Birthdate
- }
- return ""
-}
-
-func (x *SignupRequest) GetPicture() string {
- if x != nil {
- return x.Picture
- }
- return ""
-}
-
-func (x *SignupRequest) GetRoles() []string {
- if x != nil {
- return x.Roles
- }
- return nil
-}
-
-func (x *SignupRequest) GetScope() []string {
- if x != nil {
- return x.Scope
- }
- return nil
-}
-
-func (x *SignupRequest) GetRedirectUri() string {
- if x != nil {
- return x.RedirectUri
- }
- return ""
-}
-
-func (x *SignupRequest) GetIsMultiFactorAuthEnabled() bool {
- if x != nil {
- return x.IsMultiFactorAuthEnabled
- }
- return false
-}
-
-func (x *SignupRequest) GetState() string {
- if x != nil {
- return x.State
- }
- return ""
-}
-
-func (x *SignupRequest) GetAppData() *AppData {
- if x != nil {
- return x.AppData
- }
- return nil
-}
-
-type LoginRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
- PhoneNumber string `protobuf:"bytes,2,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
- Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
- Roles []string `protobuf:"bytes,4,rep,name=roles,proto3" json:"roles,omitempty"`
- Scope []string `protobuf:"bytes,5,rep,name=scope,proto3" json:"scope,omitempty"`
- State string `protobuf:"bytes,6,opt,name=state,proto3" json:"state,omitempty"`
-}
-
-func (x *LoginRequest) Reset() {
- *x = LoginRequest{}
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *LoginRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*LoginRequest) ProtoMessage() {}
-
-func (x *LoginRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[1]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
-func (*LoginRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_authorizer_proto_rawDescGZIP(), []int{1}
-}
-
-func (x *LoginRequest) GetEmail() string {
- if x != nil {
- return x.Email
- }
- return ""
-}
-
-func (x *LoginRequest) GetPhoneNumber() string {
- if x != nil {
- return x.PhoneNumber
- }
- return ""
-}
-
-func (x *LoginRequest) GetPassword() string {
- if x != nil {
- return x.Password
- }
- return ""
-}
-
-func (x *LoginRequest) GetRoles() []string {
- if x != nil {
- return x.Roles
- }
- return nil
-}
-
-func (x *LoginRequest) GetScope() []string {
- if x != nil {
- return x.Scope
- }
- return nil
-}
-
-func (x *LoginRequest) GetState() string {
- if x != nil {
- return x.State
- }
- return ""
-}
-
-type LogoutRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-}
-
-func (x *LogoutRequest) Reset() {
- *x = LogoutRequest{}
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *LogoutRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*LogoutRequest) ProtoMessage() {}
-
-func (x *LogoutRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[2]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use LogoutRequest.ProtoReflect.Descriptor instead.
-func (*LogoutRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_authorizer_proto_rawDescGZIP(), []int{2}
-}
-
-type LogoutResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
-}
-
-func (x *LogoutResponse) Reset() {
- *x = LogoutResponse{}
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *LogoutResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*LogoutResponse) ProtoMessage() {}
-
-func (x *LogoutResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[3]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use LogoutResponse.ProtoReflect.Descriptor instead.
-func (*LogoutResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_authorizer_proto_rawDescGZIP(), []int{3}
-}
-
-func (x *LogoutResponse) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
-}
-
-type MagicLinkLoginRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
- Roles []string `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"`
- Scope []string `protobuf:"bytes,3,rep,name=scope,proto3" json:"scope,omitempty"`
- State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"`
- RedirectUri string `protobuf:"bytes,5,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"`
-}
-
-func (x *MagicLinkLoginRequest) Reset() {
- *x = MagicLinkLoginRequest{}
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *MagicLinkLoginRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*MagicLinkLoginRequest) ProtoMessage() {}
-
-func (x *MagicLinkLoginRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[4]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use MagicLinkLoginRequest.ProtoReflect.Descriptor instead.
-func (*MagicLinkLoginRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_authorizer_proto_rawDescGZIP(), []int{4}
-}
-
-func (x *MagicLinkLoginRequest) GetEmail() string {
- if x != nil {
- return x.Email
- }
- return ""
-}
-
-func (x *MagicLinkLoginRequest) GetRoles() []string {
- if x != nil {
- return x.Roles
- }
- return nil
-}
-
-func (x *MagicLinkLoginRequest) GetScope() []string {
- if x != nil {
- return x.Scope
- }
- return nil
-}
-
-func (x *MagicLinkLoginRequest) GetState() string {
- if x != nil {
- return x.State
- }
- return ""
-}
-
-func (x *MagicLinkLoginRequest) GetRedirectUri() string {
- if x != nil {
- return x.RedirectUri
- }
- return ""
-}
-
-type MagicLinkLoginResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
-}
-
-func (x *MagicLinkLoginResponse) Reset() {
- *x = MagicLinkLoginResponse{}
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *MagicLinkLoginResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*MagicLinkLoginResponse) ProtoMessage() {}
-
-func (x *MagicLinkLoginResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[5]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use MagicLinkLoginResponse.ProtoReflect.Descriptor instead.
-func (*MagicLinkLoginResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_authorizer_proto_rawDescGZIP(), []int{5}
-}
-
-func (x *MagicLinkLoginResponse) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
-}
-
-type VerifyEmailRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
- State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
-}
-
-func (x *VerifyEmailRequest) Reset() {
- *x = VerifyEmailRequest{}
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *VerifyEmailRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*VerifyEmailRequest) ProtoMessage() {}
-
-func (x *VerifyEmailRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[6]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use VerifyEmailRequest.ProtoReflect.Descriptor instead.
-func (*VerifyEmailRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_authorizer_proto_rawDescGZIP(), []int{6}
-}
-
-func (x *VerifyEmailRequest) GetToken() string {
- if x != nil {
- return x.Token
- }
- return ""
-}
-
-func (x *VerifyEmailRequest) GetState() string {
- if x != nil {
- return x.State
- }
- return ""
-}
-
-type ResendVerifyEmailRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
- Identifier string `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"`
- State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
-}
-
-func (x *ResendVerifyEmailRequest) Reset() {
- *x = ResendVerifyEmailRequest{}
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *ResendVerifyEmailRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ResendVerifyEmailRequest) ProtoMessage() {}
-
-func (x *ResendVerifyEmailRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[7]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ResendVerifyEmailRequest.ProtoReflect.Descriptor instead.
-func (*ResendVerifyEmailRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_authorizer_proto_rawDescGZIP(), []int{7}
-}
-
-func (x *ResendVerifyEmailRequest) GetEmail() string {
- if x != nil {
- return x.Email
- }
- return ""
-}
-
-func (x *ResendVerifyEmailRequest) GetIdentifier() string {
- if x != nil {
- return x.Identifier
- }
- return ""
-}
-
-func (x *ResendVerifyEmailRequest) GetState() string {
- if x != nil {
- return x.State
- }
- return ""
-}
-
-type ResendVerifyEmailResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
-}
-
-func (x *ResendVerifyEmailResponse) Reset() {
- *x = ResendVerifyEmailResponse{}
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *ResendVerifyEmailResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ResendVerifyEmailResponse) ProtoMessage() {}
-
-func (x *ResendVerifyEmailResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[8]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ResendVerifyEmailResponse.ProtoReflect.Descriptor instead.
-func (*ResendVerifyEmailResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_authorizer_proto_rawDescGZIP(), []int{8}
-}
-
-func (x *ResendVerifyEmailResponse) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
-}
-
-type VerifyOtpRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Exactly one of email / phone_number is required.
- Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
- PhoneNumber string `protobuf:"bytes,2,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
- Otp string `protobuf:"bytes,3,opt,name=otp,proto3" json:"otp,omitempty"`
- IsTotp bool `protobuf:"varint,4,opt,name=is_totp,json=isTotp,proto3" json:"is_totp,omitempty"`
- State string `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"`
-}
-
-func (x *VerifyOtpRequest) Reset() {
- *x = VerifyOtpRequest{}
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *VerifyOtpRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*VerifyOtpRequest) ProtoMessage() {}
-
-func (x *VerifyOtpRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[9]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use VerifyOtpRequest.ProtoReflect.Descriptor instead.
-func (*VerifyOtpRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_authorizer_proto_rawDescGZIP(), []int{9}
-}
-
-func (x *VerifyOtpRequest) GetEmail() string {
- if x != nil {
- return x.Email
- }
- return ""
-}
-
-func (x *VerifyOtpRequest) GetPhoneNumber() string {
- if x != nil {
- return x.PhoneNumber
- }
- return ""
-}
-
-func (x *VerifyOtpRequest) GetOtp() string {
- if x != nil {
- return x.Otp
- }
- return ""
-}
-
-func (x *VerifyOtpRequest) GetIsTotp() bool {
- if x != nil {
- return x.IsTotp
- }
- return false
-}
-
-func (x *VerifyOtpRequest) GetState() string {
- if x != nil {
- return x.State
- }
- return ""
-}
-
-type ResendOtpRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
- PhoneNumber string `protobuf:"bytes,2,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
- State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
-}
-
-func (x *ResendOtpRequest) Reset() {
- *x = ResendOtpRequest{}
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *ResendOtpRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ResendOtpRequest) ProtoMessage() {}
-
-func (x *ResendOtpRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[10]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ResendOtpRequest.ProtoReflect.Descriptor instead.
-func (*ResendOtpRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_authorizer_proto_rawDescGZIP(), []int{10}
-}
-
-func (x *ResendOtpRequest) GetEmail() string {
- if x != nil {
- return x.Email
- }
- return ""
-}
-
-func (x *ResendOtpRequest) GetPhoneNumber() string {
- if x != nil {
- return x.PhoneNumber
- }
- return ""
-}
-
-func (x *ResendOtpRequest) GetState() string {
- if x != nil {
- return x.State
- }
- return ""
-}
-
-type ResendOtpResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
-}
-
-func (x *ResendOtpResponse) Reset() {
- *x = ResendOtpResponse{}
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[11]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *ResendOtpResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ResendOtpResponse) ProtoMessage() {}
-
-func (x *ResendOtpResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[11]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ResendOtpResponse.ProtoReflect.Descriptor instead.
-func (*ResendOtpResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_authorizer_proto_rawDescGZIP(), []int{11}
-}
-
-func (x *ResendOtpResponse) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
-}
-
-type ForgotPasswordRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
- PhoneNumber string `protobuf:"bytes,2,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
- State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
- RedirectUri string `protobuf:"bytes,4,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"`
-}
-
-func (x *ForgotPasswordRequest) Reset() {
- *x = ForgotPasswordRequest{}
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[12]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *ForgotPasswordRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ForgotPasswordRequest) ProtoMessage() {}
-
-func (x *ForgotPasswordRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[12]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ForgotPasswordRequest.ProtoReflect.Descriptor instead.
-func (*ForgotPasswordRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_authorizer_proto_rawDescGZIP(), []int{12}
-}
-
-func (x *ForgotPasswordRequest) GetEmail() string {
- if x != nil {
- return x.Email
- }
- return ""
-}
-
-func (x *ForgotPasswordRequest) GetPhoneNumber() string {
- if x != nil {
- return x.PhoneNumber
- }
- return ""
-}
-
-func (x *ForgotPasswordRequest) GetState() string {
- if x != nil {
- return x.State
- }
- return ""
-}
-
-func (x *ForgotPasswordRequest) GetRedirectUri() string {
- if x != nil {
- return x.RedirectUri
- }
- return ""
-}
-
-type ForgotPasswordResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
- // For SMS-driven flows the UI may need to render an OTP entry screen.
- ShouldShowMobileOtpScreen bool `protobuf:"varint,2,opt,name=should_show_mobile_otp_screen,json=shouldShowMobileOtpScreen,proto3" json:"should_show_mobile_otp_screen,omitempty"`
-}
-
-func (x *ForgotPasswordResponse) Reset() {
- *x = ForgotPasswordResponse{}
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[13]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *ForgotPasswordResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ForgotPasswordResponse) ProtoMessage() {}
-
-func (x *ForgotPasswordResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[13]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ForgotPasswordResponse.ProtoReflect.Descriptor instead.
-func (*ForgotPasswordResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_authorizer_proto_rawDescGZIP(), []int{13}
-}
-
-func (x *ForgotPasswordResponse) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
-}
-
-func (x *ForgotPasswordResponse) GetShouldShowMobileOtpScreen() bool {
- if x != nil {
- return x.ShouldShowMobileOtpScreen
- }
- return false
-}
-
-type ResetPasswordRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // For email flows: the token from the reset email. For SMS flows: the OTP.
- Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
- Otp string `protobuf:"bytes,2,opt,name=otp,proto3" json:"otp,omitempty"`
- PhoneNumber string `protobuf:"bytes,3,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
- Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
- ConfirmPassword string `protobuf:"bytes,5,opt,name=confirm_password,json=confirmPassword,proto3" json:"confirm_password,omitempty"`
-}
-
-func (x *ResetPasswordRequest) Reset() {
- *x = ResetPasswordRequest{}
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[14]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *ResetPasswordRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ResetPasswordRequest) ProtoMessage() {}
-
-func (x *ResetPasswordRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[14]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ResetPasswordRequest.ProtoReflect.Descriptor instead.
-func (*ResetPasswordRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_authorizer_proto_rawDescGZIP(), []int{14}
-}
-
-func (x *ResetPasswordRequest) GetToken() string {
- if x != nil {
- return x.Token
- }
- return ""
-}
-
-func (x *ResetPasswordRequest) GetOtp() string {
- if x != nil {
- return x.Otp
- }
- return ""
-}
-
-func (x *ResetPasswordRequest) GetPhoneNumber() string {
- if x != nil {
- return x.PhoneNumber
- }
- return ""
-}
-
-func (x *ResetPasswordRequest) GetPassword() string {
- if x != nil {
- return x.Password
- }
- return ""
-}
-
-func (x *ResetPasswordRequest) GetConfirmPassword() string {
- if x != nil {
- return x.ConfirmPassword
- }
- return ""
-}
-
-type ResetPasswordResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
-}
-
-func (x *ResetPasswordResponse) Reset() {
- *x = ResetPasswordResponse{}
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[15]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *ResetPasswordResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ResetPasswordResponse) ProtoMessage() {}
-
-func (x *ResetPasswordResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[15]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ResetPasswordResponse.ProtoReflect.Descriptor instead.
-func (*ResetPasswordResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_authorizer_proto_rawDescGZIP(), []int{15}
-}
-
-func (x *ResetPasswordResponse) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
-}
-
-type ProfileRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-}
-
-func (x *ProfileRequest) Reset() {
- *x = ProfileRequest{}
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[16]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *ProfileRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ProfileRequest) ProtoMessage() {}
-
-func (x *ProfileRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[16]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ProfileRequest.ProtoReflect.Descriptor instead.
-func (*ProfileRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_authorizer_proto_rawDescGZIP(), []int{16}
-}
-
-type UpdateProfileRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- OldPassword string `protobuf:"bytes,1,opt,name=old_password,json=oldPassword,proto3" json:"old_password,omitempty"`
- NewPassword string `protobuf:"bytes,2,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"`
- ConfirmNewPassword string `protobuf:"bytes,3,opt,name=confirm_new_password,json=confirmNewPassword,proto3" json:"confirm_new_password,omitempty"`
- Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
- GivenName string `protobuf:"bytes,5,opt,name=given_name,json=givenName,proto3" json:"given_name,omitempty"`
- FamilyName string `protobuf:"bytes,6,opt,name=family_name,json=familyName,proto3" json:"family_name,omitempty"`
- MiddleName string `protobuf:"bytes,7,opt,name=middle_name,json=middleName,proto3" json:"middle_name,omitempty"`
- Nickname string `protobuf:"bytes,8,opt,name=nickname,proto3" json:"nickname,omitempty"`
- Gender string `protobuf:"bytes,9,opt,name=gender,proto3" json:"gender,omitempty"`
- Birthdate string `protobuf:"bytes,10,opt,name=birthdate,proto3" json:"birthdate,omitempty"`
- PhoneNumber string `protobuf:"bytes,11,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
- Picture string `protobuf:"bytes,12,opt,name=picture,proto3" json:"picture,omitempty"`
- // optional: absent means "leave MFA unchanged"; present false explicitly
- // disables MFA. A non-optional bool would make every partial update send
- // false and silently disable MFA.
- IsMultiFactorAuthEnabled *bool `protobuf:"varint,13,opt,name=is_multi_factor_auth_enabled,json=isMultiFactorAuthEnabled,proto3,oneof" json:"is_multi_factor_auth_enabled,omitempty"`
- AppData *AppData `protobuf:"bytes,14,opt,name=app_data,json=appData,proto3" json:"app_data,omitempty"`
-}
-
-func (x *UpdateProfileRequest) Reset() {
- *x = UpdateProfileRequest{}
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[17]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *UpdateProfileRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*UpdateProfileRequest) ProtoMessage() {}
-
-func (x *UpdateProfileRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[17]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use UpdateProfileRequest.ProtoReflect.Descriptor instead.
-func (*UpdateProfileRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_authorizer_proto_rawDescGZIP(), []int{17}
-}
-
-func (x *UpdateProfileRequest) GetOldPassword() string {
- if x != nil {
- return x.OldPassword
- }
- return ""
-}
-
-func (x *UpdateProfileRequest) GetNewPassword() string {
- if x != nil {
- return x.NewPassword
- }
- return ""
-}
-
-func (x *UpdateProfileRequest) GetConfirmNewPassword() string {
- if x != nil {
- return x.ConfirmNewPassword
- }
- return ""
-}
-
-func (x *UpdateProfileRequest) GetEmail() string {
- if x != nil {
- return x.Email
- }
- return ""
-}
-
-func (x *UpdateProfileRequest) GetGivenName() string {
- if x != nil {
- return x.GivenName
- }
- return ""
-}
-
-func (x *UpdateProfileRequest) GetFamilyName() string {
- if x != nil {
- return x.FamilyName
- }
- return ""
-}
-
-func (x *UpdateProfileRequest) GetMiddleName() string {
- if x != nil {
- return x.MiddleName
- }
- return ""
-}
-
-func (x *UpdateProfileRequest) GetNickname() string {
- if x != nil {
- return x.Nickname
- }
- return ""
-}
-
-func (x *UpdateProfileRequest) GetGender() string {
- if x != nil {
- return x.Gender
- }
- return ""
-}
-
-func (x *UpdateProfileRequest) GetBirthdate() string {
- if x != nil {
- return x.Birthdate
- }
- return ""
-}
-
-func (x *UpdateProfileRequest) GetPhoneNumber() string {
- if x != nil {
- return x.PhoneNumber
- }
- return ""
-}
-
-func (x *UpdateProfileRequest) GetPicture() string {
- if x != nil {
- return x.Picture
- }
- return ""
-}
-
-func (x *UpdateProfileRequest) GetIsMultiFactorAuthEnabled() bool {
- if x != nil && x.IsMultiFactorAuthEnabled != nil {
- return *x.IsMultiFactorAuthEnabled
- }
- return false
-}
-
-func (x *UpdateProfileRequest) GetAppData() *AppData {
- if x != nil {
- return x.AppData
- }
- return nil
-}
-
-type UpdateProfileResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
-}
-
-func (x *UpdateProfileResponse) Reset() {
- *x = UpdateProfileResponse{}
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[18]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *UpdateProfileResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*UpdateProfileResponse) ProtoMessage() {}
-
-func (x *UpdateProfileResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[18]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use UpdateProfileResponse.ProtoReflect.Descriptor instead.
-func (*UpdateProfileResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_authorizer_proto_rawDescGZIP(), []int{18}
-}
-
-func (x *UpdateProfileResponse) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
-}
-
-type DeactivateAccountRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-}
-
-func (x *DeactivateAccountRequest) Reset() {
- *x = DeactivateAccountRequest{}
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[19]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *DeactivateAccountRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*DeactivateAccountRequest) ProtoMessage() {}
-
-func (x *DeactivateAccountRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[19]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use DeactivateAccountRequest.ProtoReflect.Descriptor instead.
-func (*DeactivateAccountRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_authorizer_proto_rawDescGZIP(), []int{19}
-}
-
-type DeactivateAccountResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
-}
-
-func (x *DeactivateAccountResponse) Reset() {
- *x = DeactivateAccountResponse{}
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[20]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *DeactivateAccountResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*DeactivateAccountResponse) ProtoMessage() {}
-
-func (x *DeactivateAccountResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[20]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use DeactivateAccountResponse.ProtoReflect.Descriptor instead.
-func (*DeactivateAccountResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_authorizer_proto_rawDescGZIP(), []int{20}
-}
-
-func (x *DeactivateAccountResponse) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
-}
-
-type RevokeRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- RefreshToken string `protobuf:"bytes,1,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
-}
-
-func (x *RevokeRequest) Reset() {
- *x = RevokeRequest{}
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[21]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *RevokeRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*RevokeRequest) ProtoMessage() {}
-
-func (x *RevokeRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[21]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use RevokeRequest.ProtoReflect.Descriptor instead.
-func (*RevokeRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_authorizer_proto_rawDescGZIP(), []int{21}
-}
-
-func (x *RevokeRequest) GetRefreshToken() string {
- if x != nil {
- return x.RefreshToken
- }
- return ""
-}
-
-type RevokeResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
-}
-
-func (x *RevokeResponse) Reset() {
- *x = RevokeResponse{}
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[22]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *RevokeResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*RevokeResponse) ProtoMessage() {}
-
-func (x *RevokeResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[22]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use RevokeResponse.ProtoReflect.Descriptor instead.
-func (*RevokeResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_authorizer_proto_rawDescGZIP(), []int{22}
-}
-
-func (x *RevokeResponse) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
-}
-
-type SessionRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Roles []string `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"`
- Scope []string `protobuf:"bytes,2,rep,name=scope,proto3" json:"scope,omitempty"`
- State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
- // Optional fine-grained authorization gate: each (relation, object) is
- // checked against the authenticated caller with AND semantics, fail-closed.
- // Requires fine-grained authorization enabled (--fga-store).
- RequiredRelations []*FgaRelationInput `protobuf:"bytes,4,rep,name=required_relations,json=requiredRelations,proto3" json:"required_relations,omitempty"`
-}
-
-func (x *SessionRequest) Reset() {
- *x = SessionRequest{}
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[23]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *SessionRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*SessionRequest) ProtoMessage() {}
-
-func (x *SessionRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[23]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use SessionRequest.ProtoReflect.Descriptor instead.
-func (*SessionRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_authorizer_proto_rawDescGZIP(), []int{23}
-}
-
-func (x *SessionRequest) GetRoles() []string {
- if x != nil {
- return x.Roles
- }
- return nil
-}
-
-func (x *SessionRequest) GetScope() []string {
- if x != nil {
- return x.Scope
- }
- return nil
-}
-
-func (x *SessionRequest) GetState() string {
- if x != nil {
- return x.State
- }
- return ""
-}
-
-func (x *SessionRequest) GetRequiredRelations() []*FgaRelationInput {
- if x != nil {
- return x.RequiredRelations
- }
- return nil
-}
-
-type ValidateJwtTokenRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- TokenType string `protobuf:"bytes,1,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
- Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
- Roles []string `protobuf:"bytes,3,rep,name=roles,proto3" json:"roles,omitempty"`
- // Optional fine-grained authorization gate (AND semantics, fail-closed).
- RequiredRelations []*FgaRelationInput `protobuf:"bytes,4,rep,name=required_relations,json=requiredRelations,proto3" json:"required_relations,omitempty"`
-}
-
-func (x *ValidateJwtTokenRequest) Reset() {
- *x = ValidateJwtTokenRequest{}
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[24]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *ValidateJwtTokenRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ValidateJwtTokenRequest) ProtoMessage() {}
-
-func (x *ValidateJwtTokenRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[24]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ValidateJwtTokenRequest.ProtoReflect.Descriptor instead.
-func (*ValidateJwtTokenRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_authorizer_proto_rawDescGZIP(), []int{24}
-}
-
-func (x *ValidateJwtTokenRequest) GetTokenType() string {
- if x != nil {
- return x.TokenType
- }
- return ""
-}
-
-func (x *ValidateJwtTokenRequest) GetToken() string {
- if x != nil {
- return x.Token
- }
- return ""
-}
-
-func (x *ValidateJwtTokenRequest) GetRoles() []string {
- if x != nil {
- return x.Roles
- }
- return nil
-}
-
-func (x *ValidateJwtTokenRequest) GetRequiredRelations() []*FgaRelationInput {
- if x != nil {
- return x.RequiredRelations
- }
- return nil
-}
-
-type ValidateJwtTokenResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- IsValid bool `protobuf:"varint,1,opt,name=is_valid,json=isValid,proto3" json:"is_valid,omitempty"`
- // Free-form JWT claims (matches GraphQL ValidateJWTTokenResponse.claims).
- Claims *AppData `protobuf:"bytes,2,opt,name=claims,proto3" json:"claims,omitempty"`
-}
-
-func (x *ValidateJwtTokenResponse) Reset() {
- *x = ValidateJwtTokenResponse{}
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[25]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *ValidateJwtTokenResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ValidateJwtTokenResponse) ProtoMessage() {}
-
-func (x *ValidateJwtTokenResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[25]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ValidateJwtTokenResponse.ProtoReflect.Descriptor instead.
-func (*ValidateJwtTokenResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_authorizer_proto_rawDescGZIP(), []int{25}
-}
-
-func (x *ValidateJwtTokenResponse) GetIsValid() bool {
- if x != nil {
- return x.IsValid
- }
- return false
-}
-
-func (x *ValidateJwtTokenResponse) GetClaims() *AppData {
- if x != nil {
- return x.Claims
- }
- return nil
-}
-
-type ValidateSessionRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Cookie string `protobuf:"bytes,1,opt,name=cookie,proto3" json:"cookie,omitempty"`
- Roles []string `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"`
- // Optional fine-grained authorization gate (AND semantics, fail-closed).
- RequiredRelations []*FgaRelationInput `protobuf:"bytes,3,rep,name=required_relations,json=requiredRelations,proto3" json:"required_relations,omitempty"`
-}
-
-func (x *ValidateSessionRequest) Reset() {
- *x = ValidateSessionRequest{}
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[26]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *ValidateSessionRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ValidateSessionRequest) ProtoMessage() {}
-
-func (x *ValidateSessionRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[26]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ValidateSessionRequest.ProtoReflect.Descriptor instead.
-func (*ValidateSessionRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_authorizer_proto_rawDescGZIP(), []int{26}
-}
-
-func (x *ValidateSessionRequest) GetCookie() string {
- if x != nil {
- return x.Cookie
- }
- return ""
-}
-
-func (x *ValidateSessionRequest) GetRoles() []string {
- if x != nil {
- return x.Roles
- }
- return nil
-}
-
-func (x *ValidateSessionRequest) GetRequiredRelations() []*FgaRelationInput {
- if x != nil {
- return x.RequiredRelations
- }
- return nil
-}
-
-type ValidateSessionResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- IsValid bool `protobuf:"varint,1,opt,name=is_valid,json=isValid,proto3" json:"is_valid,omitempty"`
- User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
-}
-
-func (x *ValidateSessionResponse) Reset() {
- *x = ValidateSessionResponse{}
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[27]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *ValidateSessionResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ValidateSessionResponse) ProtoMessage() {}
-
-func (x *ValidateSessionResponse) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[27]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ValidateSessionResponse.ProtoReflect.Descriptor instead.
-func (*ValidateSessionResponse) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_authorizer_proto_rawDescGZIP(), []int{27}
-}
-
-func (x *ValidateSessionResponse) GetIsValid() bool {
- if x != nil {
- return x.IsValid
- }
- return false
-}
-
-func (x *ValidateSessionResponse) GetUser() *User {
- if x != nil {
- return x.User
- }
- return nil
-}
-
-type MetaRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-}
-
-func (x *MetaRequest) Reset() {
- *x = MetaRequest{}
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[28]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
-}
-
-func (x *MetaRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*MetaRequest) ProtoMessage() {}
-
-func (x *MetaRequest) ProtoReflect() protoreflect.Message {
- mi := &file_authorizer_v1_authorizer_proto_msgTypes[28]
- if x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use MetaRequest.ProtoReflect.Descriptor instead.
-func (*MetaRequest) Descriptor() ([]byte, []int) {
- return file_authorizer_v1_authorizer_proto_rawDescGZIP(), []int{28}
-}
-
-type CheckPermissionsRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // The checks to evaluate; at least one, at most 100.
- Checks []*PermissionCheckInput `protobuf:"bytes,1,rep,name=checks,proto3" json:"checks,omitempty"`
- // Optional explicit subject ("type:id", or a bare id treated as
- // "user: