interface FortProviderProps {
    publishableKey: string;
    defaultChain: Chain;
    oidcConfig?: OidcConfiguration;
    eventsConfig?: EventsConfiguration;
    overrides?: SDKOverrides;
    appearance?: {
        colors?: {
            bg000?: string;
            bg100?: string;
            bg200?: string;
            bg300?: string;
            border?: string;
            btnPrimary?: string;
            btnPrimaryText?: string;
            btnPrimaryHover?: string;
            btnSecondary?: string;
            btnSecondaryText?: string;
            btnSecondaryHover?: string;
            title?: string;
            text?: string;
            textSubtle?: string;
            info?: string;
            success?: string;
            warning?: string;
            error?: string;
            critical?: string;
        };
        borderRadius?:
            | "none"
            | "xs"
            | "sm"
            | "md"
            | "lg"
            | "full";
    };
    appName?: string;
    skipRedirectCallback?: boolean;
    shieldConfig: ShieldConfiguration & {
        getShieldSession?: GetShieldSession;
    };
    onRedirectCallback?: ((appState?: AppState) => void);
}

Hierarchy

  • FortProviderWithCoreProps
    • FortProviderProps

Properties

publishableKey: string
defaultChain: Chain
oidcConfig?: OidcConfiguration
eventsConfig?: EventsConfiguration
overrides?: SDKOverrides
appearance?: {
    colors?: {
        bg000?: string;
        bg100?: string;
        bg200?: string;
        bg300?: string;
        border?: string;
        btnPrimary?: string;
        btnPrimaryText?: string;
        btnPrimaryHover?: string;
        btnSecondary?: string;
        btnSecondaryText?: string;
        btnSecondaryHover?: string;
        title?: string;
        text?: string;
        textSubtle?: string;
        info?: string;
        success?: string;
        warning?: string;
        error?: string;
        critical?: string;
    };
    borderRadius?:
        | "none"
        | "xs"
        | "sm"
        | "md"
        | "lg"
        | "full";
}
appName?: string
skipRedirectCallback?: boolean
shieldConfig: ShieldConfiguration & {
    getShieldSession?: GetShieldSession;
}
onRedirectCallback?: ((appState?: AppState) => void)