Skip to content

Commit

Permalink
add support for protected externally
Browse files Browse the repository at this point in the history
  • Loading branch information
ikethecoder committed Feb 8, 2024
1 parent 893c0e9 commit 461d189
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/batch/data-rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@ const metadata = {
type: 'enum',
values: [
'public',
'protected-externally',
'authorization-code',
'client-credentials',
'kong-acl-only',
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/v2/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ export interface Environment {
name?: "dev" | "test" | "prod" | "sandbox" | "other";
active?: boolean;
approval?: boolean;
flow?: "public" | "authorization-code" | "client-credentials" | "kong-acl-only" | "kong-api-key-only" | "kong-api-key-acl";
flow?: "public" | "protected-externally" | "authorization-code" | "client-credentials" | "kong-acl-only" | "kong-api-key-only" | "kong-api-key-acl";
additionalDetailsToRequest?: string;
services?: GatewayServiceRefID[];
legal?: LegalRefID;
Expand Down
1 change: 1 addition & 0 deletions src/lists/Environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ module.exports = {
defaultValue: 'public',
options: [
{ value: 'public', label: 'Public' },
{ value: 'protected-externally', label: 'Protected Externally' },
{
value: 'authorization-code',
label: 'Oauth2 Authorization Code Flow',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,4 +182,5 @@ const flowTypes: { value: string; label: string }[] = [
{ value: 'kong-acl-only', label: 'Kong ACL Only' },
{ value: 'kong-api-key-only', label: 'Kong API Key Only' },
{ value: 'kong-api-key-acl', label: 'Kong API Key with ACL Flow' },
{ value: 'protected-externally', label: 'Protected Externally' },
];

0 comments on commit 461d189

Please sign in to comment.