@authup/core-kit
Version:
Package containing global constants, types & interfaces.
26 lines • 881 B
TypeScript
import type { Realm } from '../realm';
import type { IdentityProviderMappingSyncMode, IdentityProviderProtocol } from './constants';
import type { IdentityProviderPreset } from './preset';
export interface IdentityProvider {
id: string;
name: string;
display_name: string | null;
protocol: `${IdentityProviderProtocol}` | null;
preset: `${IdentityProviderPreset}` | null;
enabled: boolean;
created_at: string;
updated_at: string;
realm_id: Realm['id'];
realm: Realm;
}
export interface IdentityProviderBaseMapping {
name: string | null;
value: string | null;
value_is_regex: boolean;
synchronization_mode: `${IdentityProviderMappingSyncMode}` | null;
provider_id: IdentityProvider['id'];
provider: IdentityProvider;
provider_realm_id: Realm['id'];
provider_realm: Realm;
}
//# sourceMappingURL=entity.d.ts.map