@omnia/fx-models
Version:
Provide Omnia Fx Models Stuffs.
31 lines (30 loc) • 966 B
TypeScript
import { GuidValue } from "../../Exposes";
import { AuthenticationOption } from "./AuthenticationOption";
export interface AuthenticationSettings {
onBoardingSettings: OnBoardingAuthSettings;
azureAdSettings: AzureAdAuthSettings;
omniaAuthSettings: OmniaAuthSettings[];
sharepointAddInSettings: SharepointAddInSettings;
refreshedTokenSettings: RefreshedTokenSettings;
}
export interface OnBoardingAuthSettings {
magicLinkExpiration: number;
redirectUrl: string;
}
export interface AzureAdAuthSettings {
enabled: boolean;
}
export interface SharepointAddInSettings {
enabled: boolean;
}
export interface OmniaAuthSettings {
option: AuthenticationOption;
multiFactorOptions: Array<AuthenticationOption>;
}
export interface AuthenticationConfiguration {
authenticationSettings: AuthenticationSettings;
identityUserTypeId: GuidValue;
}
export interface RefreshedTokenSettings {
refreshedTokenExpiration: number;
}