interface FortProviderProps {
    publishableKey: string;
    ecosystemId: string;
    supportedChains?: number[];
    logoUrl?: string;
    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;
    thirdPartyAuthentication?: boolean;
    shieldConfig: ShieldConfiguration & {
        getShieldSession?: GetShieldSession;
    };
    onRedirectCallback?: ((appState?: AppState) => void);
    privacyPolicyUrl?: string;
    termsOfServiceUrl?: string;
}

Hierarchy

  • FortProviderWithCoreProps
    • FortProviderProps

Properties

publishableKey: string
ecosystemId: string
supportedChains?: number[]
logoUrl?: string
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
thirdPartyAuthentication?: boolean
shieldConfig: ShieldConfiguration & {
    getShieldSession?: GetShieldSession;
}
onRedirectCallback?: ((appState?: AppState) => void)
privacyPolicyUrl?: string
termsOfServiceUrl?: string