Frodo Library - v5.0.0-47
    Preparing search index...

    Type Alias Config

    type Config = {
        exportFullConfiguration(
            options: FullExportOptions,
            resultCallback: ResultCallback<any>,
        ): Promise<FullExportInterface>;
        importFullConfiguration(
            importData: FullExportInterface,
            options: FullImportOptions,
            resultCallback: ResultCallback<any>,
        ): Promise<(object | any[])[]>;
    }
    Index
    • Export full configuration

      Parameters

      • options: FullExportOptions

        export options

      • resultCallback: ResultCallback<any>

        Optional callback to process individual results. A section that cannot be exported, also for lack of a scope of the credential, is reported to it as an error that names the section (code INSUFFICIENT_SCOPE for a missing scope) and the other sections are still exported; without a callback the error is thrown. A section that the deployment does not offer (PingOne Advanced Identity Cloud answers that the operation is not available) is skipped silently.

      Returns Promise<FullExportInterface>

      a promise resolving to a full export object

    • Import full configuration

      Parameters

      • importData: FullExportInterface

        import data

      • options: FullImportOptions

        import options

      • resultCallback: ResultCallback<any>

        Optional callback to process individual results. A section that cannot be imported, also for lack of a scope of the credential, is reported to it as an error that names the section (code INSUFFICIENT_SCOPE for a missing scope) and the other sections are still imported; without a callback the error is thrown.

      Returns Promise<(object | any[])[]>