Configuration options.

interface GetTokensOptions {
    callbackFactory?: FRCallbackFactory;
    clientId?: string;
    middleware?: RequestMiddleware[];
    realmPath?: string;
    redirectUri?: string;
    scope?: string;
    serverConfig?: ServerConfig;
    tokenStore?: TokenStoreObject | "sessionStorage" | "localStorage";
    tree?: string;
    type?: string;
    oauthThreshold?: number;
    logLevel?: LogLevel;
    logger?: LoggerFunctions<((...msgs) => void), ((...msgs) => void), ((...msgs) => void), ((...msgs) => void)>;
    platformHeader?: boolean;
    prefix?: string;
    forceRenew?: boolean;
    login?: "redirect" | "embedded";
    query?: StringDict<string>;
}

Hierarchy (view full)

Properties

callbackFactory?: FRCallbackFactory
clientId?: string
middleware?: RequestMiddleware[]
realmPath?: string
redirectUri?: string
scope?: string
serverConfig?: ServerConfig
tokenStore?: TokenStoreObject | "sessionStorage" | "localStorage"
tree?: string
type?: string
oauthThreshold?: number
logLevel?: LogLevel
logger?: LoggerFunctions<((...msgs) => void), ((...msgs) => void), ((...msgs) => void), ((...msgs) => void)>

Type declaration

    • (...msgs): void
    • Parameters

      • Rest ...msgs: unknown[]

      Returns void

Type declaration

    • (...msgs): void
    • Parameters

      • Rest ...msgs: unknown[]

      Returns void

Type declaration

    • (...msgs): void
    • Parameters

      • Rest ...msgs: unknown[]

      Returns void

Type declaration

    • (...msgs): void
    • Parameters

      • Rest ...msgs: unknown[]

      Returns void

platformHeader?: boolean
prefix?: string
forceRenew?: boolean
login?: "redirect" | "embedded"
query?: StringDict<string>