Interface StateInterface

interface StateInterface {
    adminClientId?: string;
    adminClientRedirectUri?: string;
    allowInsecureConnection?: boolean;
    amVersion?: string;
    authenticationHeaderOverrides?: Record<string, string>;
    authenticationService?: string;
    autoRefreshTimer?: Timeout;
    bearerToken?: AccessTokenMetaType;
    connectionProfilesPath?: string;
    cookieName?: string;
    createProgressHandler?: ((type: ProgressIndicatorType, total?: number, message?: string) => string);
    curlirize?: boolean;
    curlirizeHandler?: ((message: string) => void);
    debug?: boolean;
    debugHandler?: ((message: string | object) => void);
    deploymentType?: string;
    directory?: string;
    errorHandler?: ((error: Error, message: string) => void);
    features?: FeatureInterface[];
    frodoVersion?: string;
    host?: string;
    idmHost?: string;
    logApiKey?: string;
    logApiSecret?: string;
    masterKeyPath?: string;
    outputFile?: string;
    password?: string;
    printHandler?: ((message: string | object, type?: string, newline?: boolean) => void);
    realm?: string;
    serviceAccountId?: string;
    serviceAccountJwk?: JwkRsa;
    serviceAccountScope?: string;
    stopProgressHandler?: ((id: string, message: string, status?: string) => void);
    tokenCachePath?: string;
    updateProgressHandler?: ((id: string, message: string) => void);
    useBearerTokenForAmApis?: boolean;
    useTokenCache?: boolean;
    userSessionToken?: UserSessionMetaType;
    username?: string;
    verbose?: boolean;
    verboseHandler?: ((message: string | object) => void);
}

Properties

adminClientId?: string
adminClientRedirectUri?: string
allowInsecureConnection?: boolean
amVersion?: string
authenticationHeaderOverrides?: Record<string, string>
authenticationService?: string
autoRefreshTimer?: Timeout
bearerToken?: AccessTokenMetaType
connectionProfilesPath?: string
cookieName?: string
createProgressHandler?: ((type: ProgressIndicatorType, total?: number, message?: string) => string)

Type declaration

curlirize?: boolean
curlirizeHandler?: ((message: string) => void)

Type declaration

    • (message: string): void
    • Parameters

      • message: string

      Returns void

debug?: boolean
debugHandler?: ((message: string | object) => void)

Type declaration

    • (message: string | object): void
    • Parameters

      • message: string | object

      Returns void

deploymentType?: string
directory?: string
errorHandler?: ((error: Error, message: string) => void)

Type declaration

    • (error: Error, message: string): void
    • Parameters

      • error: Error
      • message: string

      Returns void

features?: FeatureInterface[]
frodoVersion?: string
host?: string
idmHost?: string
logApiKey?: string
logApiSecret?: string
masterKeyPath?: string
outputFile?: string
password?: string
printHandler?: ((message: string | object, type?: string, newline?: boolean) => void)

Type declaration

    • (message: string | object, type?: string, newline?: boolean): void
    • Parameters

      • message: string | object
      • Optional type: string
      • Optional newline: boolean

      Returns void

realm?: string
serviceAccountId?: string
serviceAccountJwk?: JwkRsa
serviceAccountScope?: string
stopProgressHandler?: ((id: string, message: string, status?: string) => void)

Type declaration

    • (id: string, message: string, status?: string): void
    • Parameters

      • id: string
      • message: string
      • Optional status: string

      Returns void

tokenCachePath?: string
updateProgressHandler?: ((id: string, message: string) => void)

Type declaration

    • (id: string, message: string): void
    • Parameters

      • id: string
      • message: string

      Returns void

useBearerTokenForAmApis?: boolean
useTokenCache?: boolean
userSessionToken?: UserSessionMetaType
username?: string
verbose?: boolean
verboseHandler?: ((message: string | object) => void)

Type declaration

    • (message: string | object): void
    • Parameters

      • message: string | object

      Returns void