Skip to content

Commit

Permalink
Create type KeycloakClient
Browse files Browse the repository at this point in the history
  • Loading branch information
vhande committed Jul 4, 2024
1 parent 89f8a50 commit 29ee8ad
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions resources/ts/types/Credentials.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { Auth0Tenant } from "./Auth0Tenant";
import type { KeycloakEnvironment } from "./KeycloakEnvironment";
import type { UiTiDv1Environment } from "./UiTiDv1Environment";

export type LegacyAuthConsumer = {
Expand All @@ -17,7 +18,15 @@ export type AuthClient = {
integrationId: string;
tenant: Auth0Tenant;
};
export type KeycloakClient = {
clientId: string;
clientSecret: string;
environment: KeycloakEnvironment;
id: string;
integrationId: string;
};
export type Credentials = {
auth0: AuthClient[];
uitidV1: LegacyAuthConsumer[];
keycloak: KeycloakClient[];
};

0 comments on commit 29ee8ad

Please sign in to comment.