Interface PassportModuleConfiguration

interface PassportModuleConfiguration {
    crossSdkBridgeEnabled?: boolean;
    jsonRpcReferrer?: string;
    popupOverlayOptions?: PopupOverlayOptions;
    forceScwDeployBeforeMessageSignature?: boolean;
    baseConfig: ImmutableConfiguration;
    overrides?: PassportOverrides;
    clientId: string;
    logoutRedirectUri?: string;
    logoutMode?: "redirect" | "silent";
    redirectUri: string;
    scope?: string;
    audience?: string;
}

Hierarchy (view full)

Properties

crossSdkBridgeEnabled?: boolean

This flag indicates that Passport is being used in a cross-sdk bridge scenario and not directly on the web.

jsonRpcReferrer?: string

Optional referrer URL to be sent with JSON-RPC requests. If specified, this value will be passed as the referrer in fetch options.

popupOverlayOptions?: PopupOverlayOptions

Options for disabling the Passport popup overlays.

forceScwDeployBeforeMessageSignature?: boolean

This flag controls whether a deploy transaction is sent before signing an ERC191 message.

false - By default, this behavior is disabled and the user will not be asked
to approve a deploy transaction before signing.
overrides?: PassportOverrides
clientId: string
logoutRedirectUri?: string
logoutMode?: "redirect" | "silent"
redirectUri: string
scope?: string
audience?: string