feat: introduce app configs with shared auth clients (#1213)

This commit is contained in:
Ali BARIN
2023-08-16 15:46:43 +02:00
committed by GitHub
parent 25983e046c
commit 3b54b29a99
47 changed files with 1504 additions and 113 deletions

View File

@@ -27,6 +27,8 @@ export interface IConnection {
flowCount?: number;
appData?: IApp;
createdAt: string;
reconnectable?: boolean;
appAuthClientId?: string;
}
export interface IExecutionStep {
@@ -247,6 +249,8 @@ export interface IAuth {
fields?: IField[];
authenticationSteps?: IAuthenticationStep[];
reconnectionSteps?: IAuthenticationStep[];
sharedAuthenticationSteps?: IAuthenticationStep[];
sharedReconnectionSteps?: IAuthenticationStep[];
}
export interface ITriggerOutput {
@@ -424,6 +428,24 @@ type TSamlAuthProvider = {
defaultRoleId: string;
}
type AppConfig = {
id: string;
key: string;
allowCustomConnection: boolean;
canConnect: boolean;
canCustomConnect: boolean;
shared: boolean;
disabled: boolean;
}
type AppAuthClient = {
id: string;
name: string;
appConfigId: string;
authDefaults: string;
formattedAuthDefaults: IJSONObject;
}
declare module 'axios' {
interface AxiosResponse {
httpError?: IJSONObject;